mirror of
https://github.com/servo/servo.git
synced 2025-08-22 13:55:34 +01:00
Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d
This commit is contained in:
parent
c45192614c
commit
775b784f79
2144 changed files with 58115 additions and 29658 deletions
|
@ -263,7 +263,7 @@ document_types().forEach(function (entry, testNumber) {
|
|||
return;
|
||||
|
||||
var getDocument = entry.create;
|
||||
var docuemntName = entry.name;
|
||||
var documentName = entry.name;
|
||||
|
||||
promise_test(function () {
|
||||
return getDocument().then(function (doc) {
|
||||
|
@ -282,7 +282,7 @@ document_types().forEach(function (entry, testNumber) {
|
|||
assert_equals(instance.localName, name);
|
||||
assert_true(instance instanceof HTMLUnknownElement);
|
||||
});
|
||||
}, 'document.createElement must report a NotSupportedError when the element is adopted into a ' + docuemntName + ' during construction');
|
||||
}, `document.createElement must report a NotSupportedError when the element is adopted into a ${documentName} during construction`);
|
||||
|
||||
promise_test(function () {
|
||||
return getDocument().then(function (doc) {
|
||||
|
@ -301,7 +301,7 @@ document_types().forEach(function (entry, testNumber) {
|
|||
assert_equals(instance.localName, name);
|
||||
assert_true(instance instanceof HTMLUnknownElement);
|
||||
});
|
||||
}, 'document.createElement must report a NotSupportedError when the element is inserted into a ' + docuemntName + ' during construction');
|
||||
}, `document.createElement must report a NotSupportedError when the element is inserted into a ${documentName} during construction`);
|
||||
|
||||
promise_test(function () {
|
||||
return getDocument().then(function (doc) {
|
||||
|
@ -319,7 +319,7 @@ document_types().forEach(function (entry, testNumber) {
|
|||
assert_not_reports(function () { instance = document.createElement(name); });
|
||||
assert_true(instance instanceof ElementThatGetAdoptedBack);
|
||||
});
|
||||
}, 'document.createElement must not report a NotSupportedError when the element is adopted back from a ' + docuemntName + ' during construction');
|
||||
}, `document.createElement must not report a NotSupportedError when the element is adopted back from a ${documentName} during construction`);
|
||||
});
|
||||
|
||||
test(function () {
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
spec: https://html.spec.whatwg.org/multipage/custom-elements.html
|
||||
suggested_reviewers:
|
||||
- snuggs
|
||||
- alsemenov
|
||||
- deepak-sa
|
||||
- domenic
|
||||
- dominiccooney
|
||||
- hayatoito
|
||||
- kojiishi
|
||||
- rniwa
|
||||
- sgrekhov
|
||||
- takayoshikochi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue