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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/console/console-dom-mutation-violations.js

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp 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(testRunner) {
2 let {page, session, dp} = await testRunner.startBlank('');
3 dp.Log.onEntryAdded(testRunner.logMessage.bind(testRunner));
4 dp.Log.enable();
5 dp.Log.startViolationsReport({config: [{name: 'discouragedAPIUse', threshold: -1}]});
6 await session.evaluate(`document.body.addEventListener('DOMSubtreeModified', ( ) => {})`);
7 testRunner.completeTest();
8 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698