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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/ranges/Range-mutations.js

Issue 2468053002: Import wpt@9fcccf38b6be00f71ffa6bd6e29c5aa1ef25ee8c (Closed)
Patch Set: Skip cssom and svg/shapes, remove unwanted baseline Created 4 years, 1 month 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
Index: third_party/WebKit/LayoutTests/imported/wpt/dom/ranges/Range-mutations.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/ranges/Range-mutations.html b/third_party/WebKit/LayoutTests/imported/wpt/dom/ranges/Range-mutations.js
similarity index 95%
rename from third_party/WebKit/LayoutTests/imported/wpt/dom/ranges/Range-mutations.html
rename to third_party/WebKit/LayoutTests/imported/wpt/dom/ranges/Range-mutations.js
index ef99ca2ef04710767964c761b36eeb070510bbfe..3837de928289a7c11d70f5afc5f3dca44c23ab4c 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/dom/ranges/Range-mutations.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/ranges/Range-mutations.js
@@ -1,13 +1,3 @@
-<!doctype html>
-<title>Range mutation tests</title>
-<link rel="author" title="Aryeh Gregor" href=ayg@aryeh.name>
-<meta name=timeout content=long>
-
-<div id=log></div>
-<script src=/resources/testharness.js></script>
-<script src=/resources/testharnessreport.js></script>
-<script src=../common.js></script>
-<script>
"use strict";
// These tests probably use too much abstraction and too little copy-paste.
@@ -929,22 +919,3 @@ var removeChildTests = [
["foreignDoc.documentElement", "foreignDoc", 0, "foreignDoc", "foreignDoc.childNodes.length"],
];
-
-
-// Finally run everything. All grouped together at the end so that I can
-// easily comment out some of them, so I don't have to wait for all test types
-// to debug only some of them.
-doTests(splitTextTests, function(params) { return params[0] + ".splitText(" + params[1] + ")" }, testSplitText);
-doTests(insertDataTests, function(params) { return params[0] + ".insertData(" + params[1] + ", " + params[2] + ")" }, testInsertData);
-doTests(appendDataTests, function(params) { return params[0] + ".appendData(" + params[1] + ")" }, testAppendData);
-doTests(deleteDataTests, function(params) { return params[0] + ".deleteData(" + params[1] + ", " + params[2] + ")" }, testDeleteData);
-doTests(replaceDataTests, function(params) { return params[0] + ".replaceData(" + params[1] + ", " + params[2] + ", " + params[3] + ")" }, testReplaceData);
-doTests(dataChangeTests, function(params) { return params[0] + "." + eval(params[1]) + " " + eval(params[2]) + ' ' + params[3] }, testDataChange);
-doTests(insertBeforeTests, function(params) { return params[0] + ".insertBefore(" + params[1] + ", " + params[2] + ")" }, testInsertBefore);
-doTests(replaceChildTests, function(params) { return params[0] + ".replaceChild(" + params[1] + ", " + params[2] + ")" }, testReplaceChild);
-doTests(appendChildTests, function(params) { return params[0] + ".appendChild(" + params[1] + ")" }, testAppendChild);
-doTests(removeChildTests, function(params) { return params[0] + ".parentNode.removeChild(" + params[0] + ")" }, testRemoveChild);
-
-
-testDiv.style.display = "none";
-</script>

Powered by Google App Engine
This is Rietveld 408576698