Bug 60511

Summary: A WKView with plug-ins paints white when first moved into a window
Product: WebKit Reporter: mitz
Component: WebKit2Assignee: mitz
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, eric, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Defer call to setCanStartMedia() when a WKView is installed in a window
none
Defer call to setCanStartMedia() when a WKView is installed in a window darin: review+

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