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

Unified Diff: LayoutTests/dart/dom/DOMMap.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/DOMIsolates-expected.txt ('k') | LayoutTests/dart/dom/DOMMap.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dart/dom/DOMMap.dart
diff --git a/LayoutTests/dart/dom/DOMMap.dart b/LayoutTests/dart/dom/DOMMap.dart
deleted file mode 100644
index bc591aeda592406fed586a60d751debd7ac8d48a..0000000000000000000000000000000000000000
--- a/LayoutTests/dart/dom/DOMMap.dart
+++ /dev/null
@@ -1,36 +0,0 @@
-#import('../../../../../dart/client/testing/unittest/unittest.dart');
-#import('dart:dom');
-
-main() {
- forLayoutTests();
- test('ElementsIdentity', () {
- HTMLDivElement div = document.createElement('div');
- div.id = 'test';
- document.body.appendChild(div);
-
- HTMLElement element = document.getElementById('test');
- Expect.identical(div, element);
- });
- test('TwoIsolates', () {
- // Test that we can access the same DOM nodes from different isolates.
- // FIXME: uncomment when we have DOM isolates.
- /*
- Isolate isolate = new TestIsolate().spawn().then((SendPort port) {
- HTMLElement testDiv = document.getElementById('test_div');
- Expect.equals('Hello from Dart Frame', testDiv.innerHTML);
- document.body.removeChild(testDiv);
- });
- */
- });
-}
-
-class TestIsolate extends Isolate {
- TestIsolate() : super.heavy();
-
- void main() {
- HTMLElement element = document.createElement('div');
- element.id = 'test_div';
- element.innerHTML = 'Hello from Dart isolate';
- document.body.appendChild(element);
- }
-}
« no previous file with comments | « LayoutTests/dart/dom/DOMIsolates-expected.txt ('k') | LayoutTests/dart/dom/DOMMap.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698