Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d

This commit is contained in:
WPT Sync Bot 2018-07-18 15:43:58 +00:00 committed by Tom Servo
parent c45192614c
commit 775b784f79
2144 changed files with 58115 additions and 29658 deletions

View file

@ -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 () {

View file

@ -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