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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions.html

Issue 2479943002: DevTools: Don't show autocomplete when the user is typing a number (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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> 5 <script>
6 function templateString() 6 function templateString()
7 { 7 {
8 console.log("The template string should not run and you should not see this log"); 8 console.log("The template string should not run and you should not see this log");
9 return { 9 return {
10 shouldNotFindThis:56 10 shouldNotFindThis:56
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 () => testCompletions("", "win", ["window"]), 42 () => testCompletions("", "win", ["window"]),
43 () => testCompletions("window[", '"doc', ['"document"]']), 43 () => testCompletions("window[", '"doc', ['"document"]']),
44 () => testCompletions('window["document"].', "bo", ["body"]), 44 () => testCompletions('window["document"].', "bo", ["body"]),
45 () => testCompletions('window["document"]["body"].', "textC", ["textCont ent"]), 45 () => testCompletions('window["document"]["body"].', "textC", ["textCont ent"]),
46 () => testCompletions('document.body.', "inner", ["innerText", "innerHTM L"]), 46 () => testCompletions('document.body.', "inner", ["innerText", "innerHTM L"]),
47 () => testCompletions('document["body"][window.', "do", ["document"]), 47 () => testCompletions('document["body"][window.', "do", ["document"]),
48 () => testCompletions('document["body"][window["document"].body.childNod es[0].', "text", ["textContent"]), 48 () => testCompletions('document["body"][window["document"].body.childNod es[0].', "text", ["textContent"]),
49 () => testCompletions("templateString`asdf`", "should", ["shouldNotFindT his"]), 49 () => testCompletions("templateString`asdf`", "should", ["shouldNotFindT his"]),
50 () => testCompletions("window.document.", "BODY", ["body"]), 50 () => testCompletions("window.document.", "BODY", ["body"]),
51 () => testCompletions("window.", "dOcUmE", ["document"]), 51 () => testCompletions("window.", "dOcUmE", ["document"]),
52 () => testCompletions("window.", "node", ["NodeList", "AudioNode", "Gain Node"]) 52 () => testCompletions("window.", "node", ["NodeList", "AudioNode", "Gain Node"]),
53 () => testCompletions("", "32", ["Float32Array", "Int32Array"]),
54 () => testCompletions("window.", "32", ["Float32Array", "Int32Array"])
53 ]).then(InspectorTest.completeTest); 55 ]).then(InspectorTest.completeTest);
54 56
55 } 57 }
56 </script> 58 </script>
57 </head> 59 </head>
58 <body onload="runTest()"> 60 <body onload="runTest()">
59 <p>Tests that console correctly finds suggestions in complicated cases.</p> 61 <p>Tests that console correctly finds suggestions in complicated cases.</p>
60 </body> 62 </body>
61 </html> 63 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698