Closed Bug 1736340 Opened 3 years ago Closed 2 years ago

Considering do not treat the click on scrollbar as a user interaction with the web content

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: edgar, Assigned: edgar)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This is filed from https://bugzilla.mozilla.org/show_bug.cgi?id=1733815#c5.
We don't dispatch click event to document if the click happens on side bar, so I guess it probably makes sense that don't treat it as user interaction with the page.

Blocks: 1577516

FYI, this can be reproduced on this if we set media.autoplay.default=5. It was reported in bug1730301 and I found that dragging the sidebar to scroll the page would activate the page and make video being able to start.

Blocks: 1787241
Summary: Considering do not treat the click on sidebar as a user interaction with the web content → Considering do not treat the click on scrollbar as a user interaction with the web content
Assignee: nobody → echen
Attachment #9295656 - Attachment description: WIP: Bug 1736340 - Do not treat the click on scrollbar as a user interaction with the web content; → Bug 1736340 - Do not treat the click on scrollbar as a user interaction with the web content; r?smaug
Status: NEW → ASSIGNED
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b83d1dcde338 Do not treat the click on scrollbar as a user interaction with the web content; r=smaug

Backed out changeset b83d1dcde338 (Bug 1736340) for causing mochitest failures on test_useractivation_scrollbar.html.
Backout link
Push with failures <--> 1
Failure Log

Flags: needinfo?(echen)
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4687f41f810e Do not treat the click on scrollbar as a user interaction with the web content; r=smaug
Flags: needinfo?(echen)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: