| Index: third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/script-tests/undefined-null-stringify.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/script-tests/undefined-null-stringify.js b/third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/script-tests/undefined-null-stringify.js
|
| deleted file mode 100644
|
| index 7aaa2a60cc9fa57495b7a3d146a5bbe8ec0b72b1..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/script-tests/undefined-null-stringify.js
|
| +++ /dev/null
|
| @@ -1,21 +0,0 @@
|
| -description(
|
| -"This tests that the querySelector, querySelectorAll and matchesSelector (webkitMatchesSelector) correctly stringify null and undefined to \"null\" and \"undefined\"."
|
| -);
|
| -
|
| -var root = document.createElement('div');
|
| -var nullNode = document.createElement('null');
|
| -root.appendChild(nullNode);
|
| -var undefinedNode = document.createElement('undefined');
|
| -root.appendChild(undefinedNode);
|
| -document.body.appendChild(root);
|
| -
|
| -shouldBe("document.querySelector(null)", "nullNode");
|
| -shouldBe("document.querySelector(undefined)", "undefinedNode");
|
| -
|
| -shouldBe("document.querySelectorAll(null).length", "1");
|
| -shouldBe("document.querySelectorAll(null).item(0)", "nullNode");
|
| -shouldBe("document.querySelectorAll(undefined).length", "1");
|
| -shouldBe("document.querySelectorAll(undefined).item(0)", "undefinedNode");
|
| -
|
| -shouldBeTrue("nullNode.webkitMatchesSelector(null)");
|
| -shouldBeTrue("undefinedNode.webkitMatchesSelector(undefined)");
|
|
|