[Bug 25356] New: Update DataCue constructor to take an any arugment that matches DataCue.value and an optional type argument

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25356

            Bug ID: 25356
           Summary: Update DataCue constructor to take an any arugment
                    that matches DataCue.value and an optional type
                    argument
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: eoconnor@apple.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

Assuming bug 25353 is accepted, DataCue's constructor needs to be updated to
take this into account. If bug 25355 is accepted, DataCue's constructor also
needs to be able to populate .type.

Something like this should work:

new DataCue( [ startTime, endTime, value, type? ] )

If an ArrayBuffer is passed in for value, it is used as the value of .data on
the new DataCue. If value is some other type, it gets exposed on .value.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 15 April 2014 20:45:41 UTC