summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/browser/test-autocomplete-mapped.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/webconsole/test/browser/test-autocomplete-mapped.js')
-rw-r--r--devtools/client/webconsole/test/browser/test-autocomplete-mapped.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/devtools/client/webconsole/test/browser/test-autocomplete-mapped.js b/devtools/client/webconsole/test/browser/test-autocomplete-mapped.js
new file mode 100644
index 0000000000..33762c03a4
--- /dev/null
+++ b/devtools/client/webconsole/test/browser/test-autocomplete-mapped.js
@@ -0,0 +1,18 @@
+"use strict";
+const i = { x: { y: { importResult: true } } };
+const j = { get x() { return blackbox({ get y() { return blackbox({ getterResult: 1 }); } }); } };
+
+const blackbox = x=>[x].pop();
+
+function firstCall() {
+ const t = 42;
+ const u = i.x.y;
+ const v = j.x.y.getterResult;
+ const o = {
+ get value() {
+ return blackbox(Promise.resolve());
+ }
+ };
+ debugger;
+}
+//# sourceMappingURL=test-autocomplete-mapped.js.map