Closed Bug 1119463 Opened 9 years ago Closed 9 years ago

Expose MSE to youtube-nocookie.com

Categories

(Core :: Audio/Video, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla37
Tracking Status
firefox36 --- fixed
firefox37 --- fixed

People

(Reporter: rillian, Assigned: rillian)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

In review of bug 1112761, I noticed youtube embeds are sometimes served from www.youtube-nocookie.com. We should probably add that to the list controlled by media.mediasource.youtubeonly.
Proposed update.
Assignee: nobody → giles
Attachment #8546133 - Flags: review?(kinetik)
Fix warning by adding parentheses.
Attachment #8546133 - Attachment is obsolete: true
Attachment #8546133 - Flags: review?(kinetik)
Attachment #8546135 - Flags: review?(kinetik)
Comment on attachment 8546135 [details] [diff] [review]
Enable MSE for youtube-nocookie.com v2

I was going to say this for the original review, but it didn't seem to matter as much for a single test.  Since we're adding one, and there's a chance we'll have to add more, I think it'd be slightly nicer if it was:

    if (NS_FAILED(tldServ->GetBaseDomain(uri, 0, eTLDplusOne))) {
      return false;
    }

    return eTLDplusOne.EqualsLiteral("youtube.com") ||
           eTLDplusOne.EqualsLiteral("youtube-nocookie.com");
Attachment #8546135 - Flags: review?(kinetik) → review+
Reformat as suggested. Carrying forward r=kinetik.
Attachment #8546135 - Attachment is obsolete: true
Attachment #8546260 - Flags: review+
Comment on attachment 8546260 [details] [diff] [review]
Enable MSE for youtube-nocookie.com v3

Landed on Aurora with a=mse pre-approval.

https://hg.mozilla.org/releases/mozilla-aurora/rev/3adeb981ced7

This is low risk, adding a second domain to the filter under media.mediasource.youtubeonly. MSE-specific.
Attachment #8546260 - Flags: approval-mozilla-aurora?
Blocks: 1119691
Attachment #8546260 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
https://hg.mozilla.org/mozilla-central/rev/901e53fd2486
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.