WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-04-28 12:07:58 PDT
<
rdar://problem/16745679
>
Roger Fong
Comment 2
2014-04-28 12:21:09 PDT
Created
attachment 230316
[details]
patch
Roger Fong
Comment 3
2014-04-29 15:15:36 PDT
http://trac.webkit.org/changeset/167961
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug