LayoutTests:
Reviewed by Geoff and Oliver.
Add test for <rdar://problem/
5267870>
Mangleme: Reproducible assertion failure in -[WebCoreFrameBridge installInFrame:]
* http/tests/misc/embedCrasher-expected.txt: Added.
* http/tests/misc/embedCrasher.html: Added.
WebCore:
Reviewed by Geoff and Oliver.
Fix for <rdar://problem/
5267870>
Mangleme: Reproducible assertion failure in -[WebCoreFrameBridge installInFrame:]
- Change embed/plugin code path to detach the frame on willRemove instead of detach.
This matches what frame and iframe do.
Test: http/tests/misc/embedCrasher.html
* html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::willRemove):
* html/HTMLPlugInElement.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25087
268f45cc-cd09-0410-ab3c-
d52691b4dbfc