diff --git a/testing/web-platform/meta/MANIFEST.json b/testing/web-platform/meta/MANIFEST.json
index 349b3b074c07..28d3c7011aff 100644
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -8983,10 +8983,6 @@
"path": "IndexedDB/index_sort_order.htm",
"url": "/IndexedDB/index_sort_order.htm"
},
- {
- "path": "IndexedDB/interfaces.htm",
- "url": "/IndexedDB/interfaces.htm"
- },
{
"path": "IndexedDB/interfaces.html",
"url": "/IndexedDB/interfaces.html"
@@ -10759,6 +10755,10 @@
"path": "dom/nodes/Text-constructor.html",
"url": "/dom/nodes/Text-constructor.html"
},
+ {
+ "path": "dom/nodes/Text-splitText.html",
+ "url": "/dom/nodes/Text-splitText.html"
+ },
{
"path": "dom/nodes/attributes.html",
"url": "/dom/nodes/attributes.html"
@@ -11803,6 +11803,10 @@
"path": "html/dom/documents/dom-tree-accessors/document.title-08.html",
"url": "/html/dom/documents/dom-tree-accessors/document.title-08.html"
},
+ {
+ "path": "html/dom/documents/dom-tree-accessors/document.title-09.html",
+ "url": "/html/dom/documents/dom-tree-accessors/document.title-09.html"
+ },
{
"path": "html/dom/documents/dom-tree-accessors/nameditem-01.html",
"url": "/html/dom/documents/dom-tree-accessors/nameditem-01.html"
@@ -16896,8 +16900,8 @@
"url": "/web-animations/animation-node/idlharness.html"
},
{
- "path": "web-animations/animation-timeline/animation-timeline.html",
- "url": "/web-animations/animation-timeline/animation-timeline.html"
+ "path": "web-animations/animation-timeline/document-timeline.html",
+ "url": "/web-animations/animation-timeline/document-timeline.html"
},
{
"path": "web-animations/animation-timeline/idlharness.html",
@@ -24821,7 +24825,7 @@
}
]
},
- "rev": "20aef05e164be1ccbbd8f66192f01e778b5e5c18",
+ "rev": "40a9c4e9e4f99a738cd1a7602066c5e84d1b90b5",
"url_base": "/",
"version": 2
}
\ No newline at end of file
diff --git a/testing/web-platform/meta/mozilla-sync b/testing/web-platform/meta/mozilla-sync
index af73402b0de1..a3063f835a9f 100644
--- a/testing/web-platform/meta/mozilla-sync
+++ b/testing/web-platform/meta/mozilla-sync
@@ -1 +1 @@
-821cd0c3a55889f05c04ed9b6c12c810cd1a6c0f
\ No newline at end of file
+eb7ac376c982330bc85c58e68fffc55aabef604c
\ No newline at end of file
diff --git a/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm b/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm
index 20b4890382da..10c04b6a8a73 100644
--- a/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm
+++ b/testing/web-platform/tests/IndexedDB/idbobjectstore_createIndex6-event_order.htm
@@ -11,6 +11,9 @@
-
-
-
-
-
-
diff --git a/testing/web-platform/tests/battery-status/battery-interface.js b/testing/web-platform/tests/battery-status/battery-interface.js
index 7542dc965fbc..7aac89381297 100644
--- a/testing/web-platform/tests/battery-status/battery-interface.js
+++ b/testing/web-platform/tests/battery-status/battery-interface.js
@@ -144,13 +144,6 @@
assert_equals(battery.onchargingchange, null, desc);
}, 'onchargingchange: treat array as null');
- test(function() {
- var desc = 'onchargingchange did not treat noncallable host object as null';
- battery.onchargingchange = function() {};
- battery.onchargingchange = Node;
- assert_equals(battery.onchargingchange, null, desc);
- }, 'onchargingchange: treat non-callable host object as null');
-
// attribute EventHandler onchargingtimechange;
test(function() {
@@ -214,13 +207,6 @@
assert_equals(battery.onchargingtimechange, null, desc);
}, 'onchargingtimechange: treat array as null');
- test(function() {
- var desc = 'onchargingtimechange did not treat noncallable host object as null';
- battery.onchargingtimechange = function() {};
- battery.onchargingtimechange = Node;
- assert_equals(battery.onchargingtimechange, null, desc);
- }, 'onchargingtimechange: treat non-callable host object as null');
-
// attribute EventHandler ondischargingtimechange;
test(function() {
@@ -284,13 +270,6 @@
assert_equals(battery.ondischargingtimechange, null, desc);
}, 'ondischargingtimechange: treat array as null');
- test(function() {
- var desc = 'ondischargingtimechange did not treat noncallable host object as null';
- battery.ondischargingtimechange = function() {};
- battery.ondischargingtimechange = Node;
- assert_equals(battery.ondischargingtimechange, null, desc);
- }, 'ondischargingtimechange: treat non-callable host object as null');
-
// attribute EventHandler onlevelchange;
test(function() {
@@ -354,13 +333,6 @@
assert_equals(battery.onlevelchange, null, desc);
}, 'onlevelchange: treat array as null');
- test(function() {
- var desc = 'onlevelchange did not treat noncallable host object as null';
- battery.onlevelchange = function() {};
- battery.onlevelchange = Node;
- assert_equals(battery.onlevelchange, null, desc);
- }, 'onlevelchange: treat non-callable host object as null');
-
done();
}, function () {});
diff --git a/testing/web-platform/tests/dom/nodes/CharacterData-appendData.html b/testing/web-platform/tests/dom/nodes/CharacterData-appendData.html
index 464a119a03df..d754218bfb1f 100644
--- a/testing/web-platform/tests/dom/nodes/CharacterData-appendData.html
+++ b/testing/web-platform/tests/dom/nodes/CharacterData-appendData.html
@@ -24,6 +24,14 @@ function testNode(create, type) {
assert_equals(node.data, "test")
}, type + ".appendData('')")
+ test(function() {
+ var node = create()
+ assert_equals(node.data, "test")
+ node.appendData(", append more 資料,測試資料");
+ assert_equals(node.data, "test, append more 資料,測試資料");
+ assert_equals(node.length, 25);
+ }, type + ".appendData(non-ASCII)")
+
test(function() {
var node = create()
assert_equals(node.data, "test")
diff --git a/testing/web-platform/tests/dom/nodes/CharacterData-deleteData.html b/testing/web-platform/tests/dom/nodes/CharacterData-deleteData.html
index 25654bafedc6..ef31a79dcf48 100644
--- a/testing/web-platform/tests/dom/nodes/CharacterData-deleteData.html
+++ b/testing/web-platform/tests/dom/nodes/CharacterData-deleteData.html
@@ -7,22 +7,79 @@
diff --git a/testing/web-platform/tests/dom/nodes/CharacterData-insertData.html b/testing/web-platform/tests/dom/nodes/CharacterData-insertData.html
index a1f1b390c0ed..983e791dca2d 100644
--- a/testing/web-platform/tests/dom/nodes/CharacterData-insertData.html
+++ b/testing/web-platform/tests/dom/nodes/CharacterData-insertData.html
@@ -7,22 +7,74 @@
diff --git a/testing/web-platform/tests/dom/nodes/Text-splitText.html b/testing/web-platform/tests/dom/nodes/Text-splitText.html
new file mode 100644
index 000000000000..aec1cee52ed5
--- /dev/null
+++ b/testing/web-platform/tests/dom/nodes/Text-splitText.html
@@ -0,0 +1,53 @@
+
+
+Text.splitText()
+
+
+
+
+
diff --git a/testing/web-platform/tests/encoding/api-invalid-label.html b/testing/web-platform/tests/encoding/api-invalid-label.html
index 04f939a789d8..2f2fd6eb0c68 100644
--- a/testing/web-platform/tests/encoding/api-invalid-label.html
+++ b/testing/web-platform/tests/encoding/api-invalid-label.html
@@ -2,13 +2,32 @@
Encoding API: invalid label
+
diff --git a/testing/web-platform/tests/encoding/resources/text-plain-charset.py b/testing/web-platform/tests/encoding/resources/text-plain-charset.py
new file mode 100644
index 000000000000..a1c07e70189b
--- /dev/null
+++ b/testing/web-platform/tests/encoding/resources/text-plain-charset.py
@@ -0,0 +1,3 @@
+def main(request, response):
+ response.headers.set("Content-Type", "text/plain;charset=" + request.GET.first("label"))
+ response.content = "hello encoding"
diff --git a/testing/web-platform/tests/encoding/single-byte-decoder.html b/testing/web-platform/tests/encoding/single-byte-decoder.html
index 62e34cfb3069..eb463e1add8e 100644
--- a/testing/web-platform/tests/encoding/single-byte-decoder.html
+++ b/testing/web-platform/tests/encoding/single-byte-decoder.html
@@ -86,7 +86,7 @@
async_test(function(t) {
var frame = document.createElement("iframe"),
name = compatibility_names[encoding.name] || encoding.name;
- frame.src = "resources/single-byte-raw.py?label=" + label
+ frame.src = "resources/text-plain-charset.py?label=" + label
frame.onload = t.step_func_done(function() {
assert_equals(frame.contentDocument.characterSet, name)
assert_equals(frame.contentDocument.inputEncoding, name)
diff --git a/testing/web-platform/tests/encoding/textdecoder-labels.html b/testing/web-platform/tests/encoding/textdecoder-labels.html
index 5a56ff9cb6db..1f3202c963eb 100644
--- a/testing/web-platform/tests/encoding/textdecoder-labels.html
+++ b/testing/web-platform/tests/encoding/textdecoder-labels.html
@@ -4,22 +4,33 @@
diff --git a/testing/web-platform/tests/html/dom/documents/dom-tree-accessors/document.title-09.html b/testing/web-platform/tests/html/dom/documents/dom-tree-accessors/document.title-09.html
new file mode 100644
index 000000000000..731d78cc14f3
--- /dev/null
+++ b/testing/web-platform/tests/html/dom/documents/dom-tree-accessors/document.title-09.html
@@ -0,0 +1,60 @@
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/html/dom/documents/dom-tree-accessors/nameditem-06.html b/testing/web-platform/tests/html/dom/documents/dom-tree-accessors/nameditem-06.html
index 1ff039915e1b..843acbd8dad1 100644
--- a/testing/web-platform/tests/html/dom/documents/dom-tree-accessors/nameditem-06.html
+++ b/testing/web-platform/tests/html/dom/documents/dom-tree-accessors/nameditem-06.html
@@ -63,9 +63,7 @@ test(function() {
assert_equals(img2.id, "test4");
assert_false("test4" in document, '"test4" in document should be false');
- var collection = document.test4;
- assert_class_string(collection, "HTMLCollection", "collection should be an HTMLCollection");
- assert_array_equals(collection, [img1, img2]);
+ assert_equals(document.test4, undefined);
}, "If there are two imgs, nothing should be returned. (id)");
test(function() {
diff --git a/testing/web-platform/tests/html/dom/reflection.js b/testing/web-platform/tests/html/dom/reflection.js
index 4010d7e30480..7bd41d516225 100644
--- a/testing/web-platform/tests/html/dom/reflection.js
+++ b/testing/web-platform/tests/html/dom/reflection.js
@@ -373,7 +373,7 @@ ReflectionTests.typeMap = {
{toString:function() {return 2;}, valueOf: null},
{valueOf:function() {return 3;}}],
"domExpected": function(val) {
- var parsed = ReflectionTests.parseNonneg(val + "");
+ var parsed = ReflectionTests.parseNonneg(String(val));
if (parsed === false || parsed > maxInt || parsed < minInt) {
return null;
}
@@ -409,7 +409,7 @@ ReflectionTests.typeMap = {
{toString:function() {return 2;}, valueOf: null},
{valueOf:function() {return 3;}}],
"domExpected": function(val) {
- var parsed = ReflectionTests.parseNonneg(val + "");
+ var parsed = ReflectionTests.parseNonneg(String(val));
// Note maxInt, not maxUnsigned.
if (parsed === false || parsed < 0 || parsed > maxInt) {
return null;
@@ -450,7 +450,7 @@ ReflectionTests.typeMap = {
{toString:function() {return 2;}, valueOf: null},
{valueOf:function() {return 3;}}],
"domExpected": function(val) {
- var parsed = ReflectionTests.parseNonneg(val + "");
+ var parsed = ReflectionTests.parseNonneg(String(val));
// Note maxInt, not maxUnsigned.
if (parsed === false || parsed < 1 || parsed > maxInt) {
return null;
@@ -696,7 +696,7 @@ ReflectionTests.doReflects = function(data, idlName, idlObj, domName, domObj) {
}
try {
domObj.setAttribute(domName, domTests[i]);
- ReflectionHarness.test(domObj.getAttribute(domName), domTests[i] + "", "setAttribute() to " + ReflectionHarness.stringRep(domTests[i]) + " followed by getAttribute()");
+ ReflectionHarness.test(domObj.getAttribute(domName), String(domTests[i]), "setAttribute() to " + ReflectionHarness.stringRep(domTests[i]) + " followed by getAttribute()");
ReflectionHarness.test(idlObj[idlName], domExpected[i], "setAttribute() to " + ReflectionHarness.stringRep(domTests[i]) + " followed by IDL get");
if (ReflectionHarness.catchUnexpectedExceptions) {
ReflectionHarness.success();
diff --git a/testing/web-platform/tests/html/semantics/interfaces.html b/testing/web-platform/tests/html/semantics/interfaces.html
index d3b2a23e27cd..c08fea82e523 100644
--- a/testing/web-platform/tests/html/semantics/interfaces.html
+++ b/testing/web-platform/tests/html/semantics/interfaces.html
@@ -9,22 +9,25 @@
diff --git a/testing/web-platform/tests/html/semantics/interfaces.js b/testing/web-platform/tests/html/semantics/interfaces.js
index 5f5d2d908fab..3609e36bf483 100644
--- a/testing/web-platform/tests/html/semantics/interfaces.js
+++ b/testing/web-platform/tests/html/semantics/interfaces.js
@@ -134,5 +134,6 @@ var elements = [
["dialog", "Dialog"],
["figcaption", ""],
["summary", ""],
- ["track", "Track"]
+ ["track", "Track"],
+ ["foo", "Unknown"]
];
diff --git a/testing/web-platform/tests/media-source/mediasource-config-changes.js b/testing/web-platform/tests/media-source/mediasource-config-changes.js
index 586e25f2b305..2ccc1e1a05d1 100644
--- a/testing/web-platform/tests/media-source/mediasource-config-changes.js
+++ b/testing/web-platform/tests/media-source/mediasource-config-changes.js
@@ -97,5 +97,5 @@ function mediaSourceConfigChangeTest(directory, idA, idB, description)
});
});
});
- }, description, { timeout: 10000 } );
+ }, description);
};
diff --git a/testing/web-platform/tests/media-source/mediasource-duration.html b/testing/web-platform/tests/media-source/mediasource-duration.html
index ca6b25de73fc..c0a33f3421c8 100644
--- a/testing/web-platform/tests/media-source/mediasource-duration.html
+++ b/testing/web-platform/tests/media-source/mediasource-duration.html
@@ -211,7 +211,7 @@
test.done();
});
});
- }, 'Test setting same duration multiple times does not fire duplicate durationchange', {timeout: 2500});
+ }, 'Test setting same duration multiple times does not fire duplicate durationchange');