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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/append-on-Document-expected.txt

Issue 1934123002: Implement DOM methods: prepend, append, after, before and replaceWith. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync test expectations 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
(Empty)
1 This is a testharness.js-based test.
2 FAIL Document.append() without any argument, on a Document having no child. pare nt.append is not a function
3 FAIL Document.append() with only one element as an argument, on a Document havin g no child. parent.append is not a function
4 FAIL Document.append() with only one element as an argument, on a Document havin g one child. assert_throws: function "function () { parent.append(y); }" threw o bject "TypeError: parent.append is not a function" that is not a DOMException Hi erarchyRequestError: property "code" is equal to undefined, expected 3
5 FAIL Document.append() with text as an argument, on a Document having no child. assert_throws: function "function () { parent.append('text'); }" threw object "T ypeError: parent.append is not a function" that is not a DOMException HierarchyR equestError: property "code" is equal to undefined, expected 3
6 FAIL Document.append() with two elements as the argument, on a Document having n o child. assert_throws: function "function () { parent.append(x, y); }" threw ob ject "TypeError: parent.append is not a function" that is not a DOMException Hie rarchyRequestError: property "code" is equal to undefined, expected 3
7 Harness: the test ran to completion.
8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698