Closed Bug 1532063 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 15577 - Wrap Feature Policy common code in setup()

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Philip Jägenstedt <philip@foolip.org> wrote:

Wrap Feature Policy common code in setup()

That ReportingObserver isn't available in Safari causes the test to be
treated as a single page test with a single failing subtest:
https://wpt.fyi/results/feature-policy/experimental-features/layout-animations-disabled-violation-report-js-tentative.html?run_id=5374658471788544&run_id=5135755412242432&run_id=5719614843518976

Wrapping it will cause there to be a harness error instead.

This will help with https://bugzilla.mozilla.org/show_bug.cgi?id=1530648.

Component: web-platform-tests → DOM
Product: Testing → Core
Component: DOM → DOM: Core & HTML
Ran 11 tests and 26 subtests
OK     : 9
PASS   : 12
FAIL   : 11
TIMEOUT: 4
NOTRUN : 1
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7e89fa86156b
[wpt PR 15577] - Wrap Feature Policy common code in setup(), a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.