Index: LayoutTests/dart/inspector/evaluate-in-console-expected.txt |
diff --git a/LayoutTests/dart/inspector/evaluate-in-console-expected.txt b/LayoutTests/dart/inspector/evaluate-in-console-expected.txt |
index 5f0bc28ffee48a0ff1050d2b8f6b0a057e60b1bb..2f9a251ee70ba3e7a0c8f94ee58bd22ed2531f9a 100644 |
--- a/LayoutTests/dart/inspector/evaluate-in-console-expected.txt |
+++ b/LayoutTests/dart/inspector/evaluate-in-console-expected.txt |
@@ -1,9 +1,10 @@ |
-CONSOLE MESSAGE: line 1: Hello <window> |
-CONSOLE MESSAGE: line 1: foo |
+CONSOLE MESSAGE: Hello <window> |
+CONSOLE MESSAGE: foo |
Debugger was enabled. |
Running: testScopeChain |
Breakpoint added to source frame at line 12 |
+Set timer for test function. |
Script execution paused. |
Call stack: |
0) handleMessage (evaluate-in-console.dart:13) |
@@ -12,16 +13,16 @@ test.instanceField = "new value" = "new value" |
test.foo = null |
test.foo = 3 = 3 |
test.foo = 3 |
-test.somePropertyThatDoesntExist = "Unhandled exception: |
+test.somePropertyThatDoesntExist = Unhandled exception: |
Class 'Test' has no instance getter 'somePropertyThatDoesntExist'. |
NoSuchMethodError: method not found: 'somePropertyThatDoesntExist' |
Receiver: Instance of 'Test' |
Arguments: [] |
#0 Object.noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) |
-#1 eval.<anonymous closure> (:2:6)" |
+#1 eval.<anonymous closure> (:2:6) |
test.toString() = "<Test instance with instanceField = new value>" |
-test.toString(1) = "Unhandled exception: |
+test.toString(1) = Unhandled exception: |
Class 'Test' has no instance method 'toString' with matching arguments. |
NoSuchMethodError: incorrect number of arguments passed to method named 'toString' |
@@ -29,7 +30,7 @@ Receiver: Instance of 'Test' |
Tried calling: toString(1) |
Found: toString() |
#0 Object.noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) |
-#1 eval.<anonymous closure> (:2:14)" |
+#1 eval.<anonymous closure> (:2:14) |
test.create("x").instanceField = "x" |
test.concat(test.create("x"), test.create("y")) = "new value:x:y" |
_private = "private" |
@@ -40,10 +41,11 @@ new Element.tag("div").outerHtml = "<div></div>" |
new Element.tag("div").tagName = "DIV" |
intList.toString() = "(4, 2)" |
(LinkedList).toString() = "LinkedList" |
-var a=new List<int>()..add(4)..add(42) = |
+var a=new List<int>()..add(4)..add(42) = [4, 42] |
a.toString() = "[4, 42]" |
-$consoleVariables.variables() = |
-var f = (x) => x*42 = [Dart Function] {} |
+$consoleVariables.variables() = [a] |
+var f = (x) => x*42 = (x) => x*42 |
+ |
f(2) = 84 |
[] is List = true |
{} is List = false |
@@ -53,7 +55,7 @@ f(2) = 84 |
1.0 is double = true |
((x) => x * 2)(21) = 42 |
((x) { var z = x * 4; return z; })(21) = 84 |
-print("Hello $window") = Hello <window> VM25:1 |
+print("Hello $window") = Hello <window> |
Running: testPrint |
Script execution resumed. |