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

Unified Diff: LayoutTests/dart/inspector/evaluate-in-console-expected.txt

Issue 300393002: Merge DevTools Refactor CL to Blink36 (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/1985
Patch Set: PTAL Created 6 years, 6 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
« no previous file with comments | « LayoutTests/dart/inspector/evaluate-in-console.html ('k') | LayoutTests/dart/inspector/sample_library.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « LayoutTests/dart/inspector/evaluate-in-console.html ('k') | LayoutTests/dart/inspector/sample_library.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698