Closed Bug 462953 Opened 16 years ago Closed 16 years ago

Remove unimplemented media attributes/methods from media IDL

Categories

(Core :: Audio/Video, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1b2

People

(Reporter: cpearce, Assigned: cpearce)

References

Details

Attachments

(1 file, 3 obsolete files)

Features which are not implemented should not have placeholders in their IDL, they should be removed from the IDL, and new bugs filed to implement them.

These features are:
* nsIDOMHTMLMediaElement::GetBufferingRate()
* nsIDOMHTMLMediaElement::GetBufferingThrottled()
* nsIDOMHTMLMediaElement::GetBuffered()
* nsIDOMHTMLMediaElement::GetBufferedBytes()
* nsIDOMHTMLMediaElement::GetPlayed()
* nsIDOMHTMLMediaElement::GetSeekable()
* nsIDOMHTMLMediaElement::AddCueRange()
* nsIDOMHTMLMediaElement::RemoveCueRanges()
* nsIDOMHTMLVideoElement::poster
Assignee: nobody → chris
Status: NEW → ASSIGNED
Attached patch Patch v1 (obsolete) — Splinter Review
Attachment #346174 - Flags: superreview?(roc)
Attachment #346174 - Flags: review?(chris.double)
As Patch v1 but doesn't remove nsIDOMHTMLVoidCallback, nsIDOMHTMLTimeRanges, nsIDOMHTMLByteRanges at Roc's request.
Attachment #346174 - Attachment is obsolete: true
Attachment #346182 - Flags: superreview?(roc)
Attachment #346182 - Flags: review?(chris.double)
Attachment #346174 - Flags: superreview?(roc)
Attachment #346174 - Flags: review?(chris.double)
Attachment #346182 - Flags: superreview?(roc)
Attachment #346182 - Flags: superreview+
Attachment #346182 - Flags: review?(chris.double)
Attachment #346182 - Flags: review+
I think you missed these:

attribute float start;
attribute float end;
attribute float loopStart;
attribute float loopEnd;
attribute unsigned long playCount;
attribute unsigned long currentLoop;
Attached patch Patch v3 (obsolete) — Splinter Review
Also remove stuff pointed out by Chris Double. Removes PlaybackRate support too. Ogg and (the pending) audio backends don't support it, so I'm removing it too. 

Once audio's landed, this patch will need to be updated to remove the audioDecoder's PlaybackRateChanged() method, as it's inherited from nsMediaDecoder::PlaybackRateChanged(), which is pure virtual, but is removed in this patch.
Attachment #346182 - Attachment is obsolete: true
Attachment #346339 - Flags: review?(roc)
Comment on attachment 346339 [details] [diff] [review]
Patch v3

But wait, there's more!
Attachment #346339 - Attachment is obsolete: true
Attachment #346339 - Flags: review?(roc)
Doesn't remove nsMediaDecoder::PlaybackRateChanged(), adds comments where spec-required stuff is removed. Removes <source>'s pixelRatio and media.
Attachment #346355 - Flags: superreview?(roc)
Attachment #346355 - Flags: review?(chris.double)
Attachment #346355 - Flags: review?(chris.double) → review+
Comment on attachment 346355 [details] [diff] [review]
Patch v4
[Checkin: Comment 9]

We should get this in the beta2 landing queue.
Attachment #346355 - Flags: superreview?(roc) → superreview+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Attachment #346355 - Attachment description: Patch v4 → Patch v4 [Checkin: Comment 9]
Keywords: checkin-needed
Target Milestone: --- → mozilla1.9.1b2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: