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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-save-to-temp-var.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script src="../../http/tests/inspector/sources-test.js"></script> 5 <script src="../../http/tests/inspector/sources-test.js"></script>
6 <script> 6 <script>
7 7
8 function onload() 8 function onload()
9 { 9 {
10 for (var i = 3; i < 8; ++i) 10 for (var i = 3; i < 8; ++i)
(...skipping 25 matching lines...) Expand all
36 { 36 {
37 var expression = expressions.shift(); 37 var expression = expressions.shift();
38 if (!expression) { 38 if (!expression) {
39 InspectorTest.waitForRemoteObjectsConsoleMessages(dumpConsoleMessage s); 39 InspectorTest.waitForRemoteObjectsConsoleMessages(dumpConsoleMessage s);
40 return; 40 return;
41 } 41 }
42 42
43 function didEvaluate(result, exceptionDetails) 43 function didEvaluate(result, exceptionDetails)
44 { 44 {
45 InspectorTest.assertTrue(!exceptionDetails, "FAIL: was thrown. Expre ssion: " + expression); 45 InspectorTest.assertTrue(!exceptionDetails, "FAIL: was thrown. Expre ssion: " + expression);
46 WebInspector.panels.sources._saveToTempVariable(result); 46 UI.panels.sources._saveToTempVariable(result);
47 InspectorTest.waitUntilNthMessageReceived(2, evaluateNext); 47 InspectorTest.waitUntilNthMessageReceived(2, evaluateNext);
48 } 48 }
49 49
50 WebInspector.context.flavor(WebInspector.ExecutionContext).evaluate(expr ession, "console", true, undefined, undefined, undefined, undefined, didEvaluate ); 50 UI.context.flavor(SDK.ExecutionContext).evaluate(expression, "console", true, undefined, undefined, undefined, undefined, didEvaluate);
51 } 51 }
52 52
53 function dumpConsoleMessages() 53 function dumpConsoleMessages()
54 { 54 {
55 InspectorTest.dumpConsoleMessagesIgnoreErrorStackFrames(); 55 InspectorTest.dumpConsoleMessagesIgnoreErrorStackFrames();
56 InspectorTest.completeTest(); 56 InspectorTest.completeTest();
57 } 57 }
58 58
59 evaluateNext(); 59 evaluateNext();
60 } 60 }
61 61
62 </script> 62 </script>
63 </head> 63 </head>
64 64
65 <body onload="onload()"> 65 <body onload="onload()">
66 <p> 66 <p>
67 Tests saving objects to temporary variables. 67 Tests saving objects to temporary variables.
68 </p> 68 </p>
69 69
70 </body> 70 </body>
71 </html> 71 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698