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

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

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: unified Created 3 years, 6 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() {
2 let {page, session, Protocol} = await InspectorTest.startBlank('');
3
4 Protocol.Page.enable();
5 session.evaluate(`
6 var frame = document.createElement('iframe');
7 frame.src = '${InspectorTest.url('../resources/blank.html')}';
8 document.body.appendChild(frame);
9 `);
10 await Protocol.Page.onceFrameStartedLoading();
11 InspectorTest.log('Started loading');
12 await Protocol.Page.onceFrameStoppedLoading();
13 InspectorTest.log('Stopped loading');
14 InspectorTest.completeTest();
15 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698