Skip to content
  • ggaren's avatar
    LayoutTests: · 3d8c094b
    ggaren authored
            Test by Geoff, automated by me, reviewed by Darin.
    
            - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7293
              REGRESSION: Using Javascript Bookmarklets that reference location.href on a blank tab crashes WebKit
    
            * fast/frames/empty-frame-document-expected.txt: Added.
            * fast/frames/empty-frame-document.html: Added.
    
    WebKit:
    
            Test: fast/frames/empty-frame-document.html
    
            Reviewed by Darin.
    
            - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7293
              REGRESSION: Using Javascript Bookmarklets that reference location.href on a blank tab crashes WebKit
    
            The crash happened because an empty frame did not have a document.
    
            * WebView/WebFrame.m:
            (-[WebFrame _commitProvisionalLoad:]): Use "about:blank" instead of an empty URL for empty
            frames. This causes a document to be created for the frame.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3d8c094b