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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/page/frameStartedLoading.js

Issue 2947303002: [DevTools] Migrate inspector-protocol/{page,dom-snapshot} tests to new harness (Closed)
Patch Set: rebased 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('');
3
4 dp.Page.enable();
5 session.evaluate(`
6 var frame = document.createElement('iframe');
7 frame.src = '${testRunner.url('../resources/blank.html')}';
8 document.body.appendChild(frame);
9 `);
10 await dp.Page.onceFrameStartedLoading();
11 testRunner.log('Started loading');
12 await dp.Page.onceFrameStoppedLoading();
13 testRunner.log('Stopped loading');
14 testRunner.completeTest();
15 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698