Bug 60511 - A WKView with plug-ins paints white when first moved into a window
Summary: A WKView with plug-ins paints white when first moved into a window
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 15:39 PDT by mitz
Modified: 2011-05-09 17:34 PDT (History)
3 users (show)

See Also:


Attachments
Defer call to setCanStartMedia() when a WKView is installed in a window (3.12 KB, patch)
2011-05-09 15:54 PDT, mitz
no flags Details | Formatted Diff | Diff
Defer call to setCanStartMedia() when a WKView is installed in a window (3.26 KB, patch)
2011-05-09 16:10 PDT, mitz
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2011-05-09 15:39:08 PDT
A WKView with plug-ins paints white when first moved into a window
Comment 1 mitz 2011-05-09 15:54:41 PDT
Created attachment 92873 [details]
Defer call to setCanStartMedia() when a WKView is installed in a window
Comment 2 Early Warning System Bot 2011-05-09 16:07:03 PDT
Comment on attachment 92873 [details]
Defer call to setCanStartMedia() when a WKView is installed in a window

Attachment 92873 [details] did not pass qt-ews (qt):
Output: http://queues.webkit.org/results/8653742
Comment 3 mitz 2011-05-09 16:10:28 PDT
Created attachment 92877 [details]
Defer call to setCanStartMedia() when a WKView is installed in a window
Comment 4 Darin Adler 2011-05-09 16:25:10 PDT
Comment on attachment 92877 [details]
Defer call to setCanStartMedia() when a WKView is installed in a window

View in context: https://bugs.webkit.org/attachment.cgi?id=92877&action=review

> Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1298
> +        m_setCanStartMediaTimer.startOneShot(0);

Needs a comment right here about why this is done on a timer.
Comment 5 mitz 2011-05-09 16:33:03 PDT
Committed r86103 <http://trac.webkit.org/changeset/86103>
Comment 6 WebKit Review Bot 2011-05-09 17:34:55 PDT
http://trac.webkit.org/changeset/86103 might have broken GTK Linux 32-bit Release
The following tests are not passing:
scrollbars/custom-scrollbar-with-incomplete-style.html