Closed Bug 1501139 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 13666 - Updating tests for Window onerror is not triggered bug fix.

Categories

(Core :: DOM: Security, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

Sync web-platform-tests PR 13666 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/13666
Details from upstream follow.

Katie Dillon <kdillon@chromium.org> wrote:
>  Updating tests for Window onerror is not triggered bug fix.
>  
>  This CL updates the mixed-content tests to ignore uncaught exceptions.
>  In reference to the bug fix in this CL:
>  https://chromium-review.googlesource.com/c/chromium/src/+/1287208
>  
>  The bug fix properly propagates errors to the parent from a child thread,
>  resulting in test failures for tests that do not account for the thrown
>  exception being sent to the parent. This CL updated the template and
>  corresponding generated tests to handle this case by allowing uncaught
>  exceptions.
>  
>  Change-Id: I571aaa85d90b5f933b6212691dcc783579b294be
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1294535
>  WPT-Export-Revision: 5cdc95c84b52245dba252425aeb93939123a7030
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Ran 393 tests and 392 subtests
OK     : 392
PASS   : 345
FAIL   : 47

Tests that are disabled for instability:
/mixed-content/link-prefetch-tag/no-opt-in/same-host-https/top-level/keep-scheme-redirect/allowed/allowed.https.html
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c20bce19c385
[wpt PR 13666] - Updating tests for Window onerror is not triggered bug fix., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/6c8fa4a72e44
[wpt PR 13666] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/c20bce19c385
https://hg.mozilla.org/mozilla-central/rev/6c8fa4a72e44
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.