Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getCompletions-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getCompletions-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getCompletions-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3dbb59e036f02dfd59238ac274da7a2c13cfed70 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getCompletions-expected.txt |
@@ -0,0 +1,80 @@ |
+Runtime.getCompletions test. |
+Completions for expression: ({ foo: 42, boo: 239}) |
+{ |
+ completions : [ |
+ [0] : boo |
+ [1] : foo |
+ ] |
+} |
+Completions for expression: var a = []; for (var i = 0; i < 10; ++i) { a[i] = i; } a |
+{ |
+ completions : [ |
+ [0] : 0 |
+ [1] : 1 |
+ [2] : 2 |
+ [3] : 3 |
+ [4] : 4 |
+ [5] : 5 |
+ [6] : 6 |
+ [7] : 7 |
+ [8] : 8 |
+ [9] : 9 |
+ [10] : filter |
+ [11] : length |
+ [12] : map |
+ ] |
+} |
+Completions for expression: var a = []; for (var i = 0; i < 100000; ++i) { a[i] = i; } a.foo = 42; a |
+{ |
+ completions : [ |
+ ] |
+} |
+Completions for expression: var p = new Proxy({ foo: 42 }, { get: function(target, name) { target.accessed = true; return target[name]; } }); p |
+{ |
+ completions : [ |
+ [0] : foo |
+ ] |
+} |
+Completions for expression: p |
+{ |
+ completions : [ |
+ [0] : foo |
+ ] |
+} |
+Completions for expression: new Uint8Array(new ArrayBuffer(Math.pow(2, 29))) |
+{ |
+ completions : [ |
+ [0] : copyWithin |
+ [1] : sort |
+ [2] : subarray |
+ ] |
+} |
+Completions for primitive type: string |
+{ |
+ completions : [ |
+ [0] : length |
+ [1] : substr |
+ ] |
+} |
+Completions for primitive type: boolean |
+{ |
+ completions : [ |
+ [0] : toString |
+ [1] : valueOf |
+ ] |
+} |
+Completions for primitive type: number |
+{ |
+ completions : [ |
+ [0] : toExponential |
+ [1] : toFixed |
+ ] |
+} |
+Completions for primitive type: symbol |
+{ |
+ completions : [ |
+ [0] : toString |
+ [1] : valueOf |
+ ] |
+} |
+ |