Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt

Issue 2122423002: [DevTools] Remove functionDetails from protocol.json (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-generator-details-from-protocol
Patch Set: a Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt
index 427e428aefb619041af3450f38b884e44fd249b3..36d5ec9c4c8c6f864002ef93fe6a79c84fc116ce 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/properties-special-expected.txt
@@ -1,6 +1,7 @@
CONSOLE MESSAGE: line 10: true
CONSOLE MESSAGE: line 11: function (a,b) { return a + b; }
CONSOLE MESSAGE: line 12: function () { [native code] }
+CONSOLE MESSAGE: line 13: function* () { yeild [1,2,3] }
Tests how debugger presents special properties of closures, bound functions and object wrappers.
properties-special.html:10 Boolean
@@ -13,8 +14,9 @@ properties-special.html:11 anonymous(a, b)
name: ""
prototype: Object
__proto__: ()
- <function scope>
-properties-special.html:12 anonymous()
+ [[FunctionLocation]]: properties-special.html:11
+ [[Scopes]]: Scopes[1]
+properties-special.html:12 bound ()
arguments: (...)
caller: (...)
length: 1
@@ -23,4 +25,14 @@ properties-special.html:12 anonymous()
[[TargetFunction]]: (a,b)
[[BoundThis]]: Object
[[BoundArgs]]: Array[1]
+properties-special.html:13 anonymous()
+ arguments: (...)
+ caller: (...)
+ length: 0
+ name: ""
+ prototype: Generator
+ __proto__: GeneratorFunction
+ [[FunctionLocation]]: properties-special.html:13
+ [[IsGenerator]]: true
+ [[Scopes]]: Scopes[1]

Powered by Google App Engine
This is Rietveld 408576698