Closed Bug 1791643 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 35980 - Input/DSF: Use ScriptState's context to get dsf when view is not set.

Categories

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

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Vladimir Levin <vmpstr@chromium.org> wrote:

Input/DSF: Use ScriptState's context to get dsf when view is not set.

This patch grabs the fallback zoom scale from the ExecutionContext
provided by the script state when view() is not set, which can be
the case for script created events.

R=dtapuska@chromium.org

Fixed: 1361926
Change-Id: Idda02cb7e254d8887127872d6aecf0cbe85f9b96
Reviewed-on: https://chromium-review.googlesource.com/3906090
WPT-Export-Revision: 96c29554b51acf103a612d23bc8e915204af7faa

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b58bc2bdb00 [wpt PR 35980] - Input/DSF: Use ScriptState's context to get dsf when view is not set., a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.