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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Node-replaceChild-expected.txt

Issue 2496133002: DOM: Remove standard-violating optimizations in appendChild, insertBefore, and replaceChild. (Closed)
Patch Set: . Created 3 years, 10 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/external/wpt/dom/nodes/Node-replaceChild-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Node-replaceChild-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Node-replaceChild-expected.txt
index 9caa72354ce6a9206dd56af85c44bd3aabc731d3..51224a084269ad5fe9b15f1af3d5e39027c538b9 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Node-replaceChild-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Node-replaceChild-expected.txt
@@ -2,9 +2,7 @@ This is a testharness.js-based test.
PASS Passing null to replaceChild should throw a TypeError.
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
-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 node is an inclusive ancestor of the context node, a HierarchyRequestError should be thrown.
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