Title: [263606] trunk/LayoutTests/imported/w3c
Revision
263606
Author
[email protected]
Date
2020-06-26 17:13:34 -0700 (Fri, 26 Jun 2020)

Log Message

Resync web-platform-tests/WebIDL from upstream
https://bugs.webkit.org/show_bug.cgi?id=213539

Reviewed by Sam Weinig.

Resync web-platform-tests/WebIDL from upstream 1001bb6b2d6b9.

* web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any-expected.txt:
* web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any.js:
(test):
* web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any.worker-expected.txt:
* web-platform-tests/WebIDL/ecmascript-binding/class-string-named-properties-object.window-expected.txt:
* web-platform-tests/WebIDL/ecmascript-binding/class-string-named-properties-object.window.js:
* web-platform-tests/WebIDL/idlharness-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces-expected.txt.
* web-platform-tests/WebIDL/idlharness.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces.html.
* web-platform-tests/WebIDL/w3c-import.log:

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (263605 => 263606)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2020-06-26 23:58:27 UTC (rev 263605)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2020-06-27 00:13:34 UTC (rev 263606)
@@ -1,5 +1,24 @@
 2020-06-26  Chris Dumez  <[email protected]>
 
+        Resync web-platform-tests/WebIDL from upstream
+        https://bugs.webkit.org/show_bug.cgi?id=213539
+
+        Reviewed by Sam Weinig.
+
+        Resync web-platform-tests/WebIDL from upstream 1001bb6b2d6b9.
+
+        * web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any-expected.txt:
+        * web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any.js:
+        (test):
+        * web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any.worker-expected.txt:
+        * web-platform-tests/WebIDL/ecmascript-binding/class-string-named-properties-object.window-expected.txt:
+        * web-platform-tests/WebIDL/ecmascript-binding/class-string-named-properties-object.window.js:
+        * web-platform-tests/WebIDL/idlharness-expected.txt: Renamed from LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces-expected.txt.
+        * web-platform-tests/WebIDL/idlharness.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces.html.
+        * web-platform-tests/WebIDL/w3c-import.log:
+
+2020-06-26  Chris Dumez  <[email protected]>
+
         Update web-platform-tests/content-security-policy from upstream
         https://bugs.webkit.org/show_bug.cgi?id=213664
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any-expected.txt (263605 => 263606)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any-expected.txt	2020-06-26 23:58:27 UTC (rev 263605)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any-expected.txt	2020-06-27 00:13:34 UTC (rev 263606)
@@ -2,6 +2,7 @@
 PASS @@toStringTag exists with the appropriate descriptor 
 PASS Object.prototype.toString 
 PASS Object.prototype.toString applied after modifying @@toStringTag 
-FAIL Object.prototype.toString applied after nulling the prototype assert_equals: expected "[object Object]" but got "[object URLSearchParams Iterator]"
+PASS Object.prototype.toString applied to a null-prototype instance 
+PASS Object.prototype.toString applied after nulling the prototype 
 PASS Object.prototype.toString applied after deleting @@toStringTag 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any.js (263605 => 263606)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any.js	2020-06-26 23:58:27 UTC (rev 263605)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any.js	2020-06-27 00:13:34 UTC (rev 263606)
@@ -31,6 +31,14 @@
 // was no @@toStringTag, it would fall back to a magic class string. This tests that the bug is
 // fixed.
 
