Skip to content
  • andersca's avatar
    LayoutTests: · 336a76bc
    andersca authored
            Reviewed by Darin.
    
            <rdar://problem/5289718>
            http://bugs.webkit.org/show_bug.cgi?id=14437
            CrashTracer: [REGRESSION] 76 crashes in Safari at com.apple.WebCore: WebCore::Frame::settings const + 6 (14437)
            
            Add test from Alexey Proskuryakov.
            
            * plugins/plugin-remove-subframe-expected.txt: Added.
            * plugins/plugin-remove-subframe.html: Added.
    
    WebCore:
    
            Reviewed by Darin.
    
            <rdar://problem/5289718>
            http://bugs.webkit.org/show_bug.cgi?id=14437
            CrashTracer: [REGRESSION] 76 crashes in Safari at com.apple.WebCore: WebCore::Frame::settings const + 6 (14437)
            
            Based on a patch from Maxime Britto.
            
            * page/mac/WebCoreFrameBridge.mm:
            (-[WebCoreFrameBridge stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
            If the script caused the frame to go away, return nil. This can only happen if a plugin in a subframe destroys
            its frame.
    
            (-[WebCor...
    336a76bc