Skip to content

Commit

Permalink
Merge pull request #3486 from w3c/sync_1d983f1bce5c4c116716e504261dbc…
Browse files Browse the repository at this point in the history
…5bfdcda9ca

Merge pull request #3486 from sync_1d983f1bce5c4c116716e504261dbc5bfdcda9ca
  • Loading branch information
Ms2ger committed Aug 18, 2016
2 parents 6dc1277 + 1d983f1 commit 421aba7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Expand Up @@ -10,12 +10,9 @@
document.getElementById('style_test').onload = t.step_func(function() {
saw_link_onload = true;
});
window.addEventListener('load', function() {
t.step_func(function() {
assert_true(saw_link_onload);
});
t.done();
}, false);
window.addEventListener('load', t.step_func_done(function() {
assert_true(saw_link_onload);
}));
</script>
</head>
</html>
Expand Up @@ -40,6 +40,7 @@
assert_true(true, "Got error event for 404 error.")
tText.done()
})
elt.onload = tText.unreached_func("load event should not be fired");
elt.rel = "stylesheet";
elt.href = "../../../../../common/css-red.txt";
document.getElementsByTagName("head")[0].appendChild(elt);
Expand Down

0 comments on commit 421aba7

Please sign in to comment.