chore: bump chromium to 109.0.5382.0 (main) (#36057)
* chore: bump chromium in DEPS to 109.0.5364.0 * chore: update patches * chore: bump chromium in DEPS to 109.0.5366.0 * chore: update patches * i3940364: Change PermissionType::WINDOW_PLACEMENT to WINDOW_MANAGEMENT3940364
* 3866812: Change content::PluginList to only run on the UI thread.3866812
* chore: bump chromium in DEPS to 109.0.5368.0 * [cleanup] Replace enable_basic_printing with enable_printing3957357
* chore: update patches * 3956318: Desktop PWAs: Retire kWebAppWindowControlsOverlay flag3956318
* fixup! Change content::PluginList to only run on the UI thread. (cherry picked from commit 7b5ec87d4ff5d34e7493b4fb46c40c0afeef2005) Co-Authored-By: Robo <hop2deep@gmail.com> * chore: bump chromium in DEPS to 109.0.5370.0 * 3956299: Quota: Cleanup QuotaPermissionContext3956299
* chore: update patches * 3803867: Add Mojo interface to parse XML for OOP printer capabilities3803867
* fixup: Add Mojo interface to parse XML for OOP printer capabilities * chore: bump chromium in DEPS to 109.0.5372.0 * chore: update patches * chore: bump chromium in DEPS to 109.0.5374.0 * chore: bump chromium in DEPS to 109.0.5376.0 * chore: bump chromium in DEPS to 109.0.5378.0 * chore: update patches * Quota: Cleanup kPersistent in BrowsingDataRemover3964859
* 3955976: serial: Create DOMException with V8ThrowDOMException3955976
* 3758405: Append trailer data to serialized messages.3758405
* chore: revert clang roll This patch reverts3967491
because that roll breaks the WOA build: https://crbug.com/1377819 * chore: update patches * chore: bump chromium in DEPS to 109.0.5380.0 * chore: update patches * 3859750: [linux/wayland] Added plumbing for the state of tiled edges.3859750
Also 3970920: [linux/wayland] Fixed the tiled edges for the GTK frame.3970920
* chore: bump chromium in DEPS to 109.0.5382.0 * chore: update patches * chore: revert Use accessibility.pkey when setting page access.3949281
breaks our Linux builds run under Docker. This patch should be removed once3949284
is merged. * 3976312: Roll clang llvmorg-16-init-8189-g97196a2d-2 : llvmorg-16-init-8697-g60809cd2-13976312
* 3967841: [heap] Remove AllocationSpace::MAP_SPACE enum constant3967841
* 3956131: [cleanup] Remove flag for Wasm threads & atomics3956131
* chore: update docs for Quota: Cleanup kPersistent in BrowsingDataRemover3964859
* test: fixup HID test for ARM CI Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@github.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: Jeremy Rose <jeremya@chromium.org> Co-authored-by: electron-patch-conflict-fixer[bot] <83340002+electron-patch-conflict-fixer[bot]@users.noreply.github.com>
This commit is contained in:
parent
07530f8e37
commit
ea6f873f97
101 changed files with 730 additions and 469 deletions
|
@ -2359,6 +2359,8 @@ describe('navigator.serial', () => {
|
|||
`, true);
|
||||
};
|
||||
|
||||
const notFoundError = 'NotFoundError: Failed to execute \'requestPort\' on \'Serial\': No port selected by the user.';
|
||||
|
||||
after(closeAllWindows);
|
||||
afterEach(() => {
|
||||
session.defaultSession.setPermissionCheckHandler(null);
|
||||
|
@ -2368,7 +2370,7 @@ describe('navigator.serial', () => {
|
|||
it('does not return a port if select-serial-port event is not defined', async () => {
|
||||
w.loadFile(path.join(fixturesPath, 'pages', 'blank.html'));
|
||||
const port = await getPorts();
|
||||
expect(port).to.equal('NotFoundError: No port selected by the user.');
|
||||
expect(port).to.equal(notFoundError);
|
||||
});
|
||||
|
||||
it('does not return a port when permission denied', async () => {
|
||||
|
@ -2377,7 +2379,7 @@ describe('navigator.serial', () => {
|
|||
});
|
||||
session.defaultSession.setPermissionCheckHandler(() => false);
|
||||
const port = await getPorts();
|
||||
expect(port).to.equal('NotFoundError: No port selected by the user.');
|
||||
expect(port).to.equal(notFoundError);
|
||||
});
|
||||
|
||||
it('does not crash when select-serial-port is called with an invalid port', async () => {
|
||||
|
@ -2385,7 +2387,7 @@ describe('navigator.serial', () => {
|
|||
callback('i-do-not-exist');
|
||||
});
|
||||
const port = await getPorts();
|
||||
expect(port).to.equal('NotFoundError: No port selected by the user.');
|
||||
expect(port).to.equal(notFoundError);
|
||||
});
|
||||
|
||||
it('returns a port when select-serial-port event is defined', async () => {
|
||||
|
@ -2402,7 +2404,7 @@ describe('navigator.serial', () => {
|
|||
if (havePorts) {
|
||||
expect(port).to.equal('[object SerialPort]');
|
||||
} else {
|
||||
expect(port).to.equal('NotFoundError: No port selected by the user.');
|
||||
expect(port).to.equal(notFoundError);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -2727,9 +2729,7 @@ describe('navigator.hid', () => {
|
|||
} else {
|
||||
expect(device).to.equal('');
|
||||
}
|
||||
if (process.arch === 'arm64' || process.arch === 'arm') {
|
||||
// arm CI returns HID devices - this block may need to change if CI hardware changes.
|
||||
expect(haveDevices).to.be.true();
|
||||
if (haveDevices) {
|
||||
// Verify that navigation will clear device permissions
|
||||
const grantedDevices = await w.webContents.executeJavaScript('navigator.hid.getDevices()');
|
||||
expect(grantedDevices).to.not.be.empty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue