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

Unified Diff: LayoutTests/dart/Node.html

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/Multiscript-expected.txt ('k') | LayoutTests/dart/Node-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dart/Node.html
diff --git a/LayoutTests/dart/Node.html b/LayoutTests/dart/Node.html
deleted file mode 100644
index 0cf6d057a6fbf9fc41930adee8467a8b529c0885..0000000000000000000000000000000000000000
--- a/LayoutTests/dart/Node.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<html>
-<body>
-
-<div id="insert">*Insert Test Parent*<div id="refChild">Reference Child</div></div>
-<div id="replace">*Replace Test Parent*<div id="oldChild">Old Child</div></div>
-<div id="remove">*Remove Test Parent*<div id="child">Child</div></div>
-<div id="append">*Append Test Parent*</div>
-
-<script id="dart" type="application/dart">
-#import('dart:dom');
-
-class NodeTest {
-
- NodeTest() {}
-
- void testInsertBefore() {
- HTMLElement parent = document.getElementById('insert');
- HTMLElement child = document.createElement('div');
- child.innerHTML = 'Inserted Child';
- HTMLElement refChild = document.getElementById('refChild');
- parent.insertBefore(child, refChild);
- }
-
- void testReplaceChild() {
- HTMLElement parent = document.getElementById('replace');
- HTMLElement child = document.createElement('div');
- child.innerHTML = 'New Child';
- HTMLElement oldChild = document.getElementById('oldChild');
- parent.replaceChild(child, oldChild);
- }
-
- void testRemoveChild() {
- HTMLElement parent = document.getElementById('remove');
- HTMLElement child = document.getElementById('child');
- parent.removeChild(child);
- }
-
- void testAppendChild() {
- HTMLElement parent = document.getElementById('append');
- HTMLElement child = document.createElement('div');
- child.innerHTML = 'Appended Child';
- parent.appendChild(child);
- }
-}
-
-void main() {
- if (null !== layoutTestController) {
- layoutTestController.dumpAsText();
- }
- NodeTest tester = new NodeTest();
- tester.testInsertBefore();
- tester.testReplaceChild();
- tester.testRemoveChild();
- tester.testAppendChild();
-}
-</script>
-
-<script>
-// Fake script to trigger Dart execution.
-</script>
-
-</body>
-</html>
« no previous file with comments | « LayoutTests/dart/Multiscript-expected.txt ('k') | LayoutTests/dart/Node-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698