Closed Bug 457964 Opened 11 years ago Closed 11 years ago

|paused| attribute should be a boolean, not a a short

Categories

(Core :: Audio/Video, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: Dolske, Assigned: cajbir)

References

Details

Attachments

(1 file)

From nsIDOMHTMLMediaElement.idl:

  readonly attribute unsigned short paused;

From WHATWG spec:

  readonly attribute boolean paused;

Found this with some code doing something like foo.setAttribute("bar", video.paused), and was getting "1" when the video was paused (instead of "true").
Assignee: nobody → chris.double
Status: NEW → ASSIGNED
Attachment #344971 - Flags: superreview?(roc)
Attachment #344971 - Flags: review?(roc)
Attachment #344971 - Flags: superreview?(roc)
Attachment #344971 - Flags: superreview+
Attachment #344971 - Flags: review?(roc)
Attachment #344971 - Flags: review+
Blocks: 449518
http://hg.mozilla.org/mozilla-central/rev/987a6837a42b
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.