test: re-enable disabled ScriptOrModule specs (#33702)
This commit is contained in:
parent
c9fd255093
commit
e8ed9cb4b5
2 changed files with 2 additions and 4 deletions
|
@ -1857,8 +1857,7 @@ describe('webContents module', () => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO(codebytere): Re-enable after Chromium fixes upstream v8_scriptormodule_legacy_lifetime crash.
|
describe('using a large document', () => {
|
||||||
xdescribe('using a large document', () => {
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
w = new BrowserWindow({ show: false, webPreferences: { sandbox: true } });
|
w = new BrowserWindow({ show: false, webPreferences: { sandbox: true } });
|
||||||
await w.loadFile(path.join(__dirname, 'fixtures', 'api', 'print-to-pdf.html'));
|
await w.loadFile(path.join(__dirname, 'fixtures', 'api', 'print-to-pdf.html'));
|
||||||
|
|
|
@ -238,8 +238,7 @@ describe('web security', () => {
|
||||||
await p;
|
await p;
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO(codebytere): Re-enable after Chromium fixes upstream v8_scriptormodule_legacy_lifetime crash.
|
it('bypasses CORB when web security is disabled', async () => {
|
||||||
xit('bypasses CORB when web security is disabled', async () => {
|
|
||||||
const w = new BrowserWindow({ show: false, webPreferences: { webSecurity: false, nodeIntegration: true, contextIsolation: false } });
|
const w = new BrowserWindow({ show: false, webPreferences: { webSecurity: false, nodeIntegration: true, contextIsolation: false } });
|
||||||
const p = emittedOnce(ipcMain, 'success');
|
const p = emittedOnce(ipcMain, 'success');
|
||||||
await w.loadURL(`data:text/html,
|
await w.loadURL(`data:text/html,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue