Closed
Bug 625418
Opened 14 years ago
Closed 14 years ago
Youtube HTML5 video player broken again.
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 484396
People
(Reporter: KWierso, Assigned: sicking)
Details
Attachments
(1 file)
2.04 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
I could've sworn this was working just yesterday...
Video I'm using for testing is: http://www.youtube.com/watch?v=bM1epdLyhpA&html5=1
Works in Chrome 9 and Opera 11, but not in today's Minefield nightly.
Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://s.ytimg.com/yt/jsbin/www-player-vfl7LJuym.js :: <TOP_LEVEL> :: line 47" data: no]
Line 47 of that js file (prettified): http://pastebin.mozilla.org/936735
Reporter | ||
Comment 1•14 years ago
|
||
Also broken in a Win64 build from last week.
I swear, I *just* was watching a WebM video on Youtube a few days ago...
Comment 2•14 years ago
|
||
Hmm. They're passing "" as the url to the open() method.
Jonas, why do we throw on empty urls instead of just resolving them relative to the base like any other url?
blocking2.0: --- → ?
Assignee | ||
Comment 3•14 years ago
|
||
We seem to have thrown since the dawn of time. I doubt there is a good reason for it, we should just remove that line.
Assignee | ||
Comment 4•14 years ago
|
||
Not yet tested, but should work.
Assignee: nobody → jonas
Attachment #503607 -
Flags: review?(bzbarsky)
Comment 5•14 years ago
|
||
Comment on attachment 503607 [details] [diff] [review]
Patch to fix
r=me
Attachment #503607 -
Flags: review?(bzbarsky) → review+
Comment 6•14 years ago
|
||
Do we know if open("") ends up loading the current baseURI in other browsers as well, or is it a noop in other browsers? I think we should take a fix for this, but I'd like to know what other browsers do here.
Comment 7•14 years ago
|
||
Fwiw, the spec doesn't say to do anything special here. But yes, might be worth testing in other browsers.
Comment 8•14 years ago
|
||
Based on the patch this is a dup of Bug 484396.
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•14 years ago
|
blocking2.0: ? → ---
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•