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

Unified Diff: LayoutTests/dart/dromaeo-based-tests.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/XHR-expected.txt ('k') | LayoutTests/dart/dromaeo-based-tests.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dart/dromaeo-based-tests.dart
diff --git a/LayoutTests/dart/dromaeo-based-tests.dart b/LayoutTests/dart/dromaeo-based-tests.dart
deleted file mode 100644
index 5ee968bb820d35032737ead09ae6aab9e19f112b..0000000000000000000000000000000000000000
--- a/LayoutTests/dart/dromaeo-based-tests.dart
+++ /dev/null
@@ -1,39 +0,0 @@
-#import('dart:dom');
-
-void main() {
- if (null !== layoutTestController) {
- layoutTestController.dumpAsText();
- }
- Main.main();
-}
-
-class Main {
- // FIXME: Make this a unit test.
- static HTMLBodyElement get body() { return document.body; }
-
- static void main() {
- HTMLElement elem = document.getElementById("test1");
- HTMLElement a = document.getElementsByTagName("a")[0];
-
- log(elem.getAttribute("id"));
- log(elem.id);
-
- elem.setAttribute("id", "foo");
- log(elem.getAttribute("id"));
- log(elem.id);
-
- a.setAttribute("id", "foo");
- log(a.getAttribute("id"));
- log(a.id);
-
- a.id = "bar";
- log(a.getAttribute("id"));
- log(a.id);
- }
-
- static void log(String msg) {
- HTMLElement element = document.createElement('div');
- element.innerHTML = msg;
- body.appendChild(element);
- }
-}
« no previous file with comments | « LayoutTests/dart/dom/XHR-expected.txt ('k') | LayoutTests/dart/dromaeo-based-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698