+test(() => {
+  const iterator = (new URLSearchParams()).keys();
+  assert_equals(Object.prototype.toString.call(iterator), "[object URLSearchParams Iterator]");
+
+  Object.setPrototypeOf(iterator, null);
+  assert_equals(Object.prototype.toString.call(iterator), "[object Object]");
+}, "Object.prototype.toString applied to a null-prototype instance");
+
 test(t => {
   const proto = Object.getPrototypeOf(iteratorProto);
   t.add_cleanup(() => {
@@ -39,7 +47,7 @@
 
   Object.setPrototypeOf(iteratorProto, null);
 
-  assert_equals(Object.prototype.toString.call(iteratorProto), "[object Object]");
+  assert_equals(Object.prototype.toString.call(iteratorProto), "[object URLSearchParams Iterator]");
 }, "Object.prototype.toString applied after nulling the prototype");
 
 // This test must be last.

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any.worker-expected.txt (263605 => 263606)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any.worker-expected.txt	2020-06-26 23:58:27 UTC (rev 263605)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-iterator-prototype-object.any.worker-expected.txt	2020-06-27 00:13:34 UTC (rev 263606)
@@ -2,6 +2,7 @@
 PASS @@toStringTag exists with the appropriate descriptor 
 PASS Object.prototype.toString 
 PASS Object.prototype.toString applied after modifying @@toStringTag 
-FAIL Object.prototype.toString applied after nulling the prototype assert_equals: expected "[object Object]" but got "[object URLSearchParams Iterator]"
+PASS Object.prototype.toString applied to a null-prototype instance 
+PASS Object.prototype.toString applied after nulling the prototype 
 PASS Object.prototype.toString applied after deleting @@toStringTag 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-named-properties-object.window-expected.txt (263605 => 263606)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-named-properties-object.window-expected.txt	2020-06-26 23:58:27 UTC (rev 263605)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-named-properties-object.window-expected.txt	2020-06-27 00:13:34 UTC (rev 263606)
@@ -2,5 +2,4 @@
 PASS @@toStringTag exists with the appropriate descriptor 
 PASS Object.prototype.toString 
 PASS Object.prototype.toString applied after modifying @@toStringTag 
-PASS Object.prototype.toString applied after deleting @@toStringTag 
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-named-properties-object.window.js (263605 => 263606)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-named-properties-object.window.js	2020-06-26 23:58:27 UTC (rev 263605)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/class-string-named-properties-object.window.js	2020-06-27 00:13:34 UTC (rev 263606)
@@ -28,15 +28,7 @@
 }, "Object.prototype.toString applied after modifying @@toStringTag");
 
 // Chrome had a bug (https://bugs.chromium.org/p/chromium/issues/detail?id=793406) where if there
