Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-shouldnt-crash-after-inspected-context-destroyed.js

Issue 2954093003: [DevTools] Migrate inspector-protocol/runtime tests to new harness (Closed)
Patch Set: fail: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 (async function(testRunner) {
2 let {page, session, dp} = await testRunner.startBlank(`Tests that call to cons ole after inspected context was destroyed shouldn't produce crash.`);
3 await session.evaluate(`
4 var iframe = document.createElement('iframe');
5 document.body.appendChild(iframe);
6 var a = window.console;
7 window.console = iframe.contentWindow.console;
8 iframe.contentWindow.console = a;
9 iframe.remove();
10 `);
11 testRunner.logMessage(await dp.Runtime.evaluate({expression: 'console.log(239) ;'}));
12 testRunner.completeTest();
13 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698