mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +01:00
Update web-platform-tests to revision d8b8e0b8efe993a37404d6c6fc75e16fdc16b7d8
This commit is contained in:
parent
abc0f50d20
commit
e07315e6af
221 changed files with 7334 additions and 774 deletions
|
@ -86,6 +86,9 @@ function bindEvents(element, resolveEventName, rejectEventName) {
|
|||
resolve(e);
|
||||
});
|
||||
element.addEventListener(rejectEventName || "error", function(e) {
|
||||
// Chromium starts propagating errors from worker.onerror to
|
||||
// window.onerror. This handles the uncaught exceptions in tests.
|
||||
e.preventDefault();
|
||||
reject(e);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue