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

Unified Diff: LayoutTests/fast/dom/HTMLLinkElement/prefetch-detached.html

Issue 22875013: Make several DOMImplementation API arguments mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix createDocument() args Created 7 years, 4 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: LayoutTests/fast/dom/HTMLLinkElement/prefetch-detached.html
diff --git a/LayoutTests/fast/dom/HTMLLinkElement/prefetch-detached.html b/LayoutTests/fast/dom/HTMLLinkElement/prefetch-detached.html
index cd1775934317200d1c380d8ad69dbb60f27d6275..6275b7b09a3bc03402d6a61216d97b55b42ad3e5 100644
--- a/LayoutTests/fast/dom/HTMLLinkElement/prefetch-detached.html
+++ b/LayoutTests/fast/dom/HTMLLinkElement/prefetch-detached.html
@@ -11,7 +11,7 @@ if (window.testRunner)
document.getElementById('frag').innerHTML = '<link href="prefetch.link" rel="prefetch">';
// Fun with detached documents.
-var doc = document.implementation.createDocument('application/html+xml');
+var doc = document.implementation.createDocument('application/html+xml', 'html');
var lnk = doc.createElement('link');
lnk.setAttribute('rel', 'prefetch');
lnk.setAttribute('href', 'prefetch.link');

Powered by Google App Engine
This is Rietveld 408576698