New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 875839 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 647378
Owner:
Closed: Aug 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

mousemove and mouseup events are not sent to an OOPIF when dragging

Reported by thomasth...@gmail.com, Aug 20

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0

Steps to reproduce the problem:
1. Load this test page:

https://jsfiddle.net/aqh2p69m/2/

2. Click in the iframe, and while maintaining the button pressed, move out of the iframe.

As soon as the pointer exits the iframe, it stops receiving mousemove and mouseup events.

What is the expected behavior?
Once a button is pressed inside the iframe, the iframe should continue receiving mousemove events up to the next mouseup. This behavior is useful to handle dragging of objects inside the iframe. Firefox, Safari and Chrome before 68 handled this correctly.

This still works correctly when the iframe is in the same domain as the parent window, as can be seen there:

https://d1o0328zb1mp9s.cloudfront.net/iftest2.html

What went wrong?
When the iframe is in another domain, Chrome runs it in another process, and it appears this is what is causing the mousemove and mouseup events from being lost when the pointer is outside the iframe.

Disabling Chrome's Site Isolation fixes this problem.

Did this work before? Yes 67

Does this work in other browsers? Yes

Chrome version: 68.0.3440.106 (Official Build) (64-bit)  Channel: stable
OS Version: OS X 10.13
Flash Version: Shockwave Flash 30.0 r0
 
iftest.html
561 bytes View Download
Labels: Needs-Triage-M68 Needs-Bisect
Cc: swarnasree.mukkala@chromium.org
Labels: -Pri-2 -Needs-Bisect ReleaseBlock-Stable M-68 Triaged-ET Target-70 FoundIn-70 RegressedIn-68 FoundIn-69 Target-69 Target-68 FoundIn-68 hasbisect OS-Linux OS-Windows Pri-1
Owner: creis@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on chrome reported version #68.0.3440.106 using Mac 10.13.3, Windows-10 and Ubuntu 17.10 .
Note : As the issue got break in branch builds, hence providing manual change-log from omahaproxy.

Bisect Information:
=====================
Good build: 68.0.3440.40
Bad build: 68.0.3440.41

Change Log: https://chromium.googlesource.com/chromium/src/+log/68.0.3440.40..68.0.3440.41?pretty=fuller&n=10000
Reviewed-on: https://chromium-review.googlesource.com/1112757
       
creis@ - Please confirm the issue and help in re-assigning if it is not related to your change.
Adding 'ReleaseBlock-Stable' label as this is a recent regression. Please feel free to remove if this is not applicable.

Thanks...!!
M69 Stable promotion is coming VERY soon. Your bug is labelled as Stable ReleaseBlock, pls make sure to land the fix and request a merge into the release branch ASAP. Merge has to happen latest by 4:00 PM PT Friday (08/24/18) in order to make it to next week stable cut. Thank you.
Cc: nasko@chromium.org
+nasko@, could you ptal as creis@ is OOO. 

As this is regressed in M68, we're not planning to block M69 stable. Pls target fix for M70. Pls let us know ASAP if there is any concern here. Thank you.
Labels: M-69
Cc: creis@chromium.org
Owner: kenrb@chromium.org
kenrb@ is the expert on input events with OOPIFs, so assigning it over. We have made some changes in the area, but I'm not certain whether this is expected or not.
Mergedinto: 647378
Status: Duplicate (was: Assigned)
Yes this is a known problem, tracked under  issue 647378 . There was a hack in place in M67 to make mouse capture work but it turned out to break some websites and had to be removed.

Right now it works if you are dragging a scrollbar thumb to scroll a frame and the mouse leaves the content area. Also drag and drop works because that is a different code path. Unfortunately it doesn't work if you just hold the mouse down and drag out, which breaks things like auto-scroll while drag-highlighting text.

I'll should be able to get back to this problem soon.

Sign in to add a comment