| Index: third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions.html b/third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions.html
|
| index f01839c417f2394ada41bacde63bb728cd86759d..8699b1ae249cc5f378b9d9b8ae17e524a0fc34cc 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/console/console-correct-suggestions.html
|
| @@ -12,9 +12,11 @@ function templateString()
|
| }
|
|
|
| function shouldNotFindThisFunction() { }
|
| -
|
| +function shouldFindThisFunction() { }
|
| window["should not find this"] = true;
|
|
|
| +var myMap = new Map([['first', 1], ['second', 2], ['third', 3], ['shouldNotFindThis', 4]]);
|
| +
|
| function test()
|
| {
|
| var consoleEditor;
|
| @@ -69,6 +71,10 @@ function test()
|
| () => testCompletions("// do", ["document"], false),
|
| () => testCompletions('["should', ["shouldNotFindThisFunction"]),
|
| () => testCompletions("shou", ["should not find this"]),
|
| + () => testCompletions('myMap.get(', ['"first")', '"second")', '"third")']),
|
| + () => testCompletions('myMap.get(\'', ['\'first\')', '\'second\')', '\'third\')']),
|
| + () => testCompletions('myMap.set(\'firs', ['\'first\', ']),
|
| + () => testCompletions('myMap.set(should', ['shouldFindThisFunction', 'shouldNotFindThis', '\"shouldNotFindThis\")']),
|
| () => testCompletions("document. bo", ["body"]),
|
| () => testCompletions("document.\tbo", ["body"]),
|
| () => testCompletions("document.\nbo", ["body"]),
|
|
|