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

Side by Side Diff: LayoutTests/inspector/sources/autocomplete-general.html

Issue 1238103002: [DevTools] Do not report edited resources via Page.getResourceContent. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Same for CSS Created 5 years, 4 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="./resources/empty.js"></script> 3 <script src="../sources/debugger/resources/edit-me.js"></script>
4 <script src="../editor/editor-test.js"></script> 4 <script src="../editor/editor-test.js"></script>
5 <script src="../../http/tests/inspector/inspector-test.js"></script> 5 <script src="../../http/tests/inspector/inspector-test.js"></script>
6 <script src="../../http/tests/inspector/debugger-test.js"></script> 6 <script src="../../http/tests/inspector/debugger-test.js"></script>
7 <script> 7 <script>
8 function codeSnippet() { 8 function codeSnippet() {
9 return document.getElementById("codeSnippet").textContent; 9 return document.getElementById("codeSnippet").textContent;
10 } 10 }
11 11
12 function test() 12 function test()
13 { 13 {
14 InspectorTest.showScriptSource("empty.js", onSourceFrame); 14 InspectorTest.showScriptSource("edit-me.js", onSourceFrame);
15 15
16 var textEditor; 16 var textEditor;
17 function onSourceFrame(sourceFrame) 17 function onSourceFrame(sourceFrame)
18 { 18 {
19 textEditor = sourceFrame.textEditor; 19 textEditor = sourceFrame.textEditor;
20 textEditor.element.focus(); 20 textEditor.element.focus();
21 InspectorTest.runTestSuite(testSuite); 21 InspectorTest.runTestSuite(testSuite);
22 } 22 }
23 23
24 var testSuite = [ 24 var testSuite = [
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 </script> 82 </script>
83 </head> 83 </head>
84 84
85 <body onload="runTest();"> 85 <body onload="runTest();">
86 <p> 86 <p>
87 This test checks how text editor updates autocompletion dictionary in a response 87 This test checks how text editor updates autocompletion dictionary in a response
88 to user input. 88 to user input.
89 </p> 89 </p>
90 </body> 90 </body>
91 </html> 91 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698