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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument.js

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument.js
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument.js
deleted file mode 100644
index 3e7e9aa9b787a1f628043b43dc187c406eb33e7f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-createHTMLDocument.js
+++ /dev/null
@@ -1,25 +0,0 @@
-function createHTMLDocuments(checkDoc) {
- var tests = [
- ["", "", ""],
- [null, "null", "null"],
- [undefined, undefined, ""],
- ["foo bar baz", "foo bar baz", "foo bar baz"],
- ["foo\t\tbar baz", "foo\t\tbar baz", "foo bar baz"],
- ["foo\n\nbar baz", "foo\n\nbar baz", "foo bar baz"],
- ["foo\f\fbar baz", "foo\f\fbar baz", "foo bar baz"],
- ["foo\r\rbar baz", "foo\r\rbar baz", "foo bar baz"],
- ]
-
- tests.forEach(function(t, i) {
- var title = t[0], expectedtitle = t[1], normalizedtitle = t[2]
- test(function() {
- var doc = document.implementation.createHTMLDocument(title);
- checkDoc(doc, expectedtitle, normalizedtitle)
- }, "createHTMLDocument test " + i + ": " + t.map(function(el) { return format_value(el) }))
- })
-
- test(function() {
- var doc = document.implementation.createHTMLDocument();
- checkDoc(doc, undefined, "")
- }, "Missing title argument");
-}

Powered by Google App Engine
This is Rietveld 408576698