| Index: third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html b/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html
|
| index e0867247810a5cdfd94195373f26d6a86054c947..6d8b6372938ad299cdfab5af244c90f31446786e 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console-cd-completions.html
|
| @@ -144,6 +144,20 @@ function test()
|
| {
|
| InspectorTest.addResult("MyClass with mixin completions:")
|
| dumpCompletions(completions, ["myMethod"]);
|
| + requestObjectCompletions();
|
| + }
|
| +
|
| +
|
| + function requestObjectCompletions()
|
| + {
|
| + InspectorTest.changeExecutionContext("top");
|
| + WebInspector.context.flavor(WebInspector.ExecutionContext).completionsForExpression("Object.", "Object.", 0, "", false, checkObjectCompletions.bind(this));
|
| + }
|
| +
|
| + function checkObjectCompletions(completions)
|
| + {
|
| + InspectorTest.addResult("Object completions:")
|
| + dumpCompletions(completions, ["getOwnPropertyNames", "getOwnPropertyDescriptor", "keys"]);
|
| InspectorTest.dumpConsoleMessages();
|
| InspectorTest.completeTest();
|
| }
|
|
|