Closed Bug 1321196 Opened 8 years ago Closed 8 years ago

Refactor the block-media-element feature - part 2.

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: kaku, Assigned: kaku)

References

Details

Attachments

(2 files)

Further decompose the HTMLMediaElement::IsAllowedToPlay() and AudioChannelAgentCallback::IsAllowedToPlay() so that we can have all the spec. code in the HTMLMediaElement::PlayInternal() and only policy code in the HTMLMediaElement::Play().
Blocks: 1244768
Depends on: 1302350, 1309162
Assignee: nobody → kaku
Attachment #8815654 - Flags: review?(jwwang) → review+
Attachment #8815653 - Flags: review?(alwu) → review+
Attachment #8815654 - Flags: review?(alwu) → review+
Try looks good, thanks for the reviews!
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/e972bb041a4e part 1 - typo correction; r=alwu https://hg.mozilla.org/integration/autoland/rev/fcabe39c665f part 2 - rework the IsAllowedToPlay policy; r=alwu,jwwang
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: