Changeset 15867 in webkit


Ignore:
Timestamp:
Aug 14, 2006 8:52:34 PM (18 years ago)
Author:
mjs
Message:

LayoutTests:

Test case not reviewed but the patch was reviewed by Tim Omernick.


  • http/tests/plugins/interrupted-get-url.html: Added.
  • http/tests/plugins/resources/interrupted-get-url-success.html: Added.
  • http/tests/plugins/resources/slow-resource.pl: Added.

WebKit:

Reviewed by Tim Omernick.


  • Loader/WebNetscapePlugInStreamLoader.m: (-[WebNetscapePlugInStreamLoader initWithStream:view:]): Set the frame loader for this stream. (-[WebNetscapePlugInStreamLoader cancelWithError:]): Make sure to destroy the stream as well; otherwise, when we try to clean up later, we won't have the right context.
Location:
trunk
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r15859 r15867  
     12006-08-14  Maciej Stachowiak  <mjs@apple.com>
     2
     3        Test case not reviewed but the patch was reviewed by Tim Omernick.
     4       
     5        - test case for REGRESSION: crash when leaving youtube page while movie is still loading
     6        http://bugzilla.opendarwin.org/show_bug.cgi?id=10398
     7
     8        * http/tests/plugins/interrupted-get-url.html: Added.
     9        * http/tests/plugins/resources/interrupted-get-url-success.html: Added.
     10        * http/tests/plugins/resources/slow-resource.pl: Added.
     11
    1122006-08-14  Darin Adler  <darin@apple.com>
    213
  • trunk/WebKit/ChangeLog

    r15861 r15867  
     12006-08-14  Maciej Stachowiak  <mjs@apple.com>
     2
     3        Reviewed by Tim Omernick.
     4       
     5        - fixed REGRESSION: crash when leaving youtube page while movie is still loading
     6        http://bugzilla.opendarwin.org/show_bug.cgi?id=10398
     7
     8        * Loader/WebNetscapePlugInStreamLoader.m:
     9        (-[WebNetscapePlugInStreamLoader initWithStream:view:]): Set the frame loader for this stream.
     10        (-[WebNetscapePlugInStreamLoader cancelWithError:]): Make sure to destroy the stream as well;
     11        otherwise, when we try to clean up later, we won't have the right context.
     12
    1132006-08-14  David Hyatt  <hyatt@apple.com>
    214
  • trunk/WebKit/Loader/WebNetscapePlugInStreamLoader.m

    r15847 r15867  
    3333#import <WebKit/WebNetscapePluginStream.h>
    3434#import <WebKit/WebKitErrorsPrivate.h>
     35#import <WebKit/WebFrameInternal.h>
    3536
    3637@implementation WebNetscapePlugInStreamLoader
    3738
    38 - initWithStream:(WebNetscapePluginStream *)theStream view:(WebBaseNetscapePluginView *)theView
     39- (id)initWithStream:(WebNetscapePluginStream *)theStream view:(WebBaseNetscapePluginView *)theView
    3940{
    4041    [super init];
    4142    stream = [theStream retain];
    4243    view = [theView retain];
     44    [self setFrameLoader:[[theView webFrame] _frameLoader]];
    4345    return self;
    4446}
     
    125127
    126128    [[self frameLoader] _removePlugInStreamLoader:self];
     129    [stream destroyStreamWithError:error];
    127130    [super cancelWithError:error];
    128131
Note: See TracChangeset for help on using the changeset viewer.