when applied to ]
+ expected: FAIL
+
+ [
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/IndexedDB/idbcursor_update_objectstore9.htm b/tests/wpt/web-platform-tests/IndexedDB/idbcursor_update_objectstore9.htm
new file mode 100644
index 00000000000..34aa78e6be8
--- /dev/null
+++ b/tests/wpt/web-platform-tests/IndexedDB/idbcursor_update_objectstore9.htm
@@ -0,0 +1,45 @@
+
+
+IDBCursor.update() - object store - throw InvalidStateError when the cursor is being iterated
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/IndexedDB/interfaces.idl b/tests/wpt/web-platform-tests/IndexedDB/interfaces.idl
index 055e62f46b3..6eee5f47a35 100644
--- a/tests/wpt/web-platform-tests/IndexedDB/interfaces.idl
+++ b/tests/wpt/web-platform-tests/IndexedDB/interfaces.idl
@@ -88,7 +88,7 @@ interface IDBDatabase : EventTarget {
};
interface IDBObjectStore {
- readonly attribute DOMString name;
+ attribute DOMString name;
readonly attribute any keyPath;
readonly attribute DOMStringList indexNames;
readonly attribute IDBTransaction transaction;
@@ -106,7 +106,7 @@ interface IDBObjectStore {
};
interface IDBIndex {
- readonly attribute DOMString name;
+ attribute DOMString name;
readonly attribute IDBObjectStore objectStore;
readonly attribute any keyPath;
readonly attribute boolean multiEntry;
diff --git a/tests/wpt/web-platform-tests/XMLHttpRequest/open-url-multi-window-6.htm b/tests/wpt/web-platform-tests/XMLHttpRequest/open-url-multi-window-6.htm
new file mode 100644
index 00000000000..b6f15828afe
--- /dev/null
+++ b/tests/wpt/web-platform-tests/XMLHttpRequest/open-url-multi-window-6.htm
@@ -0,0 +1,41 @@
+
+
+
+ XMLHttpRequest: open() in document that is not fully active (but may be active) should throw
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/XMLHttpRequest/resources/init.htm b/tests/wpt/web-platform-tests/XMLHttpRequest/resources/init.htm
index 7c56d88800d..6f936c4fb28 100644
--- a/tests/wpt/web-platform-tests/XMLHttpRequest/resources/init.htm
+++ b/tests/wpt/web-platform-tests/XMLHttpRequest/resources/init.htm
@@ -4,6 +4,17 @@
support init file
-
+
diff --git a/tests/wpt/web-platform-tests/compat/webkit-text-fill-color-property-005-ref.html b/tests/wpt/web-platform-tests/compat/webkit-text-fill-color-property-005-ref.html
index f173137fabf..1391e38c1e1 100644
--- a/tests/wpt/web-platform-tests/compat/webkit-text-fill-color-property-005-ref.html
+++ b/tests/wpt/web-platform-tests/compat/webkit-text-fill-color-property-005-ref.html
@@ -5,9 +5,11 @@
Pass if text underline is green!!!
+
diff --git a/tests/wpt/web-platform-tests/compat/webkit-text-fill-color-property-005.html b/tests/wpt/web-platform-tests/compat/webkit-text-fill-color-property-005.html
index b3549d68b17..88ac17a8152 100644
--- a/tests/wpt/web-platform-tests/compat/webkit-text-fill-color-property-005.html
+++ b/tests/wpt/web-platform-tests/compat/webkit-text-fill-color-property-005.html
@@ -1,6 +1,6 @@
-webkit-text-fill-color should take effect while rendering text-decoration underline
+webkit-text-fill-color should not take effect while rendering text-decoration underline
@@ -8,10 +8,12 @@
Pass if text underline is green!!!
+
diff --git a/tests/wpt/web-platform-tests/cors/credentials-flag.htm b/tests/wpt/web-platform-tests/cors/credentials-flag.htm
index 42b37953ca4..bacd43c4ed5 100644
--- a/tests/wpt/web-platform-tests/cors/credentials-flag.htm
+++ b/tests/wpt/web-platform-tests/cors/credentials-flag.htm
@@ -17,6 +17,13 @@ var url = CROSSDOMAIN + 'resources/cors-cookie.py?ident='
* widthCredentials
*/
// XXX Do some https tests here as well
+
+test(function () {
+ var client = new XMLHttpRequest()
+ client.open('GET', CROSSDOMAIN, false)
+ client.withCredentials = true;
+}, 'Setting withCredentials on a sync XHR object should not throw')
+
async_test(function () {
var id = new Date().getTime() + '_1',
client = new XMLHttpRequest()
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/concepts/custom-elements-type-allowed-chars-first-char.html b/tests/wpt/web-platform-tests/custom-elements/v0/concepts/custom-elements-type-allowed-chars-first-char.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/concepts/custom-elements-type-allowed-chars-first-char.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/concepts/custom-elements-type-allowed-chars-first-char.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/concepts/custom-elements-type-allowed-chars.html b/tests/wpt/web-platform-tests/custom-elements/v0/concepts/custom-elements-type-allowed-chars.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/concepts/custom-elements-type-allowed-chars.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/concepts/custom-elements-type-allowed-chars.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/concepts/custom-elements-type-naming.html b/tests/wpt/web-platform-tests/custom-elements/v0/concepts/custom-elements-type-naming.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/concepts/custom-elements-type-naming.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/concepts/custom-elements-type-naming.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/creating-and-passing-registries/new-registry-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/creating-and-passing-registries/new-registry-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/creating-and-passing-registries/new-registry-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/creating-and-passing-registries/new-registry-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/creating-and-passing-registries/no-registry-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/creating-and-passing-registries/no-registry-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/creating-and-passing-registries/no-registry-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/creating-and-passing-registries/no-registry-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/creating-and-passing-registries/share-registry-create-document.html b/tests/wpt/web-platform-tests/custom-elements/v0/creating-and-passing-registries/share-registry-create-document.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/creating-and-passing-registries/share-registry-create-document.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/creating-and-passing-registries/share-registry-create-document.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/creating-and-passing-registries/share-registry-import-document.html b/tests/wpt/web-platform-tests/custom-elements/v0/creating-and-passing-registries/share-registry-import-document.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/creating-and-passing-registries/share-registry-import-document.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/creating-and-passing-registries/share-registry-import-document.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/enqueuing-and-invoking-callbacks/invoke-callbacks.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/enqueuing-and-invoking-callbacks/invoke-callbacks.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/enqueuing-and-invoking-callbacks/invoke-callbacks.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/enqueuing-and-invoking-callbacks/invoke-callbacks.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/attached-callback-move-element-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/attached-callback-move-element-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/attached-callback-move-element-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/attached-callback-move-element-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/attached-callback-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/attached-callback-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/attached-callback-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/attached-callback-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-change-attribute-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-change-attribute-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-change-attribute-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-change-attribute-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-remove-attribute-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-remove-attribute-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-remove-attribute-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-remove-attribute-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-set-attribute-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-set-attribute-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-set-attribute-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/attribute-changed-callback-set-attribute-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/created-callback-element-prototype-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/created-callback-element-prototype-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/created-callback-element-prototype-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/created-callback-element-prototype-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/created-callback-invocation-order-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/created-callback-invocation-order-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/created-callback-invocation-order-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/created-callback-invocation-order-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/created-callback-invocation-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/created-callback-invocation-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/created-callback-invocation-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/created-callback-invocation-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/detached-callback-move-element-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/detached-callback-move-element-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/detached-callback-move-element-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/detached-callback-move-element-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/detached-callback-no-browsing-context-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/detached-callback-no-browsing-context-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/detached-callback-no-browsing-context-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/detached-callback-no-browsing-context-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/detached-callback-with-browsing-context-test.html b/tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/detached-callback-with-browsing-context-test.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/custom-element-lifecycle/types-of-callbacks/detached-callback-with-browsing-context-test.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/custom-element-lifecycle/types-of-callbacks/detached-callback-with-browsing-context-test.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/changing-is-attribute.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/changing-is-attribute.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/changing-is-attribute.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/changing-is-attribute.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-constructor-is-attribute.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-constructor-is-attribute.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-constructor-is-attribute.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-constructor-is-attribute.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-constructor-local-name.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-constructor-local-name.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-constructor-local-name.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-constructor-local-name.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-constructor-namespace.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-constructor-namespace.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-constructor-namespace.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-constructor-namespace.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-constructor-node-document.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-constructor-node-document.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-constructor-node-document.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-constructor-node-document.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-constructor-prototype.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-constructor-prototype.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-constructor-prototype.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-constructor-prototype.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-prototype.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-prototype.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-prototype.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-prototype.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-type-is-attribute.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-type-is-attribute.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-type-is-attribute.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-type-is-attribute.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-type-local-name-and-is-attribute.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-type-local-name-and-is-attribute.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-type-local-name-and-is-attribute.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-type-local-name-and-is-attribute.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-type-local-name.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-type-local-name.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/custom-element-type-local-name.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/custom-element-type-local-name.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-interface-type-is-a-local-name.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-local-name.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-interface-type-is-a-local-name.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-local-name.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-interface-type-is-a-type-extension.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-type-extension.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-interface-type-is-a-type-extension.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-type-extension.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-is-attribute.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-is-attribute.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-is-attribute.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-is-attribute.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-namespace.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-namespace.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-namespace.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-namespace.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-type-extension-is-a-type.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-is-a-type.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-type-extension-is-a-type.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-is-a-type.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-type-extension-unresolved.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-unresolved.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-type-extension-unresolved.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-unresolved.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-type-is-a-local-name.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-is-a-local-name.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/create-element-type-is-a-local-name.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-is-a-local-name.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/created-callback-create-element-ns.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element-ns.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/created-callback-create-element-ns.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element-ns.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/created-callback-create-element.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/extensions-to-document-interface/created-callback-create-element.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/non-configurable-constructor-property.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/non-configurable-constructor-property.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/non-configurable-constructor-property.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/non-configurable-constructor-property.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/prototype-is-interface-prototype-object.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/prototype-is-interface-prototype-object.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/prototype-is-interface-prototype-object.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/prototype-is-interface-prototype-object.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/unchanged-attribute.html b/tests/wpt/web-platform-tests/custom-elements/v0/instantiating/unchanged-attribute.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/instantiating-custom-elements/unchanged-attribute.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/instantiating/unchanged-attribute.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-default-namespace.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-default-namespace.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-default-namespace.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-default-namespace.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-duplicate-definition.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-duplicate-definition.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-duplicate-definition.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-duplicate-definition.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-invalid-type.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-invalid-type.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-invalid-type.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-invalid-type.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-local-name-lowercased.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-local-name-lowercased.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-local-name-lowercased.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-local-name-lowercased.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-name-is-null.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-name-is-null.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-name-is-null.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-name-is-null.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-no-interface-for-name.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-no-interface-for-name.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-no-interface-for-name.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-no-interface-for-name.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-svg-namespace-name-is-null.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-svg-namespace-name-is-null.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-svg-namespace-name-is-null.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-svg-namespace-name-is-null.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-svg-namespace.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-svg-namespace.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-svg-namespace.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-svg-namespace.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-type-name-lowercased.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-type-name-lowercased.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/definition-construction-algorithm-type-name-lowercased.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/definition-construction-algorithm-type-name-lowercased.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/element-registration-algorithm-no-registry.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/element-registration-algorithm-no-registry.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/element-registration-algorithm-no-registry.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/element-registration-algorithm-no-registry.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/extensions-to-document-interface/custom-element-name.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/extensions-to-document-interface/custom-element-name.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/extensions-to-document-interface/custom-element-name.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/extensions-to-document-interface/custom-element-name.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/extensions-to-document-interface/custom-element-prototype.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/extensions-to-document-interface/custom-element-prototype.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/extensions-to-document-interface/custom-element-prototype.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/extensions-to-document-interface/custom-element-prototype.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-custom-tag-ref.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-custom-tag-ref.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-custom-tag-ref.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-custom-tag-ref.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-custom-tag.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-custom-tag.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-custom-tag.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-custom-tag.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-custom-tag-ref.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-custom-tag-ref.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-custom-tag-ref.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-custom-tag-ref.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-custom-tag.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-custom-tag.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-custom-tag.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-custom-tag.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-type-extension-ref.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-type-extension-ref.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-type-extension-ref.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-type-extension-ref.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-type-extension.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-type-extension.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-type-extension.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-registered-type-extension.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-type-extension-ref.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-type-extension-ref.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-type-extension-ref.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-type-extension-ref.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-type-extension.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-type-extension.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-type-extension.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-type-extension.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-matching-query-selector-all.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-matching-query-selector-all.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-matching-query-selector-all.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-matching-query-selector-all.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-matching-query-selector.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-matching-query-selector.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-matching-query-selector.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-element-pseudoclass/unresolved-element-pseudoclass-matching-query-selector.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-elements-interface-html-element.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-elements-interface-html-element.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-elements-interface-html-element.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-elements-interface-html-element.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-elements-interface-html-unknown-element.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-elements-interface-html-unknown-element.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-elements-interface-html-unknown-element.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-elements-interface-html-unknown-element.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-elements-interface-svg-element.html b/tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-elements-interface-svg-element.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/registering/unresolved-elements-interface-svg-element.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/registering/unresolved-elements-interface-svg-element.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/blank.html b/tests/wpt/web-platform-tests/custom-elements/v0/resources/blank.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/blank.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/resources/blank.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/import-master-async.html b/tests/wpt/web-platform-tests/custom-elements/v0/resources/import-master-async.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/import-master-async.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/resources/import-master-async.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/import-master.html b/tests/wpt/web-platform-tests/custom-elements/v0/resources/import-master.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/import-master.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/resources/import-master.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/import.html b/tests/wpt/web-platform-tests/custom-elements/v0/resources/import.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/import.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/resources/import.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/register-and-create-custom-element.html b/tests/wpt/web-platform-tests/custom-elements/v0/resources/register-and-create-custom-element.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/register-and-create-custom-element.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/resources/register-and-create-custom-element.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/x-element.html b/tests/wpt/web-platform-tests/custom-elements/v0/resources/x-element.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/x-element.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/resources/x-element.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/x-mathml-element.html b/tests/wpt/web-platform-tests/custom-elements/v0/resources/x-mathml-element.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/x-mathml-element.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/resources/x-mathml-element.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/x-svg-element.html b/tests/wpt/web-platform-tests/custom-elements/v0/resources/x-svg-element.html
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/resources/x-svg-element.html
rename to tests/wpt/web-platform-tests/custom-elements/v0/resources/x-svg-element.html
diff --git a/tests/wpt/web-platform-tests/custom-elements/pre-v1/testcommon.js b/tests/wpt/web-platform-tests/custom-elements/v0/testcommon.js
similarity index 100%
rename from tests/wpt/web-platform-tests/custom-elements/pre-v1/testcommon.js
rename to tests/wpt/web-platform-tests/custom-elements/v0/testcommon.js
diff --git a/tests/wpt/web-platform-tests/dom/nodes/Element-classlist.html b/tests/wpt/web-platform-tests/dom/nodes/Element-classlist.html
index d3d6deb040c..22b499e931f 100644
--- a/tests/wpt/web-platform-tests/dom/nodes/Element-classlist.html
+++ b/tests/wpt/web-platform-tests/dom/nodes/Element-classlist.html
@@ -377,6 +377,26 @@ test(function () {
assert_equals(secondelem.classList[0],'foo');
assert_equals(secondelem.classList[1],'bar');
}, 'classList must have [PutForwards=value]');
+test(function () {
+ var foo = document.createElement('div');
+ foo.className = 'a';
+ foo.classList.replace('token1', 'token2');
+
+ assert_equals(foo.className, 'a');
+
+ foo.classList.replace('a', 'b');
+ assert_equals(foo.className, 'b');
+
+ assert_throws('SYNTAX_ERR', function () { foo.classList.replace('t with space', '') });
+ assert_throws('INVALID_CHARACTER_ERR', function () { foo.classList.replace('t with space', 'foo') });
+ assert_throws('SYNTAX_ERR', function () { foo.classList.replace('', 'foo') });
+}, 'classList.replace should work');
+
+test(function() {
+ var foo = document.createElement('div');
+ assert_throws(new TypeError(),
+ function() { foo.classList.supports('hello') });
+}, 'classList.supports should throw');
diff --git a/tests/wpt/web-platform-tests/domparsing/OWNERS b/tests/wpt/web-platform-tests/domparsing/OWNERS
index 113c79d205d..8aeebafa5f5 100644
--- a/tests/wpt/web-platform-tests/domparsing/OWNERS
+++ b/tests/wpt/web-platform-tests/domparsing/OWNERS
@@ -2,4 +2,3 @@
@ChrisParis
@deniak
@jdm
-@Ms2ger
diff --git a/tests/wpt/web-platform-tests/domparsing/createContextualFragment.html b/tests/wpt/web-platform-tests/domparsing/createContextualFragment.html
new file mode 100644
index 00000000000..ce7d813583c
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/createContextualFragment.html
@@ -0,0 +1,131 @@
+
+createContextualFragment() tests
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/domparsing/innerhtml-01.xhtml b/tests/wpt/web-platform-tests/domparsing/innerhtml-01.xhtml
new file mode 100644
index 00000000000..432cfbf41f5
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/innerhtml-01.xhtml
@@ -0,0 +1,28 @@
+
+
+innerHTML in XHTML: getting while the document is in an invalid state
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/domparsing/innerhtml-03.xhtml b/tests/wpt/web-platform-tests/domparsing/innerhtml-03.xhtml
new file mode 100644
index 00000000000..313531e49cd
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/innerhtml-03.xhtml
@@ -0,0 +1,59 @@
+
+
+
+innerHTML in XHTML
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/domparsing/innerhtml-04.html b/tests/wpt/web-platform-tests/domparsing/innerhtml-04.html
new file mode 100644
index 00000000000..32c921d235d
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/innerhtml-04.html
@@ -0,0 +1,24 @@
+
+innerHTML in HTML
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/domparsing/innerhtml-05.xhtml b/tests/wpt/web-platform-tests/domparsing/innerhtml-05.xhtml
new file mode 100644
index 00000000000..da2d8515952
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/innerhtml-05.xhtml
@@ -0,0 +1,26 @@
+
+
+innerHTML in XHTML
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/domparsing/innerhtml-06.html b/tests/wpt/web-platform-tests/domparsing/innerhtml-06.html
new file mode 100644
index 00000000000..81e9c57b5ce
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/innerhtml-06.html
@@ -0,0 +1,19 @@
+
+
+
+math in html: innerHTML
+
+
+
+
+
math in html: innerHTML
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/domparsing/innerhtml-07.html b/tests/wpt/web-platform-tests/domparsing/innerhtml-07.html
new file mode 100644
index 00000000000..9e313a2cb01
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/innerhtml-07.html
@@ -0,0 +1,49 @@
+
+innerHTML and string conversion
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/domparsing/insert_adjacent_html.html b/tests/wpt/web-platform-tests/domparsing/insert_adjacent_html.html
new file mode 100644
index 00000000000..dfe624f03ad
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/insert_adjacent_html.html
@@ -0,0 +1,94 @@
+
+
+
+ insertAdjacentHTML in HTML
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/domparsing/insert_adjacent_html.js b/tests/wpt/web-platform-tests/domparsing/insert_adjacent_html.js
new file mode 100644
index 00000000000..2451228d193
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/insert_adjacent_html.js
@@ -0,0 +1,33 @@
+function testThrowingNoParent(element, desc) {
+ test(function() {
+ assert_throws("NO_MODIFICATION_ALLOWED_ERR",
+ function() { element.insertAdjacentHTML("afterend", "") }
+ );
+ assert_throws("NO_MODIFICATION_ALLOWED_ERR",
+ function() { element.insertAdjacentHTML("beforebegin", "") }
+ );
+ assert_throws("NO_MODIFICATION_ALLOWED_ERR",
+ function() { element.insertAdjacentHTML("afterend", "foo") }
+ );
+ assert_throws("NO_MODIFICATION_ALLOWED_ERR",
+ function() { element.insertAdjacentHTML("beforebegin", "foo") }
+ );
+ }, "When the parent node is " + desc + ", insertAdjacentHTML should throw for beforebegin and afterend (text)");
+ test(function() {
+ assert_throws("NO_MODIFICATION_ALLOWED_ERR",
+ function() { element.insertAdjacentHTML("afterend", "") }
+ );
+ assert_throws("NO_MODIFICATION_ALLOWED_ERR",
+ function() { element.insertAdjacentHTML("beforebegin", "") }
+ );
+ }, "When the parent node is " + desc + ", insertAdjacentHTML should throw for beforebegin and afterend (comments)");
+ test(function() {
+ assert_throws("NO_MODIFICATION_ALLOWED_ERR",
+ function() { element.insertAdjacentHTML("afterend", "") }
+ );
+ assert_throws("NO_MODIFICATION_ALLOWED_ERR",
+ function() { element.insertAdjacentHTML("beforebegin", "") }
+ );
+ }, "When the parent node is " + desc + ", insertAdjacentHTML should throw for beforebegin and afterend (elements)");
+}
+
diff --git a/tests/wpt/web-platform-tests/domparsing/insert_adjacent_html.xhtml b/tests/wpt/web-platform-tests/domparsing/insert_adjacent_html.xhtml
new file mode 100644
index 00000000000..eadf10e2c1f
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/insert_adjacent_html.xhtml
@@ -0,0 +1,91 @@
+
+
+ insertAdjacentHTML in HTML
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/domparsing/outerhtml-01.html b/tests/wpt/web-platform-tests/domparsing/outerhtml-01.html
new file mode 100644
index 00000000000..2e8072e49f9
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/outerhtml-01.html
@@ -0,0 +1,15 @@
+
+outerHTML: child of #document
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/domparsing/outerhtml-02.html b/tests/wpt/web-platform-tests/domparsing/outerhtml-02.html
new file mode 100644
index 00000000000..7b69fbf6724
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/outerhtml-02.html
@@ -0,0 +1,54 @@
+
+outerHTML and string conversion
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/domparsing/xml-serialization.xhtml b/tests/wpt/web-platform-tests/domparsing/xml-serialization.xhtml
new file mode 100644
index 00000000000..678523d1e9d
--- /dev/null
+++ b/tests/wpt/web-platform-tests/domparsing/xml-serialization.xhtml
@@ -0,0 +1,91 @@
+
+
+ XML serialization
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/fetch/api/request/request-init-001.sub.html b/tests/wpt/web-platform-tests/fetch/api/request/request-init-001.sub.html
index 92206b45128..b41f6f0fe71 100644
--- a/tests/wpt/web-platform-tests/fetch/api/request/request-init-001.sub.html
+++ b/tests/wpt/web-platform-tests/fetch/api/request/request-init-001.sub.html
@@ -29,14 +29,14 @@
var referrerPolicies = {"givenValues" : [ "",
"no-referrer",
"no-referrer-when-downgrade",
- "origin-only",
+ "origin",
"origin-when-cross-origin",
"unsafe-url"
],
"expectedValues" : ["",
"no-referrer",
"no-referrer-when-downgrade",
- "origin-only",
+ "origin",
"origin-when-cross-origin",
"unsafe-url"
]
diff --git a/tests/wpt/web-platform-tests/fetch/api/request/request-init-003.sub.html b/tests/wpt/web-platform-tests/fetch/api/request/request-init-003.sub.html
index 41bafebb18d..12181a21970 100644
--- a/tests/wpt/web-platform-tests/fetch/api/request/request-init-003.sub.html
+++ b/tests/wpt/web-platform-tests/fetch/api/request/request-init-003.sub.html
@@ -17,7 +17,7 @@
var initValuesDict = {"method" : "POST",
"referrer" : "http://{{host}}:{{ports[http][0]}}/",
- "referrerPolicy" : "origin-only",
+ "referrerPolicy" : "origin",
"mode" : "same-origin",
"credentials" : "include",
"cache" : "no-cache",
@@ -29,7 +29,7 @@
var expectedInitialized = {"method" : "POST",
"referrer" : "http://{{host}}:{{ports[http][0]}}/",
- "referrerPolicy" : "origin-only",
+ "referrerPolicy" : "origin",
"mode" : "same-origin",
"credentials" : "include",
"cache" : "no-cache",
diff --git a/tests/wpt/web-platform-tests/hr-time/basic.html b/tests/wpt/web-platform-tests/hr-time/basic.html
index a10548fc94a..cc26d242f96 100644
--- a/tests/wpt/web-platform-tests/hr-time/basic.html
+++ b/tests/wpt/web-platform-tests/hr-time/basic.html
@@ -28,12 +28,12 @@ async_test(function() {
// Check whether the performance.now() method is close to Date() within 30ms (due to inaccuracies)
var initial_hrt = performance.now();
var initial_date = Date.now();
- setTimeout(this.step_func(function() {
+ this.step_timeout(function() {
var final_hrt = performance.now();
var final_date = Date.now();
assert_approx_equals(final_hrt - initial_hrt, final_date - initial_date, 30, 'High resolution time value increased by approximately the same amount as time from date object');
this.done();
- }), 2000);
+ }, 2000);
}, 'High resolution time has approximately the right relative magnitude');
diff --git a/tests/wpt/web-platform-tests/hr-time/test_cross_frame_start.html b/tests/wpt/web-platform-tests/hr-time/test_cross_frame_start.html
index 4633a73843e..30e804bd735 100644
--- a/tests/wpt/web-platform-tests/hr-time/test_cross_frame_start.html
+++ b/tests/wpt/web-platform-tests/hr-time/test_cross_frame_start.html
@@ -12,13 +12,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/html/browsers/history/the-location-interface/cross_origin_joined_frame.sub.html b/tests/wpt/web-platform-tests/html/browsers/history/the-location-interface/cross_origin_joined_frame.sub.html
new file mode 100644
index 00000000000..a3ffdd005af
--- /dev/null
+++ b/tests/wpt/web-platform-tests/html/browsers/history/the-location-interface/cross_origin_joined_frame.sub.html
@@ -0,0 +1,15 @@
+
+
+
+
+ Cross-origin subframe for Location cyclic [[Prototype]] test
+
+
+
+
+
+
Cross-origin iframe with joined document.domain
+
+
diff --git a/tests/wpt/web-platform-tests/html/browsers/history/the-location-interface/same_origin_frame.html b/tests/wpt/web-platform-tests/html/browsers/history/the-location-interface/same_origin_frame.html
new file mode 100644
index 00000000000..953e696b2ab
--- /dev/null
+++ b/tests/wpt/web-platform-tests/html/browsers/history/the-location-interface/same_origin_frame.html
@@ -0,0 +1,12 @@
+
+
+
+
+ Same-origin subframe for Location cyclic [[Prototype]] test
+
+
+
+
+
Same-origin iframe
+
+
diff --git a/tests/wpt/web-platform-tests/html/dom/interfaces.html b/tests/wpt/web-platform-tests/html/dom/interfaces.html
index b0120c05634..9886e7538f4 100644
--- a/tests/wpt/web-platform-tests/html/dom/interfaces.html
+++ b/tests/wpt/web-platform-tests/html/dom/interfaces.html
@@ -3215,7 +3215,11 @@ window.onload = function() {
HTMLHeadingElement: ['document.createElement("h1")'],
HTMLParagraphElement: ['document.createElement("p")'],
HTMLHRElement: ['document.createElement("hr")'],
- HTMLPreElement: ['document.createElement("pre")'],
+ HTMLPreElement: [
+ 'document.createElement("pre")',
+ 'document.createElement("listing")',
+ 'document.createElement("xmp")',
+ ],
HTMLQuoteElement: [
'document.createElement("blockquote")',
'document.createElement("q")',
diff --git a/tests/wpt/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-01.html b/tests/wpt/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-01.html
index 8e2fbe7b002..38364cd3e65 100644
--- a/tests/wpt/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-01.html
+++ b/tests/wpt/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-01.html
@@ -8,11 +8,46 @@
diff --git a/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank.html b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank.html
new file mode 100644
index 00000000000..54c4794549a
--- /dev/null
+++ b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-base-element/base_about_blank.html
@@ -0,0 +1,19 @@
+
+
+base element in about:blank document should resolve against its fallback base URI
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid.html b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid.html
new file mode 100644
index 00000000000..6d12d29e8a9
--- /dev/null
+++ b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-base-element/base_href_invalid.html
@@ -0,0 +1,12 @@
+
+
+base element with unparseable href should have .href getter return attr value
+
+
+
diff --git a/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc.html b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc.html
new file mode 100644
index 00000000000..eea1efe51d3
--- /dev/null
+++ b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-base-element/base_srcdoc.html
@@ -0,0 +1,19 @@
+
+
+base element in srcdoc document should resolve against its fallback base URI
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/link-rellist.html b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/link-rellist.html
index 8d11f1e5ccc..41496519514 100644
--- a/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/link-rellist.html
+++ b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/link-rellist.html
@@ -19,5 +19,7 @@ test(function() {
assert_equals(list.contains(NaN), true); //"NaN"
assert_equals(list.contains(+Infinity), true); //"Infinity"
assert_equals(list.contains(-Infinity), false); //"-Infinity"
+ assert_equals(list.supports("stylesheet"), true);
+ assert_equals(list.supports("nosuchrelvalueever"), false);
});
diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/kind.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/kind.html
index 4f1ba31e160..78c3bff51a2 100644
--- a/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/kind.html
+++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/kind.html
@@ -13,7 +13,7 @@ test(function(){
test(function(){
var track = document.createElement('track');
track.setAttribute('kind', 'invalid');
- assert_equals(track.kind, 'subtitles');
+ assert_equals(track.kind, 'metadata');
assert_equals(track.getAttribute('kind'), 'invalid');
}, document.title + ' invalid value in content attribute');
@@ -27,14 +27,14 @@ test(function(){
test(function(){
var track = document.createElement('track');
track.setAttribute('kind', 'CAPT\u0130ONS');
- assert_equals(track.kind, 'subtitles');
+ assert_equals(track.kind, 'metadata');
assert_equals(track.getAttribute('kind'), 'CAPT\u0130ONS');
}, document.title + ' content attribute with uppercase turkish I (with dot)');
test(function(){
var track = document.createElement('track');
track.setAttribute('kind', 'capt\u0131ons');
- assert_equals(track.kind, 'subtitles');
+ assert_equals(track.kind, 'metadata');
assert_equals(track.getAttribute('kind'), 'capt\u0131ons');
}, document.title + ' content attribute with lowercase turkish i (dotless)');
@@ -76,7 +76,7 @@ test(function(){
test(function(){
var track = document.createElement('track');
track.setAttribute('kind', 'captions\u0000');
- assert_equals(track.kind, 'subtitles');
+ assert_equals(track.kind, 'metadata');
assert_equals(track.getAttribute('kind'), 'captions\u0000');
}, document.title + ' content attribute "captions\\u0000"');
@@ -126,21 +126,21 @@ test(function(){
var track = document.createElement('track');
track.kind = 'CAPT\u0130ONS';
assert_equals(track.getAttribute('kind'), 'CAPT\u0130ONS');
- assert_equals(track.kind, 'subtitles');
+ assert_equals(track.kind, 'metadata');
}, document.title + ' setting IDL attribute with uppercase turkish I (with dot)');
test(function(){
var track = document.createElement('track');
track.kind = 'capt\u0131ons';
assert_equals(track.getAttribute('kind'), 'capt\u0131ons');
- assert_equals(track.kind, 'subtitles');
+ assert_equals(track.kind, 'metadata');
}, document.title + ' setting IDL attribute with lowercase turkish I (dotless)');
test(function(){
var track = document.createElement('track');
track.kind = 'captions\u0000';
assert_equals(track.getAttribute('kind'), 'captions\u0000');
- assert_equals(track.kind, 'subtitles');
+ assert_equals(track.kind, 'metadata');
}, document.title + ' setting IDL attribute with \\u0000');
diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrack/kind.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrack/kind.html
index d91373d860b..d5dbc8342c0 100644
--- a/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrack/kind.html
+++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/TextTrack/kind.html
@@ -26,6 +26,6 @@ test(function(){
test(function(){
var track = document.createElement('track');
track.kind = 'captions\u0000';
- assert_equals(track.track.kind, 'subtitles');
+ assert_equals(track.track.kind, 'metadata');
}, document.title+', \\u0000');
diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event.html
new file mode 100644
index 00000000000..d245bf0b964
--- /dev/null
+++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-load-event.html
@@ -0,0 +1,48 @@
+
+
+Test some sanity behavior around iframe load/error events
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html
index a30ae6e89ad..c8e09e8d0b8 100644
--- a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html
+++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html
@@ -89,8 +89,15 @@
-
-
+
+
+
+
+
+
+
+
+
@@ -352,11 +359,35 @@ onload = function() {
}), 0);
}, 'timeout');
- t('picture is inserted', function(img) {
+ t('picture is inserted; img has src', function(img) {
img.parentNode.nextSibling.appendChild(img.parentNode);
}, 'timeout');
- t('picture is removed', function(img) {
+ t('picture is inserted; img has srcset', function(img) {
+ img.parentNode.nextSibling.appendChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is inserted; img has previous sibling source', function(img) {
+ img.parentNode.nextSibling.appendChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is inserted; img has following sibling source', function(img) {
+ img.parentNode.nextSibling.appendChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is removed; img has src', function(img) {
+ img.parentNode.parentNode.removeChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is removed; img has srcset', function(img) {
+ img.parentNode.parentNode.removeChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is removed; img has previous sibling source', function(img) {
+ img.parentNode.parentNode.removeChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is removed; img has following sibling source', function(img) {
img.parentNode.parentNode.removeChild(img.parentNode);
}, 'timeout');
diff --git a/tests/wpt/web-platform-tests/html/semantics/forms/the-input-element/checkbox.html b/tests/wpt/web-platform-tests/html/semantics/forms/the-input-element/checkbox.html
index 0c07fdd4a40..4efe83b52a5 100644
--- a/tests/wpt/web-platform-tests/html/semantics/forms/the-input-element/checkbox.html
+++ b/tests/wpt/web-platform-tests/html/semantics/forms/the-input-element/checkbox.html
@@ -40,7 +40,7 @@
assert_true(c1_click_fired, "input event should fire after click event");
assert_false(c1_change_fired, "input event should fire before change event");
assert_true(e.bubbles, "event should bubble");
- assert_false(e.isTrusted, "click()-initiated event should not be trusted");
+ assert_true(e.isTrusted, "click()-initiated event should be trusted");
assert_false(e.cancelable, "event should not be cancelable");
assert_true(checkbox1.checked, "checkbox is checked");
assert_false(checkbox1.indeterminate, "checkbox is not indeterminate");
@@ -51,7 +51,7 @@
assert_true(c1_click_fired, "change event should fire after click event");
assert_true(c1_input_fired, "change event should fire after input event");
assert_true(e.bubbles, "event should bubble")
- assert_false(e.isTrusted, "click()-initiated event should not be trusted");
+ assert_true(e.isTrusted, "click()-initiated event should be trusted");
assert_false(e.cancelable, "event should not be cancelable");
assert_true(checkbox1.checked, "checkbox is checked");
assert_false(checkbox1.indeterminate, "checkbox is not indeterminate");
diff --git a/tests/wpt/web-platform-tests/html/syntax/serializing-html-fragments/serializing.html b/tests/wpt/web-platform-tests/html/syntax/serializing-html-fragments/serializing.html
new file mode 100644
index 00000000000..8303901f652
--- /dev/null
+++ b/tests/wpt/web-platform-tests/html/syntax/serializing-html-fragments/serializing.html
@@ -0,0 +1,332 @@
+
+innerHTML in HTML
+
+
+
+
+
+