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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Node-insertBefore-expected.txt

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS Calling insertBefore with a non-Node first argument must throw TypeError. 2 PASS Calling insertBefore with a non-Node first argument must throw TypeError.
3 PASS Calling insertBefore with a non-Node first argument on a leaf node Document Type must throw TypeError. 3 PASS Calling insertBefore with a non-Node first argument on a leaf node Document Type must throw TypeError.
4 PASS Calling insertBefore an a leaf node DocumentType must throw HIERARCHY_REQUE ST_ERR. 4 PASS Calling insertBefore an a leaf node DocumentType must throw HIERARCHY_REQUE ST_ERR.
5 PASS Calling insertBefore with a non-Node first argument on a leaf node Text mus t throw TypeError. 5 PASS Calling insertBefore with a non-Node first argument on a leaf node Text mus t throw TypeError.
6 PASS Calling insertBefore an a leaf node Text must throw HIERARCHY_REQUEST_ERR. 6 PASS Calling insertBefore an a leaf node Text must throw HIERARCHY_REQUEST_ERR.
7 PASS Calling insertBefore with a non-Node first argument on a leaf node Comment must throw TypeError. 7 PASS Calling insertBefore with a non-Node first argument on a leaf node Comment must throw TypeError.
8 PASS Calling insertBefore an a leaf node Comment must throw HIERARCHY_REQUEST_ER R. 8 PASS Calling insertBefore an a leaf node Comment must throw HIERARCHY_REQUEST_ER R.
9 PASS Calling insertBefore with a non-Node first argument on a leaf node Processi ngInstruction must throw TypeError. 9 PASS Calling insertBefore with a non-Node first argument on a leaf node Processi ngInstruction must throw TypeError.
10 PASS Calling insertBefore an a leaf node ProcessingInstruction must throw HIERAR CHY_REQUEST_ERR. 10 PASS Calling insertBefore an a leaf node ProcessingInstruction must throw HIERAR CHY_REQUEST_ERR.
(...skipping 21 matching lines...) Expand all
32 doc.insertBefore(doctype, comment); 32 doc.insertBefore(doctype, comment);
33 }" did not throw 33 }" did not throw
34 FAIL If the context node is a document with and element child, appending a docty pe should throw a HierarchyRequestError. assert_throws: function "function () { 34 FAIL If the context node is a document with and element child, appending a docty pe should throw a HierarchyRequestError. assert_throws: function "function () {
35 doc.insertBefore(doctype, null); 35 doc.insertBefore(doctype, null);
36 }" did not throw 36 }" did not throw
37 PASS If the context node is a DocumentFragment, inserting a document or a doctyp e should throw a HierarchyRequestError. 37 PASS If the context node is a DocumentFragment, inserting a document or a doctyp e should throw a HierarchyRequestError.
38 PASS If the context node is an element, inserting a document or a doctype should throw a HierarchyRequestError. 38 PASS If the context node is an element, inserting a document or a doctype should throw a HierarchyRequestError.
39 PASS Inserting a node before itself should not move the node 39 PASS Inserting a node before itself should not move the node
40 Harness: the test ran to completion. 40 Harness: the test ran to completion.
41 41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698