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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Node-replaceChild-expected.txt

Issue 1854003004: Import web-platform-tests@5a8700479d98852455bee6117558897867eb278a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Node-replaceChild-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Node-replaceChild-expected.txt b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Node-replaceChild-expected.txt
index ccdc0f776007d613556eaff3b2b229806be74536..9caa72354ce6a9206dd56af85c44bd3aabc731d3 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Node-replaceChild-expected.txt
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Node-replaceChild-expected.txt
@@ -1,10 +1,10 @@
This is a testharness.js-based test.
PASS Passing null to replaceChild should throw a TypeError.
-FAIL If child's parent is not the context node, a NotFoundError exception should be thrown assert_throws: function "function () {
- a.replaceChild(a, c);
- }" threw object "HierarchyRequestError: Failed to execute 'replaceChild' o..." that is not a DOMException NotFoundError: property "code" is equal to 3, expected 8
+PASS If child's parent is not the context node, a NotFoundError exception should be thrown
PASS If the context node is not a node that can contain children, a NotFoundError exception should be thrown
-PASS If node is an inclusive ancestor of the context node, a HierarchyRequestError should be thrown.
+FAIL If node is an inclusive ancestor of the context node, a HierarchyRequestError should be thrown. assert_throws: function "function () {
+ a.replaceChild(a, a);
+ }" did not throw
PASS If the context node is a document, inserting a document or text node should throw a HierarchyRequestError.
PASS If the context node is a document, inserting a DocumentFragment that contains a text node or too many elements should throw a HierarchyRequestError.
PASS If the context node is a document (without element children), inserting a DocumentFragment that contains multiple elements should throw a HierarchyRequestError.

Powered by Google App Engine
This is Rietveld 408576698