Closed Bug 1603160 Opened 5 years ago Closed 5 years ago

Allow MediaQueryList to receive untrusted events.

Categories

(Core :: DOM: CSS Object Model, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(2 files)

No description provided.

I was looking into MediaQueryList tests in the context of:

https://github.com/w3c/csswg-drafts/issues/4531

And this seemed reasonably easy to fix.

I don't see anything in:

https://drafts.csswg.org/cssom-view/#dom-mediaquerylist-addlistener

Which doesn't mention anything about untrusted listeners.

I haven't investigated the remaining failure, it seems we call the capture
listener after the regular one...

Assignee: nobody → emilio

It's testing the opposite of what it says.

Depends on D56771

Attachment #9115245 - Attachment description: Bug 1603160 - Fix another MediaQueryList test. r=bzbarsky → Bug 1603160 - Fix the description of a MediaQueryList test to match what it is testing. r=bzbarsky
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1941e31f3d21 Allow MediaQueryList::AddListener to receive untrusted events. r=bzbarsky https://hg.mozilla.org/integration/autoland/rev/53fbd77c9b9e Fix the description of a MediaQueryList test to match what it is testing. r=bzbarsky
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/20736 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: