We currently only send the minimum layout width to the WebProcess when the property is set. We also need to send it when the WebProcess is brought up, so that if the WebProcess crashes we send it back over again. <rdar://problem/13202320>
Created attachment 201911 [details] patch
Comment on attachment 201911 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=201911&action=review > Source/WebKit2/UIProcess/WebPageProxy.cpp:539 > + m_process->send(Messages::WebPage::SetMinimumLayoutWidth(m_minimumLayoutWidth), m_pageID, 0); Can this be part of creation parameters, to avoid potential races?
Comment on attachment 201911 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=201911&action=review >> Source/WebKit2/UIProcess/WebPageProxy.cpp:539 >> + m_process->send(Messages::WebPage::SetMinimumLayoutWidth(m_minimumLayoutWidth), m_pageID, 0); > > Can this be part of creation parameters, to avoid potential races? Aha! I knew there must be an existing mechanism for this. Will fix.
Created attachment 201980 [details] patch
http://trac.webkit.org/changeset/150197