[Bug 24687] New: DataCue: clarify that .data should be a clone of data argument and not a pointer

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

            Bug ID: 24687
           Summary: DataCue: clarify that .data should be a clone of data
                    argument and not a pointer
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: silviapfeiffer1@gmail.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

The spec for the DataCue constructor says "The data argument sets the raw data
of the text track cue." Brendan reads "sets" as "=" and "someObject.data =
someArrayBuffer" won't create a copy.

See thread at:
http://lists.w3.org/Archives/Public/public-html/2014Feb/0032.html

We probably need to say that .data is a "structured clone" of the data
parameter object (referring to "2.7.6 Safe passing of structured data").

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

Received on Sunday, 16 February 2014 20:59:48 UTC