-// was no @@toStringTag, it would fall back to a magic class string. This tests that the bug is
-// fixed.
-
-// Note: we cannot null out the prototype of the named properties object per
-// https://heycam.github.io/webidl/#named-properties-object-setprototypeof so we don't have a test that does that.
-
-// This test must be last.
-test(() => {
-  delete namedPropertiesObject[Symbol.toStringTag];
-
-  assert_equals(Object.prototype.toString.call(namedPropertiesObject), "[object EventTarget]", "prototype");
-}, "Object.prototype.toString applied after deleting @@toStringTag");
+// was no @@toStringTag, it would fall back to a magic class string. Tests for this are present in
+// the sibling class-string*.any.js tests. However, the named properties object always fails calls
+// to [[DefineOwnProperty]] or [[SetPrototypeOf]] per the Web IDL spec, so there is no way to
+// trigger the buggy behavior for it.

Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/idlharness-expected.txt (from rev 263605, trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces-expected.txt) (0 => 263606)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/idlharness-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/idlharness-expected.txt	2020-06-27 00:13:34 UTC (rev 263606)
@@ -0,0 +1,152 @@
+
+PASS Test driver 
+PASS DOMException interface: existence and properties of interface object 
+PASS DOMException interface object length 
+PASS DOMException interface object name 
+PASS DOMException interface: existence and properties of interface prototype object 
+PASS DOMException interface: existence and properties of interface prototype object's "constructor" property 
+PASS DOMException interface: existence and properties of interface prototype object's @@unscopables property 
+PASS DOMException interface: attribute name 
+PASS DOMException interface: attribute message 
+PASS DOMException interface: attribute code 
+PASS DOMException interface: constant INDEX_SIZE_ERR on interface object 
+PASS DOMException interface: constant INDEX_SIZE_ERR on interface prototype object 
+PASS DOMException interface: constant DOMSTRING_SIZE_ERR on interface object 
+PASS DOMException interface: constant DOMSTRING_SIZE_ERR on interface prototype object 
+PASS DOMException interface: constant HIERARCHY_REQUEST_ERR on interface object 
+PASS DOMException interface: constant HIERARCHY_REQUEST_ERR on interface prototype object 
+PASS DOMException interface: constant WRONG_DOCUMENT_ERR on interface object 
+PASS DOMException interface: constant WRONG_DOCUMENT_ERR on interface prototype object 
+PASS DOMException interface: constant INVALID_CHARACTER_ERR on interface object 
+PASS DOMException interface: constant INVALID_CHARACTER_ERR on interface prototype object 
+PASS DOMException interface: constant NO_DATA_ALLOWED_ERR on interface object 
+PASS DOMException interface: constant NO_DATA_ALLOWED_ERR on interface prototype object 
+PASS DOMException interface: constant NO_MODIFICATION_ALLOWED_ERR on interface object 
+PASS DOMException interface: constant NO_MODIFICATION_ALLOWED_ERR on interface prototype object 
+PASS DOMException interface: constant NOT_FOUND_ERR on interface object 
+PASS DOMException interface: constant NOT_FOUND_ERR on interface prototype object 
+PASS DOMException interface: constant NOT_SUPPORTED_ERR on interface object 
+PASS DOMException interface: constant NOT_SUPPORTED_ERR on interface prototype object 
+PASS DOMException interface: constant INUSE_ATTRIBUTE_ERR on interface object 
+PASS DOMException interface: constant INUSE_ATTRIBUTE_ERR on interface prototype object 
+PASS DOMException interface: constant INVALID_STATE_ERR on interface object 
+PASS DOMException interface: constant INVALID_STATE_ERR on interface prototype object 
+PASS DOMException interface: constant SYNTAX_ERR on interface object 
+PASS DOMException interface: constant SYNTAX_ERR on interface prototype object 
+PASS DOMException interface: constant INVALID_MODIFICATION_ERR on interface object 
+PASS DOMException interface: constant INVALID_MODIFICATION_ERR on interface prototype object 
+PASS DOMException interface: constant NAMESPACE_ERR on interface object 
+PASS DOMException interface: constant NAMESPACE_ERR on interface prototype object 
+PASS DOMException interface: constant INVALID_ACCESS_ERR on interface object 
+PASS DOMException interface: constant INVALID_ACCESS_ERR on interface prototype object 
+PASS DOMException interface: constant VALIDATION_ERR on interface object 
+PASS DOMException interface: constant VALIDATION_ERR on interface prototype object 
+PASS DOMException interface: constant TYPE_MISMATCH_ERR on interface object 
+PASS DOMException interface: constant TYPE_MISMATCH_ERR on interface prototype object 
+PASS DOMException interface: constant SECURITY_ERR on interface object 
+PASS DOMException interface: constant SECURITY_ERR on interface prototype object 
+PASS DOMException interface: constant NETWORK_ERR on interface object 
+PASS DOMException interface: constant NETWORK_ERR on interface prototype object 
+PASS DOMException interface: constant ABORT_ERR on interface object 
+PASS DOMException interface: constant ABORT_ERR on interface prototype object 
+PASS DOMException interface: constant URL_MISMATCH_ERR on interface object 
+PASS DOMException interface: constant URL_MISMATCH_ERR on interface prototype object 
+PASS DOMException interface: constant QUOTA_EXCEEDED_ERR on interface object 
+PASS DOMException interface: constant QUOTA_EXCEEDED_ERR on interface prototype object 
+PASS DOMException interface: constant TIMEOUT_ERR on interface object 
+PASS DOMException interface: constant TIMEOUT_ERR on interface prototype object 
+PASS DOMException interface: constant INVALID_NODE_TYPE_ERR on interface object 
+PASS DOMException interface: constant INVALID_NODE_TYPE_ERR on interface prototype object 
+PASS DOMException interface: constant DATA_CLONE_ERR on interface object 
+PASS DOMException interface: constant DATA_CLONE_ERR on interface prototype object 
+PASS DOMException must be primary interface of new DOMException() 
+PASS Stringification of new DOMException() 
+PASS DOMException interface: new DOMException() must inherit property "name" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "message" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "code" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "INDEX_SIZE_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "DOMSTRING_SIZE_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "HIERARCHY_REQUEST_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "WRONG_DOCUMENT_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "INVALID_CHARACTER_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "NO_DATA_ALLOWED_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "NO_MODIFICATION_ALLOWED_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "NOT_FOUND_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "NOT_SUPPORTED_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "INUSE_ATTRIBUTE_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "INVALID_STATE_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "SYNTAX_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "INVALID_MODIFICATION_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "NAMESPACE_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "INVALID_ACCESS_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "VALIDATION_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "TYPE_MISMATCH_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "SECURITY_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "NETWORK_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "ABORT_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "URL_MISMATCH_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "QUOTA_EXCEEDED_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "TIMEOUT_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "INVALID_NODE_TYPE_ERR" with the proper type 
+PASS DOMException interface: new DOMException() must inherit property "DATA_CLONE_ERR" with the proper type 
+PASS DOMException must be primary interface of new DOMException("my message") 
+PASS Stringification of new DOMException("my message") 
+PASS DOMException interface: new DOMException("my message") must inherit property "name" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "message" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "code" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "INDEX_SIZE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "DOMSTRING_SIZE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "HIERARCHY_REQUEST_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "WRONG_DOCUMENT_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "INVALID_CHARACTER_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "NO_DATA_ALLOWED_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "NO_MODIFICATION_ALLOWED_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "NOT_FOUND_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "NOT_SUPPORTED_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "INUSE_ATTRIBUTE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "INVALID_STATE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "SYNTAX_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "INVALID_MODIFICATION_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "NAMESPACE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "INVALID_ACCESS_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "VALIDATION_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "TYPE_MISMATCH_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "SECURITY_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "NETWORK_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "ABORT_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "URL_MISMATCH_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "QUOTA_EXCEEDED_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "TIMEOUT_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "INVALID_NODE_TYPE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message") must inherit property "DATA_CLONE_ERR" with the proper type 
+PASS DOMException must be primary interface of new DOMException("my message", "myName") 
+PASS Stringification of new DOMException("my message", "myName") 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "name" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "message" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "code" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INDEX_SIZE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "DOMSTRING_SIZE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "HIERARCHY_REQUEST_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "WRONG_DOCUMENT_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_CHARACTER_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NO_DATA_ALLOWED_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NO_MODIFICATION_ALLOWED_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NOT_FOUND_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NOT_SUPPORTED_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INUSE_ATTRIBUTE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_STATE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "SYNTAX_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_MODIFICATION_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NAMESPACE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_ACCESS_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "VALIDATION_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "TYPE_MISMATCH_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "SECURITY_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NETWORK_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "ABORT_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "URL_MISMATCH_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "QUOTA_EXCEEDED_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "TIMEOUT_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_NODE_TYPE_ERR" with the proper type 
+PASS DOMException interface: new DOMException("my message", "myName") must inherit property "DATA_CLONE_ERR" with the proper type 
+

Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/idlharness.html (from rev 263605, trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces.html) (0 => 263606)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/idlharness.html	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/idlharness.html	2020-06-27 00:13:34 UTC (rev 263606)
@@ -0,0 +1,28 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>WebIDL IDL tests</title>
+<script src=""
+<script src=""
+<script src=""
+<script src=""
+
+<div id=log></div>
+<script>
+"use strict";
+var idlArray = new IdlArray();
+
+function doTest(idl) {
+  idlArray.add_idls(idl);
+  idlArray.add_objects({
+    DOMException: ['new DOMException()',
+                   'new DOMException("my message")',
+                   'new DOMException("my message", "myName")'],
+  });
+  idlArray.test();
+}
+
+promise_test(function() {
+  return fetch("/interfaces/WebIDL.idl").then(response => response.text())
+                                        .then(doTest);
+}, "Test driver");
+</script>

Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces-expected.txt (263605 => 263606)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces-expected.txt	2020-06-26 23:58:27 UTC (rev 263605)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces-expected.txt	2020-06-27 00:13:34 UTC (rev 263606)
@@ -1,152 +0,0 @@
-
-PASS Test driver 
-PASS DOMException interface: existence and properties of interface object 
-PASS DOMException interface object length 
-PASS DOMException interface object name 
-PASS DOMException interface: existence and properties of interface prototype object 
-PASS DOMException interface: existence and properties of interface prototype object's "constructor" property 
-PASS DOMException interface: existence and properties of interface prototype object's @@unscopables property 
-PASS DOMException interface: attribute name 
-PASS DOMException interface: attribute message 
-PASS DOMException interface: attribute code 
-PASS DOMException interface: constant INDEX_SIZE_ERR on interface object 
-PASS DOMException interface: constant INDEX_SIZE_ERR on interface prototype object 
-PASS DOMException interface: constant DOMSTRING_SIZE_ERR on interface object 
-PASS DOMException interface: constant DOMSTRING_SIZE_ERR on interface prototype object 
-PASS DOMException interface: constant HIERARCHY_REQUEST_ERR on interface object 
-PASS DOMException interface: constant HIERARCHY_REQUEST_ERR on interface prototype object 
-PASS DOMException interface: constant WRONG_DOCUMENT_ERR on interface object 
-PASS DOMException interface: constant WRONG_DOCUMENT_ERR on interface prototype object 
-PASS DOMException interface: constant INVALID_CHARACTER_ERR on interface object 
-PASS DOMException interface: constant INVALID_CHARACTER_ERR on interface prototype object 
-PASS DOMException interface: constant NO_DATA_ALLOWED_ERR on interface object 
-PASS DOMException interface: constant NO_DATA_ALLOWED_ERR on interface prototype object 
-PASS DOMException interface: constant NO_MODIFICATION_ALLOWED_ERR on interface object 
-PASS DOMException interface: constant NO_MODIFICATION_ALLOWED_ERR on interface prototype object 
-PASS DOMException interface: constant NOT_FOUND_ERR on interface object 
-PASS DOMException interface: constant NOT_FOUND_ERR on interface prototype object 
-PASS DOMException interface: constant NOT_SUPPORTED_ERR on interface object 
-PASS DOMException interface: constant NOT_SUPPORTED_ERR on interface prototype object 
-PASS DOMException interface: constant INUSE_ATTRIBUTE_ERR on interface object 
-PASS DOMException interface: constant INUSE_ATTRIBUTE_ERR on interface prototype object 
-PASS DOMException interface: constant INVALID_STATE_ERR on interface object 
-PASS DOMException interface: constant INVALID_STATE_ERR on interface prototype object 
-PASS DOMException interface: constant SYNTAX_ERR on interface object 
-PASS DOMException interface: constant SYNTAX_ERR on interface prototype object 
-PASS DOMException interface: constant INVALID_MODIFICATION_ERR on interface object 
-PASS DOMException interface: constant INVALID_MODIFICATION_ERR on interface prototype object 
-PASS DOMException interface: constant NAMESPACE_ERR on interface object 
-PASS DOMException interface: constant NAMESPACE_ERR on interface prototype object 
-PASS DOMException interface: constant INVALID_ACCESS_ERR on interface object 
-PASS DOMException interface: constant INVALID_ACCESS_ERR on interface prototype object 
-PASS DOMException interface: constant VALIDATION_ERR on interface object 
-PASS DOMException interface: constant VALIDATION_ERR on interface prototype object 
-PASS DOMException interface: constant TYPE_MISMATCH_ERR on interface object 
-PASS DOMException interface: constant TYPE_MISMATCH_ERR on interface prototype object 
-PASS DOMException interface: constant SECURITY_ERR on interface object 
-PASS DOMException interface: constant SECURITY_ERR on interface prototype object 
-PASS DOMException interface: constant NETWORK_ERR on interface object 
-PASS DOMException interface: constant NETWORK_ERR on interface prototype object 
-PASS DOMException interface: constant ABORT_ERR on interface object 
-PASS DOMException interface: constant ABORT_ERR on interface prototype object 
-PASS DOMException interface: constant URL_MISMATCH_ERR on interface object 
-PASS DOMException interface: constant URL_MISMATCH_ERR on interface prototype object 
-PASS DOMException interface: constant QUOTA_EXCEEDED_ERR on interface object 
-PASS DOMException interface: constant QUOTA_EXCEEDED_ERR on interface prototype object 
-PASS DOMException interface: constant TIMEOUT_ERR on interface object 
-PASS DOMException interface: constant TIMEOUT_ERR on interface prototype object 
-PASS DOMException interface: constant INVALID_NODE_TYPE_ERR on interface object 
-PASS DOMException interface: constant INVALID_NODE_TYPE_ERR on interface prototype object 
-PASS DOMException interface: constant DATA_CLONE_ERR on interface object 
-PASS DOMException interface: constant DATA_CLONE_ERR on interface prototype object 
-PASS DOMException must be primary interface of new DOMException() 
-PASS Stringification of new DOMException() 
-PASS DOMException interface: new DOMException() must inherit property "name" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "message" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "code" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "INDEX_SIZE_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "DOMSTRING_SIZE_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "HIERARCHY_REQUEST_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "WRONG_DOCUMENT_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "INVALID_CHARACTER_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "NO_DATA_ALLOWED_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "NO_MODIFICATION_ALLOWED_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "NOT_FOUND_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "NOT_SUPPORTED_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "INUSE_ATTRIBUTE_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "INVALID_STATE_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "SYNTAX_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "INVALID_MODIFICATION_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "NAMESPACE_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "INVALID_ACCESS_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "VALIDATION_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "TYPE_MISMATCH_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "SECURITY_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "NETWORK_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "ABORT_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "URL_MISMATCH_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "QUOTA_EXCEEDED_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "TIMEOUT_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "INVALID_NODE_TYPE_ERR" with the proper type 
-PASS DOMException interface: new DOMException() must inherit property "DATA_CLONE_ERR" with the proper type 
-PASS DOMException must be primary interface of new DOMException("my message") 
-PASS Stringification of new DOMException("my message") 
-PASS DOMException interface: new DOMException("my message") must inherit property "name" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "message" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "code" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "INDEX_SIZE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "DOMSTRING_SIZE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "HIERARCHY_REQUEST_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "WRONG_DOCUMENT_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "INVALID_CHARACTER_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "NO_DATA_ALLOWED_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "NO_MODIFICATION_ALLOWED_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "NOT_FOUND_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "NOT_SUPPORTED_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "INUSE_ATTRIBUTE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "INVALID_STATE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "SYNTAX_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "INVALID_MODIFICATION_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "NAMESPACE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "INVALID_ACCESS_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "VALIDATION_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "TYPE_MISMATCH_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "SECURITY_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "NETWORK_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "ABORT_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "URL_MISMATCH_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "QUOTA_EXCEEDED_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "TIMEOUT_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "INVALID_NODE_TYPE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message") must inherit property "DATA_CLONE_ERR" with the proper type 
-PASS DOMException must be primary interface of new DOMException("my message", "myName") 
-PASS Stringification of new DOMException("my message", "myName") 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "name" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "message" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "code" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INDEX_SIZE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "DOMSTRING_SIZE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "HIERARCHY_REQUEST_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "WRONG_DOCUMENT_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_CHARACTER_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NO_DATA_ALLOWED_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NO_MODIFICATION_ALLOWED_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NOT_FOUND_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NOT_SUPPORTED_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INUSE_ATTRIBUTE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_STATE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "SYNTAX_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_MODIFICATION_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NAMESPACE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_ACCESS_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "VALIDATION_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "TYPE_MISMATCH_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "SECURITY_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "NETWORK_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "ABORT_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "URL_MISMATCH_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "QUOTA_EXCEEDED_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "TIMEOUT_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_NODE_TYPE_ERR" with the proper type 
-PASS DOMException interface: new DOMException("my message", "myName") must inherit property "DATA_CLONE_ERR" with the proper type 
-

Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces.html (263605 => 263606)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces.html	2020-06-26 23:58:27 UTC (rev 263605)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces.html	2020-06-27 00:13:34 UTC (rev 263606)
@@ -1,28 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<title>WebIDL IDL tests</title>
-<script src=""
-<script src=""
-<script src=""
-<script src=""
-
-<div id=log></div>
-<script>
-"use strict";
-var idlArray = new IdlArray();
-
-function doTest(idl) {
-  idlArray.add_idls(idl);
-  idlArray.add_objects({
-    DOMException: ['new DOMException()',
-                   'new DOMException("my message")',
-                   'new DOMException("my message", "myName")'],
-  });
-  idlArray.test();
-}
-
-promise_test(function() {
-  return fetch("/interfaces/WebIDL.idl").then(response => response.text())
-                                        .then(doTest);
-}, "Test driver");
-</script>

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/w3c-import.log (263605 => 263606)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/w3c-import.log	2020-06-26 23:58:27 UTC (rev 263605)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/w3c-import.log	2020-06-27 00:13:34 UTC (rev 263606)
@@ -16,6 +16,6 @@
 List of files:
 /LayoutTests/imported/w3c/web-platform-tests/WebIDL/META.yml
 /LayoutTests/imported/w3c/web-platform-tests/WebIDL/current-realm.html
-/LayoutTests/imported/w3c/web-platform-tests/WebIDL/interfaces.html
+/LayoutTests/imported/w3c/web-platform-tests/WebIDL/idlharness.html
 /LayoutTests/imported/w3c/web-platform-tests/WebIDL/readme.txt
 /LayoutTests/imported/w3c/web-platform-tests/WebIDL/testable_assertions.txt
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to