Bug 20687 - REGRESSION: Audio files have misplaced control bars
Summary: REGRESSION: Audio files have misplaced control bars
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P1 Normal
Assignee: Nobody
URL: http://cap-lore.com/EnglishSuites/
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2008-09-06 08:01 PDT by cnep5ll3
Modified: 2009-04-17 03:37 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cnep5ll3 2008-09-06 08:01:37 PDT
In the page at http://cap-lore.com/EnglishSuites/ there is a small JavaScript program that upon clicking a 'link' opens a small window in which QuickTime plays a MIDI file.

A relevant link is the first Roman numeral "I" in the table below.
The MIDI is indeed performed correctly but there are still a few behavior discrepancies compared with other browsers, and some are probably wrong.
I am not a JavaScript Guru.

First the QuickTime control bar is not visible in the initial window as it is in Safari or Firefox.
It is accessible if I resize the window manually.

The 2nd discrepancy is that the new window is resizable, contrary to field "resizable=no" in the argument to window.open in the Javascript function.
(It is resizable in Safari too but not Firefox.)
This seems like a minor point to me.

The 3rd and more serious discrepancy is that the music continues if I close the window.
At this point there is no obvious way to stop or otherwise control the music short of quitting the browser.
Comment 1 cnep5ll3 2008-11-15 12:00:22 PST
Perhaps another simpler and more serious manifestation of this bug:
The page at http://www.techpolicycentral.com/media-vault/2008/04/2008-tech-policy-summit-podcas.php has several audio control panels most of which are visibly rendered only as black rectangles.
Safari and Firefox render these all correctly.
Comment 2 cnep5ll3 2008-11-15 12:10:43 PST
I want to retract part of the original report:
There is a way to stop the music:
Bring the new window forward and close it.

This illustrates a potential security issue however: Some users may reason that leaving a web page disables subsequent actions of scripts inaugurated in that page; but my music and presumably JavaScript played on which implies that if it had been malicious, it might have compromised subsequent pages.
Comment 3 Alexey Proskuryakov 2008-11-16 02:26:11 PST
Would it be possible for you to file a separate bug for each issue? It is likely that people working on them will be confused by unrelated discussions otherwise.
Comment 4 Evan 2008-12-16 14:14:53 PST
(In reply to comment #1)
> Perhaps another simpler and more serious manifestation of this bug:
> The page at
> http://www.techpolicycentral.com/media-vault/2008/04/2008-tech-policy-summit-podcas.php
> has several audio control panels most of which are visibly rendered only as
> black rectangles.
> Safari and Firefox render these all correctly.
> 

in r32393 the page seems to render fine for me
Comment 5 cnep5ll3 2008-12-17 08:06:44 PST
(In reply to comment #4)
> (In reply to comment #1)
> > Perhaps another simpler and more serious manifestation of this bug:
> > The page at
> > http://www.techpolicycentral.com/media-vault/2008/04/2008-tech-policy-summit-podcas.php
> > has several audio control panels most of which are visibly rendered only as
> > black rectangles.
> > Safari and Firefox render these all correctly.
> > 
> 
> in r32393 the page seems to render fine for me
> 

It now works for me too (I submitted the first complaint about above URL).
Comment 6 Alexey Proskuryakov 2008-12-17 08:51:49 PST
Are there any issues remaining? The bug sees to mention multiple problems.
Comment 7 cnep5ll3 2008-12-17 11:30:33 PST
The original URL of the bug report, http://cap-lore.com/EnglishSuites/ , leads to a page with JavaScript that still produces a QuickTime window for MIDI, which does not make the control bar visible.
Comment 8 Alexey Proskuryakov 2008-12-19 01:13:58 PST
OK, re-titling the bug to make it clear that it tracks the issue with invisible control bar.

Steps to reproduce:
1. Open http://cap-lore.com/EnglishSuites/
2. Click on the first "I" link in a table.

Results: a new window opens, music starts playing, but controls are invisible. This is a regression from shipping Safari/WebKit.

In fact, the control bar is misplaced, as if the MIDI file had a video frame above it. It can be made visible by resizing the window.
Comment 9 Alexey Proskuryakov 2008-12-19 01:14:50 PST
<rdar://problem/6458142>
Comment 10 Alexey Proskuryakov 2009-04-17 03:37:05 PDT
This was fixed in <http://trac.webkit.org/changeset/42159>.

Note that noresize is still not honored - as mentioned earlier, please file a separate bug about this.