WebCore:
2008-06-02 Anders Carlsson <andersca@apple.com>
Reviewed by David Hyatt and Mitz.
<rdar://problem/
5704119>
repro crash in WebCore::RenderPart::setWidget (plugin-related?)
Test: platform/mac/plugins/update-widget-from-style-recalc.html
Make sure to update the document's rendering before calling updateWidget.
* html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::updateWidget):
* html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::updateWidget):
WebKitTools:
2008-06-02 Anders Carlsson <andersca@apple.com>
Reviewed by David Hyatt and Mitz.
<rdar://problem/
5704119>
repro crash in WebCore::RenderPart::setWidget (plugin-related?)
Call -[WebView display] in the "plug-in" failed delegate method, simulating
the sheet that Safari puts up.
* DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
LayoutTests:
2008-06-02 Anders Carlsson <andersca@apple.com>
Reviewed by David Hyatt and Mitz.
<rdar://problem/
5704119>
repro crash in WebCore::RenderPart::setWidget (plugin-related?)
* platform/mac/plugins/update-widget-from-style-recalc-expected.txt: Added.
* platform/mac/plugins/update-widget-from-style-recalc.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34323 268f45cc-cd09-0410-ab3c-d52691b4dbfc