Closed Bug 1752140 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32556 - battery status: Remove battery-insecure-context.html.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> wrote:

battery status: Remove battery-insecure-context.html.

This test does not reflect either the current spec or any implementation.

w3c/battery#30 removed the bits from the spec that mandated throwing a
SecurityError when the API was used in an insecure origin. Blink does not
perform any checks for a security context anyway, although the plan is to
switch spec and implementation to using [SecureContext] in the future, as
tracked in w3c/battery#15.

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9411af1be06f [wpt PR 32556] - battery status: Remove battery-insecure-context.html., a=testonly
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e1c61be7a39c [wpt PR 32556] - battery status: Remove battery-insecure-context.html., a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.