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

Side by Side Diff: LayoutTests/inspector/sources/debugger/live-edit-no-reveal.html

Issue 185683008: DevTools: Fix live-edit.html test. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added new file Created 6 years, 9 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 | Annotate | Revision Log
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/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script src="../../../http/tests/inspector/live-edit-test.js"></script> 5 <script src="../../../http/tests/inspector/live-edit-test.js"></script>
6 <script src="resources/edit-me-when-paused.js"></script> 6 <script src="resources/edit-me-when-paused-no-reveal.js"></script>
7 7
8 <script> 8 <script>
9 9
10 function test() 10 function test()
11 { 11 {
12 var panel = WebInspector.showPanel("sources"); 12 var panel = WebInspector.showPanel("sources");
13 var sourceFrame; 13 var sourceFrame;
14 14
15 InspectorTest.runDebuggerTestSuite([ 15 InspectorTest.runDebuggerTestSuite([
16 function testLiveEditWhenPausedDoesNotCauseCursorMove(next) 16 function testLiveEditWhenPausedDoesNotCauseCursorMove(next)
17 { 17 {
18 InspectorTest.showScriptSource("edit-me-when-paused.js", didShowScri ptSource); 18 InspectorTest.showScriptSource("edit-me-when-paused-no-reveal.js", d idShowScriptSource);
19 19
20 function didShowScriptSource(sourceFrame) 20 function didShowScriptSource(sourceFrame)
21 { 21 {
22 InspectorTest.waitUntilPaused(paused); 22 InspectorTest.waitUntilPaused(paused);
23 InspectorTest.evaluateInPage("f1()", didEvaluateInPage); 23 InspectorTest.evaluateInPage("f1()", didEvaluateInPage);
24 } 24 }
25 25
26 function paused(callFrames) 26 function paused(callFrames)
27 { 27 {
28 sourceFrame = panel.visibleView; 28 sourceFrame = panel.visibleView;
(...skipping 23 matching lines...) Expand all
52 52
53 </script> 53 </script>
54 54
55 </head> 55 </head>
56 56
57 <body onload="runTest()"> 57 <body onload="runTest()">
58 <p>Tests live edit feature.</p> 58 <p>Tests live edit feature.</p>
59 59
60 </body> 60 </body>
61 </html> 61 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/inspector/sources/debugger/resources/edit-me-when-paused-no-reveal.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698