Bug 37043

Summary: Java regression tests spam stderr about being unable to set status message
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Plug-insAssignee: Alexey Proskuryakov <ap>
Severity: Normal    
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   
Description Flags
proposed patch darin: review+

Description Alexey Proskuryakov 2010-04-02 13:55:37 PDT
- (void)webPlugInContainerShowStatus:(NSString *)message
    if (!_documentView) {
        LOG_ERROR("could not show status message (%@) because plug-in has already been destroyed", message);
    WebView *v = [_dataSource _webView];
    [[v _UIDelegateForwarder] webView:v setStatusText:message];

This code was added in <http://trac.webkit.org/changeset/6596>, I'm not sure why it is needed. And since then, it has degenerated into something that looks wrong (why test _documentView, and not _dataSource?)

Perhaps it can be just removed.
Comment 1 Alexey Proskuryakov 2010-04-02 13:59:44 PDT
Created attachment 52449 [details]
proposed patch
Comment 2 Alexey Proskuryakov 2010-04-02 14:22:01 PDT
Committed revision 57024.