RESOLVED FIXED 132294
Don't immediately snapshot plugin to allow for proper dominant plugin detection.
https://bugs.webkit.org/show_bug.cgi?id=132294
Summary Don't immediately snapshot plugin to allow for proper dominant plugin detection.
Roger Fong
Reported 2014-04-28 12:07:21 PDT
Currently we immediately set the display state to displaying snapshot if the max number of snapshot retries is 0. However, this causes timing problems. Namely, it causes hit testing to fail because the hit test needs to happen with the original plugin element. If we instead call beginSnapshottingRunningPlugin, we allow the page some time to perform the hit test with the plugin element before snapshotting. I've only seen this affect layout tests, where we explicitly set the max number of snapshot retries to 0. This fix will allow us to enable snapshotting tests.
Attachments
patch (1.53 KB, patch)
2014-04-28 12:21 PDT, Roger Fong
dino: review+
Radar WebKit Bug Importer
Comment 1 2014-04-28 12:07:58 PDT
Roger Fong
Comment 2 2014-04-28 12:21:09 PDT
Roger Fong
Comment 3 2014-04-29 15:15:36 PDT
Note You need to log in before you can comment on or make changes to this bug.