parent
8aaca4eb1e
commit
3d82465f66
@ -1201,6 +1201,7 @@ class LifecycleWatcher {
|
||||
this._terminationPromise = new Promise(fulfill => {
|
||||
this._terminationCallback = fulfill;
|
||||
});
|
||||
this._checkLifecycleComplete();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -601,6 +601,10 @@ module.exports.addTests = function({testRunner, expect, headless}) {
|
||||
imgResponse.end();
|
||||
await contentPromise;
|
||||
});
|
||||
it('should work fast enough', async({page, server}) => {
|
||||
for (let i = 0; i < 20; ++i)
|
||||
await page.setContent('<div>yo</div>');
|
||||
});
|
||||
});
|
||||
|
||||
describe('Page.setBypassCSP', function() {
|
||||
|
Loading…
Reference in New Issue
Block a user