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

Side by Side Diff: LayoutTests/inspector/console/console-url-and-line.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script>
6
7 function log() {
8 // Fill console.
9 console.log("one");
10 console.log("two");
11 console.log("three");
12 }
13
14 function test()
15 {
16 InspectorTest.addSniffer(WebInspector.ConsoleDispatcher.prototype, "messageA dded", messageAdded, true);
17
18 function messageAdded(payload)
19 {
20 var url = payload.url;
21 var lastSlashIndex = url.lastIndexOf("/");
22 url = url.substring(lastSlashIndex + 1);
23 InspectorTest.addResult("Message at location: " + url + ":" + payload.li ne);
24 if (payload.line === 10)
25 InspectorTest.completeTest();
26 }
27
28 InspectorTest.evaluateInPage("log()");
29 }
30
31 </script>
32 </head>
33
34 <body onload="runTest()">
35 <p>
36 Tests that console's url and line properties are defiend for console.log entries . Bug 72256.
37 </p>
38
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698