Bug 7176 - QTPlugin content loads appear as an error (even when the content loads successfully)
Summary: QTPlugin content loads appear as an error (even when the content loads succes...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 417.x
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2006-02-10 09:22 PST by John Sullivan
Modified: 2006-02-17 10:46 PST (History)
3 users (show)

See Also:


Attachments
example case (770.62 KB, application/zip)
2006-02-10 09:33 PST, John Sullivan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Sullivan 2006-02-10 09:22:50 PST
This bug is also in Radar as <rdar://4258008>

When we load content that ends up using the QTPlugin (or any plugin?), we cancel the load since WebKit plugins handle their own loading. This cancel is treated as an error, using WebKitErrorPlugInWillHandleLoad. We should figure out a way to provide status information for the load, or at the very least, not treat this cancel as an error.
Comment 1 John Sullivan 2006-02-10 09:33:46 PST
Created attachment 6389 [details]
example case

To reproduce, download the archive and extract the two contained files to the same directory: qt-frame-test.html and qt.mov. Open qt-frame-test.html in Safari. Wait for the movie to start playing.

Note that Safari's status bar and Activity window both list one error, though no details are shown anywhere.
Comment 2 John Sullivan 2006-02-10 09:36:02 PST
Fixing this completely might require changes in both WebKit and Safari. Any change in WebKit that depends on a client change would have to be staged so that it continues to work no worse than it does now with old clients, while working better for new clients.
Comment 3 David Kilzer (:ddkilzer) 2006-02-11 08:00:48 PST
When I open qt-frame-test.html from the "example case" in WebKit r12753 (built locally) or in nightly WebKit-SVN-r12751.dmg, no movie appears in Safari and these messages are printed to the console (or written to console.log):

Safari(3812,0xa000ed68) malloc: *** error for object 0x13839320: double free
Safari(3812,0xa000ed68) malloc: *** set a breakpoint in szone_error to debug

Is this another bug?  Should it be filed in Radar or Bugzilla?

I'm on Mac OS X 10.4.4 (Build 8G32) with Safari 2.0.3 (417.8).
Comment 4 David Kilzer (:ddkilzer) 2006-02-11 08:03:20 PST
(In reply to comment #3)
> Safari(3812,0xa000ed68) malloc: *** error for object 0x13839320: double free
> Safari(3812,0xa000ed68) malloc: *** set a breakpoint in szone_error to debug
> 
> Is this another bug?  Should it be filed in Radar or Bugzilla?
> 
> I'm on Mac OS X 10.4.4 (Build 8G32) with Safari 2.0.3 (417.8).

This happens on Safari 2.0.3 (417.8) WITHOUT an updated WebKit.  Is this a regression?

Safari(3832,0xa000ed68) malloc: *** error for object 0x577e2c0: double free
Safari(3832,0xa000ed68) malloc: *** set a breakpoint in szone_error to debug
Comment 5 John Sullivan 2006-02-11 08:12:00 PST
Hmm, I'm not seeing that, but it does sound like a problem.
Comment 6 David Kilzer (:ddkilzer) 2006-02-11 08:49:19 PST
(In reply to comment #4)
> This happens on Safari 2.0.3 (417.8) WITHOUT an updated WebKit.  Is this a
> regression?
> 
> Safari(3832,0xa000ed68) malloc: *** error for object 0x577e2c0: double free
> Safari(3832,0xa000ed68) malloc: *** set a breakpoint in szone_error to debug

Filed <rdar://problem/4442081> for this issue.
Comment 7 David Kilzer (:ddkilzer) 2006-02-11 09:51:29 PST
Ignore Comment #3 through Comment #7.  These are a problem with my own PB G4, and are not related to this bug.