summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/debugger/this-in-arrow-function-expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/inspector/debugger/this-in-arrow-function-expected.txt')
-rw-r--r--deps/v8/test/inspector/debugger/this-in-arrow-function-expected.txt106
1 files changed, 106 insertions, 0 deletions
diff --git a/deps/v8/test/inspector/debugger/this-in-arrow-function-expected.txt b/deps/v8/test/inspector/debugger/this-in-arrow-function-expected.txt
new file mode 100644
index 0000000000..58f1e926d2
--- /dev/null
+++ b/deps/v8/test/inspector/debugger/this-in-arrow-function-expected.txt
@@ -0,0 +1,106 @@
+Checks this in arrow function scope
+ (function() {
+ let f = () => { #debugger; };
+ f();
+
+This on callFrame:
+{
+ type : undefined
+}
+This in evaluateOnCallFrame:
+{
+ type : undefined
+}
+Values equal: true
+
+ let f = () => { debugger; };
+ #f();
+ }).call('a');
+
+This on callFrame:
+{
+ className : String
+ description : String
+ objectId : <objectId>
+ type : object
+}
+This in evaluateOnCallFrame:
+{
+ className : String
+ description : String
+ objectId : <objectId>
+ type : object
+}
+Values equal: true
+
+ f();
+ }).#call('a');
+ return a;
+
+This on callFrame:
+{
+ className : Number
+ description : Number
+ objectId : <objectId>
+ type : object
+}
+This in evaluateOnCallFrame:
+{
+ className : Number
+ description : Number
+ objectId : <objectId>
+ type : object
+}
+Values equal: true
+
+function boo() {
+ foo.call(1)#();
+}
+
+This on callFrame:
+{
+ className : Object
+ description : Object
+ objectId : <objectId>
+ type : object
+}
+This in evaluateOnCallFrame:
+{
+ className : Object
+ description : Object
+ objectId : <objectId>
+ type : object
+}
+Values equal: true
+
+}
+(() => boo.#call({}))();
+
+This on callFrame:
+{
+ type : undefined
+}
+This in evaluateOnCallFrame:
+{
+ type : undefined
+}
+Values equal: true
+
+}
+(() => boo.call({}))#();
+
+This on callFrame:
+{
+ className : global
+ description : global
+ objectId : <objectId>
+ type : object
+}
+This in evaluateOnCallFrame:
+{
+ className : Object
+ description : Object
+ objectId : <objectId>
+ type : object
+}
+Values equal: false