Skip to content
  • bdash's avatar
    2007-03-18 Dan Waylonis <waylonis@mac.com> · b453da68
    bdash authored
            Reviewed by Tim Hatcher.
    
            Fix http://bugs.webkit.org/show_bug.cgi?id=13005
            Bug 13005: WebScriptObject +throwException needs NULL check.
    
            Add checking for NULL interpreter before throwing exception.
    
            * bindings/objc/WebScriptObject.mm:
            (+[WebScriptObject throwException:]):
    
    2007-03-18  Dan Waylonis  <waylonis@mac.com>
    
            Reviewed by Tim Hatcher.
    
            DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
            Bug 13005: WebScriptObject +throwException needs NULL check.
    
            Add tests to ensure that a plugin can safely throw an exception in dealloc.
    
            * DumpRenderTree/ObjCPlugin.h:
            * DumpRenderTree/ObjCPlugin.m:
            (+[ObjCPlugin webScriptNameForKey:]):
            (+[ObjCPlugin isKeyExcludedFromWebScript:]):
            (-[ObjCPlugin dealloc]):
    
    2007-03-18  Dan Waylonis  <waylonis@mac.com>
    
            Reviewed by Tim Hatcher.
    
            Tests for http://bugs.webkit.org/show_bug.cgi?id=13005
            Bug 13005: WebScriptObject +throwException needs NULL check.
    
            A plugin that throws on dealloc can crash WebKit.
    
            * plugins/throw-on-dealloc-expected.txt: Added.
            * plugins/throw-on-dealloc.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b453da68