LayoutTests:
authorweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Aug 2007 01:23:51 +0000 (01:23 +0000)
committerweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Aug 2007 01:23:51 +0000 (01:23 +0000)
commit388729c5e3f71499ed31be7f004a0f45d0309701
treea2bb2349a8d9955eee2b8702e577378fb79c6b54
parent9e1986c44a06455d64063d1ca6c2d9d8b25b3763
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
LayoutTests/ChangeLog
LayoutTests/http/tests/misc/embedCrasher-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/misc/embedCrasher.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLPlugInElement.cpp
WebCore/html/HTMLPlugInElement.h