Closed
Bug 1282038
Opened 8 years ago
Closed 8 years ago
Respect allowfullscreen attributes on rewritten YouTube Flash embeds
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla50
People
(Reporter: emk, Assigned: emk)
References
()
Details
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
emk
:
review+
lizzard
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
This patch will fix the fullscreen issue on stalker.pl.
Attachment #8764870 -
Flags: review?(kyle)
Assignee | ||
Comment 1•8 years ago
|
||
Comment on attachment 8764870 [details] [diff] [review]
patch
Trying another reviewer.
Attachment #8764870 -
Flags: review?(jst)
Comment 2•8 years ago
|
||
Comment on attachment 8764870 [details] [diff] [review]
patch
Review of attachment 8764870 [details] [diff] [review]:
-----------------------------------------------------------------
The OLC stuff looks ok to me, but not sure I'm qualified to review the DocShell stuff (which looks ok to me but I'm not a DOM Peer). Might also be worth adding a test to make sure this stays working.
Attachment #8764870 -
Flags: review?(kyle) → review+
Assignee | ||
Comment 3•8 years ago
|
||
Test added.
Attachment #8764870 -
Attachment is obsolete: true
Attachment #8764870 -
Flags: review?(jst)
Attachment #8766423 -
Flags: review?(jst)
Comment 4•8 years ago
|
||
Comment on attachment 8766423 [details] [diff] [review]
embed_allowfullscreen
- In dom/base/nsObjectLoadingContent.h:
+ // True if object represents an object/embed tag pointing to a flash embed
+ // for a youtube video. When possible (see IsRewritableYoutubeEmbed function
+ // comments for details), we change these to try to load HTML5 versions of
+ // videos.
+ bool mRewrittenYoutubeEmbed : 1;
Please move this member declaration further down in the file so that it clusters with the other single bit boolean variables in this class. And while you're at it if you'd like you could make mHasRunID a single bit boolean too (just noticed it's not when looking at where this one should go).
r=jst with that fixed. Thanks!
Attachment #8766423 -
Flags: review?(jst) → review+
Assignee | ||
Comment 5•8 years ago
|
||
Updated•8 years ago
|
Assignee: nobody → VYV03354
Assignee | ||
Comment 6•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/119a365358d598305fba487f5eacd4945a458c3f
Bug 1282038 - Allow allowfullscreen for rewritten YouTube Flash embeds. r=qdot,jst
Assignee | ||
Comment 7•8 years ago
|
||
For the record.
Attachment #8766423 -
Attachment is obsolete: true
Attachment #8766578 -
Flags: review+
Assignee | ||
Comment 8•8 years ago
|
||
Without this patch, the test will permafail when this change merges to beta because unprefixed fullscreen is not enabled on release builds yet.
Comment 9•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Assignee | ||
Comment 10•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/732d517ac4385204f7cabcea9316906bc48819f9
Bug 1282038 - Follow-up: Ensure unprefixed fullscreen API is enabled. r=me
Comment 11•8 years ago
|
||
bugherder |
Assignee | ||
Comment 12•8 years ago
|
||
Comment on attachment 8766578 [details] [diff] [review]
patch for checkin
Approval Request Comment
[Feature/regressing bug #]: 769117
[User impact if declined]: Fullscreen will not work on some embedded YouTube movie.
[Describe test coverage new/current, TreeHerder]: Automated test baked on m-c
[Risks and why]: ow, only affects already broken YouTube embeds
[String/UUID change made/needed]: none
Attachment #8766578 -
Flags: approval-mozilla-beta?
Attachment #8766578 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 13•8 years ago
|
||
Comment on attachment 8766578 [details] [diff] [review]
patch for checkin
Canceling the uplift request to beta because the depending uplift request has been canceled.
Attachment #8766578 -
Flags: approval-mozilla-beta?
Comment on attachment 8766578 [details] [diff] [review]
patch for checkin
OK to uplift to aurora, but the work from bug 1258053 should land first.
Attachment #8766578 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 15•8 years ago
|
||
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #14)
> Comment on attachment 8766578 [details] [diff] [review]
> patch for checkin
>
> OK to uplift to aurora, but the work from bug 1258053 should land first.
bug 1258053 has conflicts, so waiting till this is resolved
Comment 16•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/c0a5d404e987
https://hg.mozilla.org/releases/mozilla-aurora/rev/7051fecb8b51
status-firefox49:
--- → fixed
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
•