Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb

This commit is contained in:
WPT Sync Bot 2019-03-28 22:09:18 -04:00
parent fcd6beb608
commit cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions

View file

@ -102,18 +102,16 @@ var tests = [
tests.forEach(function(testName) {
Object.keys(testExtensions).forEach(function(ext) {
var iframe = document.createElement("iframe");
iframe.src = "Document-createElement-namespace-tests/" +
testName + "." + ext;
var t = async_test("Created element's namespace in " + testName + "." + ext);
iframe.onload = function() {
t.step(function() {
async_test(function(t) {
var iframe = document.createElement("iframe");
iframe.src = "Document-createElement-namespace-tests/" +
testName + "." + ext;
iframe.onload = t.step_func_done(function() {
testDoc(iframe.contentDocument, testExtensions[ext]);
document.body.removeChild(iframe);
});
document.body.removeChild(iframe);
t.done();
};
document.body.appendChild(iframe);
document.body.appendChild(iframe);
}, "Created element's namespace in " + testName + "." + ext);
});
});
</script>