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

Side by Side Diff: LayoutTests/dart/dom/Console.dart

Issue 18169002: Improve Dart Debugger performance and robustness by creating Dart wrappers using the standard SetNa… (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Code review fixes Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/dart/dom/Console-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 import "../../../../../dart/pkg/unittest/lib/unittest.dart"; 1 import "../../../../../dart/pkg/unittest/lib/unittest.dart";
2 import "../../../../../dart/pkg/unittest/lib/html_config.dart"; 2 import "../../../../../dart/pkg/unittest/lib/html_config.dart";
3 import 'dart:html'; 3 import 'dart:html';
4 4
5 main() { 5 main() {
6 useHtmlConfiguration(true); 6 useHtmlConfiguration(true);
7 test('Console', () { 7 test('Console', () {
8 window.console.log("Test message."); 8 window.console.log("Test message.");
9 window.console.log(42); 9 window.console.log(42);
10 // The object will show up in the console as an interactive object
11 // so a blank line will show up in the Layout Test text output.
10 window.console.log(new TestObjectWithToString()); 12 window.console.log(new TestObjectWithToString());
13 window.console.log(true);
11 }); 14 });
12 } 15 }
13 16
14 class TestObjectWithToString { 17 class TestObjectWithToString {
15 String toString() => "TestObject instance"; 18 String toString() => "TestObject instance";
16 } 19 }
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/dart/dom/Console-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698