[Webkit-unassigned] [Bug 128886] New: DataCue.data should be a copy of the input ArrayBuffer, not a pointer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 16 13:11:01 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=128886
Summary: DataCue.data should be a copy of the input
ArrayBuffer, not a pointer
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: https://www.w3.org/Bugs/Public/show_bug.cgi?id=24687
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media Elements
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: b.long at cablelabs.com
This will be clarified in the HTML spec:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24687
Example:
buf = new ArrayBuffer(1);
view = new Uint8Array(buf);
view[0] = 1;
cue = new DataCue(1, 2, buf);
console.log(new Uint8Array(cue.data)[0]); // 1
view[0] = 0;
console.log(new Uint8Array(cue.data)[0]); // should still be 1
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list