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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-without-enabling.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 default exec ution context accessed without enabling Runtime domain gets properly cleaned up on reload.`);
3 await session.evaluate('window.dummyObject = { a : 1 };');
4 var result = await dp.Runtime.evaluate({expression: 'window.dummyObject' });
5 await dp.Page.reload();
6 testRunner.logMessage(await dp.Runtime.getProperties({ objectId: result.result .result.objectId, ownProperties: true }));
7 testRunner.completeTest();
8 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698