test: re-enable disabled ScriptOrModule specs (#33702)

This commit is contained in:
Shelley Vohr 2022-04-12 12:00:42 +02:00 committed by GitHub
parent c9fd255093
commit e8ed9cb4b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -1857,8 +1857,7 @@ describe('webContents module', () => {
}
});
// TODO(codebytere): Re-enable after Chromium fixes upstream v8_scriptormodule_legacy_lifetime crash.
xdescribe('using a large document', () => {
describe('using a large document', () => {
beforeEach(async () => {
w = new BrowserWindow({ show: false, webPreferences: { sandbox: true } });
await w.loadFile(path.join(__dirname, 'fixtures', 'api', 'print-to-pdf.html'));

View file

@ -238,8 +238,7 @@ describe('web security', () => {
await p;
});
// TODO(codebytere): Re-enable after Chromium fixes upstream v8_scriptormodule_legacy_lifetime crash.
xit('bypasses CORB when web security is disabled', async () => {
it('bypasses CORB when web security is disabled', async () => {
const w = new BrowserWindow({ show: false, webPreferences: { webSecurity: false, nodeIntegration: true, contextIsolation: false } });
const p = emittedOnce(ipcMain, 'success');
await w.loadURL(`data:text/html,