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 a6b2313dd79fd70b7ebd8df2dac9af66ac1efef0..ceba835cf5ece07a8c2a6caa04571e02c8e3fd57 100644 |
--- a/LayoutTests/dart/inspector/evaluate-in-console-expected.txt |
+++ b/LayoutTests/dart/inspector/evaluate-in-console-expected.txt |
@@ -1,11 +1,14 @@ |
-CONSOLE MESSAGE: Hello Instance of 'Window' |
-CONSOLE MESSAGE: foo |
+CONSOLE MESSAGE: line 1: Hello [object Window] |
+CONSOLE MESSAGE: line 1: foo |
Running: testScopeChain |
Set timer for test function. |
Script execution paused. |
Call stack: |
0) handleMessage (evaluate-in-console.dart:13) |
+ 1) Function._apply(VM_PRIVATE_MANGLING) (dart:core-patch/function_patch.dart:7) |
+ 2) Function.apply (dart:core-patch/function_patch.dart:28) |
+ 3) _CreateDartFunctionForInteropIgnoreThis(VM_PRIVATE_MANGLING).call (dart:js:xxxx) |
test.instanceField = "Test.instanceField" |
test.instanceField = "new value" = "new value" |
test.foo = null |
@@ -21,6 +24,9 @@ Arguments: [] |
#1 Object.noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) |
#2 Eval.<anonymous closure> (evaluate:source:2:6) |
#3 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5) |
+#4 Function._apply (DART_CORE_LIBRARY_SOURCE_LOCATION) |
+#5 Function.apply (DART_CORE_LIBRARY_SOURCE_LOCATION) |
+#6 _CreateDartFunctionForInteropIgnoreThis.call (DART_CORE_LIBRARY_SOURCE_LOCATION) |
test.toString() = "<Test instance with instanceField = new value>" |
test.toString(1) = Uncaught Unhandled exception: |
Class 'Test' has no instance method 'toString' with matching arguments. |
@@ -33,6 +39,9 @@ Found: toString() |
#1 Object.noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION) |
#2 Eval.<anonymous closure> (evaluate:source:2:6) |
#3 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5) |
+#4 Function._apply (DART_CORE_LIBRARY_SOURCE_LOCATION) |
+#5 Function.apply (DART_CORE_LIBRARY_SOURCE_LOCATION) |
+#6 _CreateDartFunctionForInteropIgnoreThis.call (DART_CORE_LIBRARY_SOURCE_LOCATION) |
test.create("x").instanceField = "x" |
test.concat(test.create("x"), test.create("y")) = "new value:x:y" |
_private = "private" |
@@ -46,8 +55,7 @@ intList.toString() = "(4, 2)" |
var a=new List<int>()..add(4)..add(42) = [4, 42] |
a.toString() = "[4, 42]" |
$consoleVariables.variables() = [a] |
-var f = (x) => x*42 = (x) => x*42 |
- |
+var f = (x) => x*42 = |
f(2) = 84 |
[] is List = true |
{} is List = false |
@@ -57,7 +65,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 Instance of 'Window' |
+print("Hello $window") = (VM:LOCATION) Hello [object Window] |
Running: testPrint |
Script execution resumed. |