Skip to content
  • cblu's avatar
    WebFoundation: · fb4f8550
    cblu authored
            * Misc.subproj/WebError.m:
    
    WebKit:
    
    	- Moved plug-in error handling to WebResourceLoadDelegate
    	- Report plug-in load failure, java load failure, and plug-in not found errors.
    	- Added WebPluginError, subclass of WebError.
    	- Attempted fix: 3090675 - Standalone WMP (Window Media Player) content crashes Alexander
    
            * English.lproj/Localizable.strings:
            * Misc.subproj/WebKitErrors.h:
            * Plugins.subproj/WebBaseNetscapePluginView.m:
            (-[WebBaseNetscapePluginView sendEvent:]): don't send event to null function
            * Plugins.subproj/WebNetscapePluginDocumentView.m:
            (-[WebNetscapePluginDocumentView setDataSource:]): report plug-in load failure
            * Plugins.subproj/WebNullPluginView.h:
            * Plugins.subproj/WebNullPluginView.m: take a WebPluginError
            (-[WebNullPluginView dealloc]):
            (-[WebNullPluginView viewDidMoveToWindow]):
            * Plugins.subproj/WebPluginError.h: Added.
            * Plugins.subproj/WebPluginError.m: Added.
            (-[WebPluginErrorPrivate dealloc]):
            (-[WebPluginError dealloc]):
            (-[WebPluginError pluginPageURL]):
            (-[WebPluginError pluginName]):
            (-[WebPluginError MIMEType]):
            * WebCoreSupport.subproj/WebBridge.m:
            (-[WebBridge viewForPluginWithURL:attributes:baseURL:MIMEType:]): report plug-in load failure
            (-[WebBridge viewForJavaAppletWithFrame:attributes:baseURL:]): report plug-in load failure
            * WebKit.pbproj/project.pbxproj:
            * WebView.subproj/WebController.m:
            (-[WebResourceLoadDelegate pluginFailedWithError:dataSource:]): added, does nothing
            * WebView.subproj/WebControllerPolicyDelegate.h:
            * WebView.subproj/WebResourceLoadDelegate.h:
            * WebView.subproj/WebView.m:
            (+[WebView initialize]): added new error strings
    
    WebBrowser:
    
    	- Moved plug-in error handling to WebResourceLoadDelegate
    
            * BrowserWebController.m:
            * English.lproj/Localizable.strings:
            * LoadProgressMonitor.m:
            (-[LoadProgressMonitor pluginNotFoundSheetEnded:returnCode:contextInfo:]):
            (-[LoadProgressMonitor pluginFailedWithError:dataSource:]): display special sheets for new errors.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    fb4f8550