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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions-expected.txt

Issue 2163393002: DevTools: Give autocomplete suggestions even after brackets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nicer sequential 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions-expected.txt b/third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce2cff0f67310c3592ce4155ec6983cce0c6a04b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions-expected.txt
@@ -0,0 +1,31 @@
+Tests that console correctly finds suggestions in complicated cases.
+
+Checking 'window.do'
+Found: document
+
+Checking 'win'
+Found: window
+
+Checking 'window["doc'
+Found: "document"]
+
+Checking 'window["document"].bo'
+Found: body
+
+Checking 'window["document"]["body"].textC'
+Found: textContent
+
+Checking 'document.body.inner'
+Found: innerText
+Found: innerHTML
+
+Checking 'document["body"][window.do'
+Found: document
+
+Checking 'document["body"][window["document"].body.childNodes[0].text'
+Found: textContent
+
+Checking 'templateString`asdf`should'
+Not Found: shouldNotFindThis
+
+

Powered by Google App Engine
This is Rietveld 408576698