Closed Bug 764249 Opened 12 years ago Closed 12 years ago

Youtube HTML5 resize buttons(Small/Large player) in video controls are missing

Categories

(Core :: JavaScript Engine, defect)

16 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: alice0775, Assigned: luke)

References

Details

(Keywords: regression, Whiteboard: [js:p1:fx16])

Attachments

(1 file)

Build Identifier:
http://hg.mozilla.org/mozilla-central/rev/131961e5e0d1
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0a1 ID:20120612030527

See http://forums.mozillazine.org/viewtopic.php?p=12061703#p12061703

Steps to Reproduce:
1. Create clean profile
2. Open http://www.youtube.com/watch?v=BRG5VNNUq_E&hd=1&html5=1

Actual Results:
 Resize buttons(Small/Large player) are missing.

 And An error shows in Error Console as follows:
 
Security Error: Content at http://www.youtube.com/watch?v=BRG5VNNUq_E&hd=1&html5=1 may not load data from http://s.ytimg.com/yt/cssbin/www-player-vflFpAOf-.css.


Expected Results:
 Resize buttons(Small/Large player) should be available.



Regressiin Window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/827c1fac4905
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0a1 ID:20120608134854
Bad:
http://hg.mozilla.org/mozilla-central/rev/95d1bb200f4e
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0a1 ID:20120609030536
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=827c1fac4905&tochange=95d1bb200f4e
OS: Windows 7 → All
I can still see the button if I screw around a lot with the Style Editor and Inspector tools.
I deleted a bunch of instances of "display:none" with Style Editor, and I can then see the Large Player button, overlaid by the gearbox settings button. Then in Inspector, I removed the "hid" part of the large player button's class attribute, and it shows up fully.
In localbuild
Last Good:7d68b45776ff
First Bad:227b4a4c3c46
Regressed by:
227b4a4c3c46	Luke Wagner — Bug 762473 - Don't apply non-reentrant-closure optimization when the scope is extensible (r=dvander)
Blocks: 762473
Attached patch fixSplinter Review
Thanks for the clear report, STR, and bisection!

The last fix failed because, apparently, you can't just conservatively set isOuterFunction/isInnerFunction to false.  This patch achieves the same goal (don't do the optimization when the scope can grow/shrink) using a more simple/brutish method.  I'd work more on this if the whole awful mess wasn't being removed soon (bug 753158).
Assignee: general → luke
Status: NEW → ASSIGNED
Attachment #632600 - Flags: review?(dvander)
Attachment #632600 - Flags: review?(dvander) → review+
Whiteboard: [js:p1:fx16]
https://hg.mozilla.org/mozilla-central/rev/925c31734424
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
This may not be fixed, looking at http://www.youtube.com/watch?v=HDLLXUaqZxg&feature=related still has no re-size buttons showing.

Tested using latest hourly build which contains the patch:
https://hg.mozilla.org/mozilla-central/rev/9602a9e99045

Test URL in step 2 of comment #0 also shows no size-control buttons. Ctrl+F5 to force a reload does not seem to reveal the buttons, thinking it may be in cache or something.
The size buttons do show in latest dev version of Chrome.
Confirmed, The problem is still reproduced.
http://hg.mozilla.org/mozilla-central/rev/9602a9e99045
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0a1 ID:20120616063925
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Arg, my mistake: the cset in comment 5 is for another bug, the patch for *this* bug is still unlanded.  Thanks for verifying, I'll land the actual patch next.
Backed out wrongly-named patch (will re-land in appropriate bug):
https://hg.mozilla.org/integration/mozilla-inbound/rev/431749200446

Landed this bug's patch:
https://hg.mozilla.org/integration/mozilla-inbound/rev/55d0b0de25f3

Sorry for the trouble.
https://hg.mozilla.org/mozilla-central/rev/55d0b0de25f3
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: