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

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

Issue 9188009: Things to unfork. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 11 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 | « LayoutTests/dart/dom/CanvasUsingHtml-expected.txt ('k') | LayoutTests/dart/dom/Console.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #import("../../../../../dart/client/testing/unittest/unittest.dart");
2 #import('dart:dom');
3
4 main() {
5 forLayoutTests();
6 test('Console', () {
7 window.console.log("Test message.");
8 window.console.log(42);
9 window.console.log(new TestObjectWithToString());
10 expectThrow(() => window.console.log(new TestObjectWithToStringException())) ;
11 // FIXME: print object and array literals when format is specified.
12 });
13 }
14
15 class TestObjectWithToString {
16 String toString() => "TestObject instance";
17 }
18
19 class TestObjectWithToStringException {
20 String toString() { throw "to string exception"; }
21 }
OLDNEW
« no previous file with comments | « LayoutTests/dart/dom/CanvasUsingHtml-expected.txt ('k') | LayoutTests/dart/dom/Console.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698