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

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

Issue 1532413002: Added Dartium changes onto 45.0.2454.104 (Closed) Base URL: http://src.chromium.org/blink/branches/chromium/2454
Patch Set: Created 5 years 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
new file mode 100644
index 0000000000000000000000000000000000000000..a6b2313dd79fd70b7ebd8df2dac9af66ac1efef0
--- /dev/null
+++ b/LayoutTests/dart/inspector/evaluate-in-console-expected.txt
@@ -0,0 +1,64 @@
+CONSOLE MESSAGE: Hello Instance of 'Window'
+CONSOLE MESSAGE: foo
+
+Running: testScopeChain
+Set timer for test function.
+Script execution paused.
+Call stack:
+ 0) handleMessage (evaluate-in-console.dart:13)
+test.instanceField = "Test.instanceField"
+test.instanceField = "new value" = "new value"
+test.foo = null
+test.foo = 3 = 3
+test.foo = 3
+test.somePropertyThatDoesntExist = Uncaught 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 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)
+test.toString() = "<Test instance with instanceField = new value>"
+test.toString(1) = Uncaught Unhandled exception:
+Class 'Test' has no instance method 'toString' with matching arguments.
+
+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 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)
+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)"
+(LinkedList).toString() = "LinkedList"
+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
+
+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 Instance of '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