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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/console-show-all-messages.html

Issue 2136763002: DevTools: Sort execution contexts in nested frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge conflict Created 4 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="console-test.js"></script> 3 <script src="console-test.js"></script>
4 <script src="inspector-test.js"></script> 4 <script src="inspector-test.js"></script>
5 <script> 5 <script>
6 console.log("message from page!"); 6 console.log("message from page!");
7 7
8 function test() 8 function test()
9 { 9 {
10 var checkbox = WebInspector.ConsoleView.instance()._showAllMessagesCheckbox. inputElement; 10 var checkbox = WebInspector.ConsoleView.instance()._showAllMessagesCheckbox. inputElement;
(...skipping 12 matching lines...) Expand all
23 function testInitialState(next) 23 function testInitialState(next)
24 { 24 {
25 if (!checkbox.checked) 25 if (!checkbox.checked)
26 InspectorTest.addResult("\"Show all messages\" checkbox shou ld be checked by default"); 26 InspectorTest.addResult("\"Show all messages\" checkbox shou ld be checked by default");
27 dumpVisibleConsoleMessageText(); 27 dumpVisibleConsoleMessageText();
28 next(); 28 next();
29 }, 29 },
30 30
31 function testPageOnlyMessages(next) 31 function testPageOnlyMessages(next)
32 { 32 {
33 InspectorTest.changeExecutionContext("top");
33 checkbox.click(); 34 checkbox.click();
34 dumpVisibleConsoleMessageText(); 35 dumpVisibleConsoleMessageText();
35 next(); 36 next();
36 }, 37 },
37 38
38 function testFrameOnlyMessages(next) 39 function testFrameOnlyMessages(next)
39 { 40 {
40 InspectorTest.changeExecutionContext("myIFrame"); 41 InspectorTest.changeExecutionContext("myIFrame");
41 dumpVisibleConsoleMessageText(); 42 dumpVisibleConsoleMessageText();
42 next(); 43 next();
(...skipping 12 matching lines...) Expand all
55 </head> 56 </head>
56 57
57 <body> 58 <body>
58 <p> 59 <p>
59 Tests that console shows messages only from specific context when show all check box is unchecked.</a> 60 Tests that console shows messages only from specific context when show all check box is unchecked.</a>
60 </p> 61 </p>
61 <iframe name="myIFrame" src="resources/console-show-all-messages-iframe.html" on load="runTest()"></iframe> 62 <iframe name="myIFrame" src="resources/console-show-all-messages-iframe.html" on load="runTest()"></iframe>
62 63
63 </body> 64 </body>
64 </html> 65 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698