Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dispatch error events at the window object. #13156

Merged
merged 3 commits into from Sep 2, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Correct and improve addEventListener.html.

We do now fire (trusted) events for onerror.
  • Loading branch information
Ms2ger committed Sep 2, 2016
commit ac111b96fdee59ac57a79ef0d1598da236c25be9

This file was deleted.

@@ -11,9 +11,9 @@
setup({allow_uncaught_exception:true});
var t = async_test();
var ran = false;
// spec doesn't say to fire an event so this should do nothing
window.addEventListener('error', t.step_func(function(e){
ran = true;
assert_true(e.isTrusted, 'isTrusted');
}), false);
</script>
<script>
@@ -24,7 +24,7 @@
</script>
<script>
t.step(function(){
assert_false(ran, 'ran');
assert_true(ran, 'ran');
t.done();
});
</script>
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.