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

Side by Side Diff: client/tests/client/dom/IsolateLightTest.dart

Issue 9600035: Enable new dart:html wrapperless frog bindings and wrapper dartium bindings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Handle all code review comments Created 8 years, 9 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 | « client/tests/client/dom/InstanceOfTest.dart ('k') | client/tests/client/dom/IsolatesTest.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('IsolateLightTest'); 1 #library('IsolateLightTest');
2 #import('../../../testing/unittest/unittest.dart'); 2 #import('../../../testing/unittest/unittest_dom.dart');
3 #import('dart:dom'); 3 #import('dart:dom');
4 #import('dart:json'); 4 #import('dart:json');
5 #import('dart:isolate'); 5 #import('dart:isolate');
6 6
7 var _isolateId; 7 var _isolateId;
8 8
9 class TestIsolate extends Isolate { 9 class TestIsolate extends Isolate {
10 TestIsolate() : super.light(); 10 TestIsolate() : super.light();
11 11
12 void main() { 12 void main() {
(...skipping 17 matching lines...) Expand all
30 _isolateId = 0; 30 _isolateId = 0;
31 asyncTest('IsolatedStatic', 1, () { 31 asyncTest('IsolatedStatic', 1, () {
32 final div = document.createElement('div'); 32 final div = document.createElement('div');
33 div.id = 'testid'; 33 div.id = 'testid';
34 document.body.appendChild(div); 34 document.body.appendChild(div);
35 div.addEventListener('test', (e) => Expect.equals(0, _isolateId), false); 35 div.addEventListener('test', (e) => Expect.equals(0, _isolateId), false);
36 div.addEventListener('done', (e) => callbackDone(), false); 36 div.addEventListener('done', (e) => callbackDone(), false);
37 new TestIsolate().spawn(); 37 new TestIsolate().spawn();
38 }); 38 });
39 } 39 }
OLDNEW
« no previous file with comments | « client/tests/client/dom/InstanceOfTest.dart ('k') | client/tests/client/dom/IsolatesTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698