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

Unified Diff: LayoutTests/dart/dom/IsolateLight.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/dart/dom/InstanceOf-expected.txt ('k') | LayoutTests/dart/dom/IsolateLight.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dart/dom/IsolateLight.dart
diff --git a/LayoutTests/dart/dom/IsolateLight.dart b/LayoutTests/dart/dom/IsolateLight.dart
deleted file mode 100644
index 8d41f3b5942345f27987b9e212940edf9d2c745f..0000000000000000000000000000000000000000
--- a/LayoutTests/dart/dom/IsolateLight.dart
+++ /dev/null
@@ -1,38 +0,0 @@
-#import('../../../../../dart/client/testing/unittest/unittest.dart');
-#import('dart:dom');
-#import('dart:json');
-
-var _isolateId;
-
-class TestIsolate extends Isolate {
- TestIsolate() : super.light();
-
- void main() {
- _isolateId = 1;
- final div = document.getElementById('testid');
-
- // These events fire in the main isolate. Note, dispatchEvent is
- // handled synchronously.
- Event event = document.createEvent('Event');
- event.initEvent('test', true, false);
- div.dispatchEvent(event);
-
- Expect.equals(1, _isolateId);
- event = document.createEvent('Event');
- event.initEvent('done', true, false);
- div.dispatchEvent(event);
- }
-}
-
-main() {
- _isolateId = 0;
- forLayoutTests();
- asyncTest('IsolatedStatic', 1, () {
- final div = document.createElement('div');
- div.id = 'testid';
- document.body.appendChild(div);
- div.addEventListener('test', (e) => Expect.equals(0, _isolateId), false);
- div.addEventListener('done', (e) => callbackDone(), false);
- new TestIsolate().spawn();
- });
-}
« no previous file with comments | « LayoutTests/dart/dom/InstanceOf-expected.txt ('k') | LayoutTests/dart/dom/IsolateLight.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698