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