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

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: 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..348ccc5a684cac8c262af7c531a5175f95a6fffd 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', null);
var lnk = doc.createElement('link');
lnk.setAttribute('rel', 'prefetch');
lnk.setAttribute('href', 'prefetch.link');

Powered by Google App Engine
This is Rietveld 408576698