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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox49 --- fixed
firefox50 --- fixed

People

(Reporter: emk, Assigned: emk)

References

()

Details

Attachments

(2 files, 2 obsolete files)

Attached patch patch (obsolete) (deleted) — Splinter Review
This patch will fix the fullscreen issue on stalker.pl.
Attachment #8764870 - Flags: review?(kyle)
Comment on attachment 8764870 [details] [diff] [review] patch Trying another reviewer.
Attachment #8764870 - Flags: review?(jst)
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+
Attached patch embed_allowfullscreen (obsolete) (deleted) — Splinter Review
Test added.
Attachment #8764870 - Attachment is obsolete: true
Attachment #8764870 - Flags: review?(jst)
Attachment #8766423 - Flags: review?(jst)
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: nobody → VYV03354
https://hg.mozilla.org/integration/mozilla-inbound/rev/119a365358d598305fba487f5eacd4945a458c3f Bug 1282038 - Allow allowfullscreen for rewritten YouTube Flash embeds. r=qdot,jst
Attached patch patch for checkin (deleted) — Splinter Review
For the record.
Attachment #8766423 - Attachment is obsolete: true
Attachment #8766578 - Flags: review+
Without this patch, the test will permafail when this change merges to beta because unprefixed fullscreen is not enabled on release builds yet.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
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?
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+
(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
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: