| Index: LayoutTests/fast/dom/SelectorAPI/script-tests/viewless-document.js
|
| diff --git a/LayoutTests/fast/dom/SelectorAPI/script-tests/viewless-document.js b/LayoutTests/fast/dom/SelectorAPI/script-tests/viewless-document.js
|
| index 7a9d43e2baca4fec79d15373abd98700078cc57d..81c0090a563dfe319ce8a507a5117f2f9cc998a9 100644
|
| --- a/LayoutTests/fast/dom/SelectorAPI/script-tests/viewless-document.js
|
| +++ b/LayoutTests/fast/dom/SelectorAPI/script-tests/viewless-document.js
|
| @@ -2,7 +2,7 @@ description(
|
| "This tests that querySelector, querySelectorAll and matchesSelector (webkitMatchesSelector) don't crash when used in a viewless document."
|
| );
|
|
|
| -var testDoc = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html");
|
| +var testDoc = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", null);
|
| testDoc.documentElement.appendChild(testDoc.createElement("body"));
|
| testDoc.body.appendChild(testDoc.createElement("p")).id = "p1";
|
| testDoc.getElementById("p1").appendChild(testDoc.createElement("span")).id = "s1";
|
|
|