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

Unified Diff: LayoutTests/inspector/console/console-format-expected.txt

Issue 23861007: DevTools: Fix console output for native functions like Math.random (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated test expectations Created 7 years, 3 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: LayoutTests/inspector/console/console-format-expected.txt
diff --git a/LayoutTests/inspector/console/console-format-expected.txt b/LayoutTests/inspector/console/console-format-expected.txt
index b3b9b4c8a429f42346fac1482f688bc42fa108fb..ba183fddf0bca6903b0ddbf7435882674133fea4 100644
--- a/LayoutTests/inspector/console/console-format-expected.txt
+++ b/LayoutTests/inspector/console/console-format-expected.txt
@@ -16,6 +16,8 @@ CONSOLE MESSAGE: line 54: [object HTMLParagraphElement]
CONSOLE MESSAGE: line 55: [object HTMLParagraphElement]
CONSOLE MESSAGE: line 54: function () { return 1; }
CONSOLE MESSAGE: line 55: function () { return 1; }
+CONSOLE MESSAGE: line 54: function random() { [native code] }
pfeldman 2013/09/05 11:42:10 Can we have a dedicated test for exceptions like t
+CONSOLE MESSAGE: line 55: function random() { [native code] }
CONSOLE MESSAGE: line 54: function () {
return 2;
}
@@ -88,76 +90,80 @@ function () { return 1; } console-format.html:54
[function] console-format.html:55
globals[6]
function () { return 1; } console-format.html:31
+function random() { [native code] } console-format.html:54
+[function] console-format.html:55
+globals[7]
+function random() { [native code] }
function () {
return 2;
} console-format.html:54
[function] console-format.html:55
-globals[7]
+globals[8]
function () {
return 2;
} console-format.html:32
0.12 console-format.html:54
[0.12] console-format.html:55
-globals[8]
+globals[9]
0.12
http://webkit.org/ console-format.html:54
["http://webkit.org/"] console-format.html:55
-globals[9]
+globals[10]
"http://webkit.org/"
null console-format.html:54
[null] console-format.html:55
-globals[10]
+globals[11]
null
undefined console-format.html:54
[undefined] console-format.html:55
-globals[11]
+globals[12]
undefined
attr="" console-format.html:54
[attr] console-format.html:55
-globals[12]
+globals[13]
attr=""
attr="value""value" console-format.html:54
[attr] console-format.html:55
-globals[13]
+globals[14]
attr="value""value"
id="x""x" console-format.html:54
[id] console-format.html:55
-globals[14]
+globals[15]
id="x""x"
Object {} console-format.html:54
[Object] console-format.html:55
-globals[15]
+globals[16]
Object {}
NaN console-format.html:54
[NaN] console-format.html:55
-globals[16]
+globals[17]
NaN
Infinity console-format.html:54
[Infinity] console-format.html:55
-globals[17]
+globals[18]
Infinity
-Infinity console-format.html:54
[-Infinity] console-format.html:55
-globals[18]
+globals[19]
-Infinity
["test", "test2", 4: "test4", foo: Object] console-format.html:54
[Array[10]] console-format.html:55
-globals[19]
+globals[20]
["test", "test2", undefined × 2, "test4", undefined × 5]
Object {} console-format.html:54
[Object] console-format.html:55
-globals[20]
+globals[21]
Object {}
[function] console-format.html:54
[Array[1]] console-format.html:55
-globals[21]
+globals[22]
[function () {}]
Object {bar: "bar", foo: "foo"} console-format.html:54
[Object] console-format.html:55
-globals[22]
+globals[23]
Object {bar: "bar", foo: "foo"}
<svg id="svg-node"></svg> console-format.html:54
[svg#svg-node] console-format.html:55
-globals[23]
+globals[24]
<svg id="svg-node"></svg>

Powered by Google App Engine
This is Rietveld 408576698