| 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 0e7c6acfbc41179070a10c5be546b2b43873a5f7..e78536ab2ecd58ebd47b05af6e19822091fd83ff 100644
|
| --- a/LayoutTests/dart/inspector/evaluate-in-console-expected.txt
|
| +++ b/LayoutTests/dart/inspector/evaluate-in-console-expected.txt
|
| @@ -1,3 +1,4 @@
|
| +CONSOLE MESSAGE: line 1: Hello <window>
|
| CONSOLE MESSAGE: line 1: foo
|
| Debugger was enabled.
|
|
|
| @@ -10,32 +11,54 @@ test.instanceField = "new value" = "new value"
|
| test.foo = null
|
| test.foo = 3 = 3
|
| test.foo = 3
|
| -test.somePropertyThatDoesntExist = undefined
|
| +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)
|
| +#2 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5)
|
| +#3 eval.<anonymous closure> (:2:6)
|
| +#4 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5)"
|
| test.toString() = "<Test instance with instanceField = new value>"
|
| test.toString(1) = "Unhandled exception:
|
| -Closure call with mismatched arguments: function 'call'
|
| +Class 'Test' has no instance method 'toString' with matching arguments.
|
|
|
| -NoSuchMethodError: incorrect number of arguments passed to method named 'call'
|
| -Receiver: Closure: () => String from Function 'toString':.
|
| -Tried calling: call(1)
|
| -Found: call()
|
| +NoSuchMethodError: incorrect number of arguments passed to method named 'toString'
|
| +Receiver: Instance of 'Test'
|
| +Tried calling: toString(1)
|
| +Found: toString()
|
| #0 Object.noSuchMethod (DART_CORE_LIBRARY_SOURCE_LOCATION)
|
| -#1 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5)"
|
| +#1 eval.<anonymous closure> (:2:14)
|
| +#2 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5)
|
| +#3 eval.<anonymous closure> (:2:14)
|
| +#4 handleMessage (FILE_SOURCE_LOCATION/evaluate-in-console.dart:13:5)"
|
| test.create("x").instanceField = "x"
|
| test.concat(test.create("x"), test.create("y")) = "new value:x:y"
|
| _private = "private"
|
| globalField = null
|
| calculateSquareRoot(25) = 5
|
| new Element.tag("div").outerHtml = "<div></div>"
|
| +(new Element.tag("div")..append(new Element.tag("h1"))).outerHtml = "<div><h1></h1></div>"
|
| new Element.tag("div").tagName = "DIV"
|
| intList.toString() = "{4, 2}"
|
| -intList.__proto__.someMethodThatDoesNotExist() = TypeError: Object #<LinkedList> has no method 'someMethodThatDoesNotExist'
|
| -intList.__proto__.toString() = "Library:'dart:collection' Class: LinkedList"
|
| -a=new List() =
|
| -jsObject={} = Object {}
|
| -jsObject.__proto__=a =
|
| -jsObject.add(7) = null
|
| -a.toString() = "[7]"
|
| +(LinkedList).toString() = "LinkedList"
|
| +$var.a=new List<int>()..add(4)..add(42) =
|
| +$var.a.toString() = "[4, 42]"
|
| +$var.variables() =
|
| +$var.f = (x) => x*42 = [Dart Function] {}
|
| +$var.f(2) = 84
|
| +[] is List = true
|
| +{} is List = false
|
| +"This should be an int: ${10000000000000000000000 - 1}" = "This should be an int: 9999999999999999999999"
|
| +10000000000000000000000 is int = true
|
| +1.0 is int = false
|
| +1.0 is double = true
|
| +((x) => x * 2)(21) = 42
|
| +((x) { var z = x * 4; return z; })(21) = 84
|
| +print("Hello $window") = Hello <window>
|
|
|
| Running: testPrint
|
| Script execution resumed.
|
|
|