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'); |