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

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

Issue 2863183003: DevTools: report adding mutation event listener as a violations. (Closed)
Patch Set: same Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/console/console-dom-mutation-violations-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script>
4 <script>
5
6 function test()
7 {
8 InspectorTest.eventHandler["Log.entryAdded"] = (message) => {
9 InspectorTest.logObject(message, '', ['timestamp', 'scriptId']);
10 };
11
12 InspectorTest.sendCommand("Log.enable", {});
13 InspectorTest.sendCommand("Log.startViolationsReport", {config: [{name: 'dis couragedAPIUse', threshold: -1}]});
14 InspectorTest.sendCommand("Runtime.evaluate", { expression: "document.body.a ddEventListener('DOMSubtreeModified', () => {})" },
15 InspectorTest.completeTest.bind(InspectorTest));
16
17 }
18
19 </script>
20 </head>
21 <body onload="runTest()">
22 </body>
23 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/console/console-dom-mutation-violations-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698