From: dewei_zhu@apple.com Date: Fri, 11 Sep 2015 22:52:40 +0000 (+0000) Subject: Update test for bug 148971 X-Git-Url: https://git.webkit.org/?p=WebKit.git;a=commitdiff_plain;h=0a3f0e30f3579cb32b42a377e6930f78f0c3d445;hp=2c7f76c13b8b8f35589c0620b0fadcb8e01dd7e5 Update test for bug 148971 https://bugs.webkit.org/show_bug.cgi?id=149076 Reviewed by Chris Dumez. * platform/win/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt: Updated. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189636 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index 20651d1b3955..226b28e70534 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,3 +1,12 @@ +2015-09-11 Dewei Zhu + + Update test for bug 148971 + https://bugs.webkit.org/show_bug.cgi?id=149076 + + Reviewed by Chris Dumez. + + * platform/win/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt: Updated. + 2015-09-11 Chris Dumez DOMTokenList update steps for classList don't follow the spec diff --git a/LayoutTests/platform/win/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt b/LayoutTests/platform/win/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt index e39b4bef92d9..d47fb3fe1e12 100644 --- a/LayoutTests/platform/win/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt +++ b/LayoutTests/platform/win/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt @@ -1227,21 +1227,15 @@ FAIL Node interface: calling isDefaultNamespace(DOMString) on iframe.contentDocu [native code] }" did not throw PASS Node interface: iframe.contentDocument must inherit property "insertBefore" with the proper type (40) -FAIL Node interface: calling insertBefore(Node,Node) on iframe.contentDocument with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { +FAIL Node interface: calling insertBefore(Node,Node) on iframe.contentDocument with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () { [native code] -}" threw object "Error: NotFoundError: DOM Exception 8" ("NotFoundError") expected object "TypeError" ("TypeError") +}" threw object "Error: HierarchyRequestError: DOM Exception 3" ("HierarchyRequestError") expected object "TypeError" ("TypeError") PASS Node interface: iframe.contentDocument must inherit property "appendChild" with the proper type (41) -FAIL Node interface: calling appendChild(Node) on iframe.contentDocument with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { - [native code] -}" threw object "Error: NotFoundError: DOM Exception 8" ("NotFoundError") expected object "TypeError" ("TypeError") +PASS Node interface: calling appendChild(Node) on iframe.contentDocument with too few arguments must throw TypeError PASS Node interface: iframe.contentDocument must inherit property "replaceChild" with the proper type (42) -FAIL Node interface: calling replaceChild(Node,Node) on iframe.contentDocument with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { - [native code] -}" did not throw +PASS Node interface: calling replaceChild(Node,Node) on iframe.contentDocument with too few arguments must throw TypeError PASS Node interface: iframe.contentDocument must inherit property "removeChild" with the proper type (43) -FAIL Node interface: calling removeChild(Node) on iframe.contentDocument with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { - [native code] -}" threw object "Error: NotFoundError: DOM Exception 8" ("NotFoundError") expected object "TypeError" ("TypeError") +PASS Node interface: calling removeChild(Node) on iframe.contentDocument with too few arguments must throw TypeError PASS EventTarget interface: iframe.contentDocument must inherit property "addEventListener" with the proper type (0) FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on iframe.contentDocument with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { [native code] @@ -1553,21 +1547,15 @@ FAIL Node interface: calling isDefaultNamespace(DOMString) on document.implement [native code] }" did not throw PASS Node interface: document.implementation.createDocument(null, "", null) must inherit property "insertBefore" with the proper type (40) -FAIL Node interface: calling insertBefore(Node,Node) on document.implementation.createDocument(null, "", null) with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { +FAIL Node interface: calling insertBefore(Node,Node) on document.implementation.createDocument(null, "", null) with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () { [native code] -}" threw object "Error: NotFoundError: DOM Exception 8" ("NotFoundError") expected object "TypeError" ("TypeError") +}" threw object "Error: HierarchyRequestError: DOM Exception 3" ("HierarchyRequestError") expected object "TypeError" ("TypeError") PASS Node interface: document.implementation.createDocument(null, "", null) must inherit property "appendChild" with the proper type (41) -FAIL Node interface: calling appendChild(Node) on document.implementation.createDocument(null, "", null) with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { - [native code] -}" threw object "Error: NotFoundError: DOM Exception 8" ("NotFoundError") expected object "TypeError" ("TypeError") +PASS Node interface: calling appendChild(Node) on document.implementation.createDocument(null, "", null) with too few arguments must throw TypeError PASS Node interface: document.implementation.createDocument(null, "", null) must inherit property "replaceChild" with the proper type (42) -FAIL Node interface: calling replaceChild(Node,Node) on document.implementation.createDocument(null, "", null) with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { - [native code] -}" did not throw +PASS Node interface: calling replaceChild(Node,Node) on document.implementation.createDocument(null, "", null) with too few arguments must throw TypeError PASS Node interface: document.implementation.createDocument(null, "", null) must inherit property "removeChild" with the proper type (43) -FAIL Node interface: calling removeChild(Node) on document.implementation.createDocument(null, "", null) with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { - [native code] -}" threw object "Error: NotFoundError: DOM Exception 8" ("NotFoundError") expected object "TypeError" ("TypeError") +PASS Node interface: calling removeChild(Node) on document.implementation.createDocument(null, "", null) with too few arguments must throw TypeError PASS EventTarget interface: document.implementation.createDocument(null, "", null) must inherit property "addEventListener" with the proper type (0) FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on document.implementation.createDocument(null, "", null) with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { [native code] @@ -2173,21 +2161,15 @@ FAIL Node interface: calling isDefaultNamespace(DOMString) on document.createEle [native code] }" did not throw PASS Node interface: document.createElement("noscript") must inherit property "insertBefore" with the proper type (40) -FAIL Node interface: calling insertBefore(Node,Node) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { +FAIL Node interface: calling insertBefore(Node,Node) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 1 arguments function "function () { [native code] -}" threw object "Error: NotFoundError: DOM Exception 8" ("NotFoundError") expected object "TypeError" ("TypeError") +}" did not throw PASS Node interface: document.createElement("noscript") must inherit property "appendChild" with the proper type (41) -FAIL Node interface: calling appendChild(Node) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { - [native code] -}" threw object "Error: NotFoundError: DOM Exception 8" ("NotFoundError") expected object "TypeError" ("TypeError") +PASS Node interface: calling appendChild(Node) on document.createElement("noscript") with too few arguments must throw TypeError PASS Node interface: document.createElement("noscript") must inherit property "replaceChild" with the proper type (42) -FAIL Node interface: calling replaceChild(Node,Node) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { - [native code] -}" did not throw +PASS Node interface: calling replaceChild(Node,Node) on document.createElement("noscript") with too few arguments must throw TypeError PASS Node interface: document.createElement("noscript") must inherit property "removeChild" with the proper type (43) -FAIL Node interface: calling removeChild(Node) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { - [native code] -}" threw object "Error: NotFoundError: DOM Exception 8" ("NotFoundError") expected object "TypeError" ("TypeError") +PASS Node interface: calling removeChild(Node) on document.createElement("noscript") with too few arguments must throw TypeError PASS EventTarget interface: document.createElement("noscript") must inherit property "addEventListener" with the proper type (0) FAIL EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on document.createElement("noscript") with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { [native code]