[Webkit-unassigned] [Bug 85961] New: XHR/WebSocket: send(ArrayBuffer) -> send(ArrayBufferView)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 9 00:17:40 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=85961

           Summary: XHR/WebSocket: send(ArrayBuffer) ->
                    send(ArrayBufferView)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yutak at chromium.org
                CC: ap at webkit.org, ian at hixie.ch, kbr at google.com,
                    bashi at chromium.org, toyoshim at chromium.org


Recently, annevk and hixie have changed XHR/WebSocket spec so {XMLHttpRequest,WebSocket}.send() could accept ArrayBufferView instead of ArrayBuffer:

http://dvcs.w3.org/hg/xhr/rev/f0c81ac5c134  (XHR spec change)
http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-send()-method  (XHR latest spec)

http://html5.org/tools/web-apps-tracker?from=7084&to=7085  (WebSocket spec change)
http://dev.w3.org/html5/websockets/#dom-websocket-send  (WebSocket latest spec)

Related discussion:
http://lists.w3.org/Archives/Public/public-webapps/2012AprJun/0141.html


However, this change yields compatibility breakage (i.e. existing code using send(ArrayBuffer) will no longer work), so we might want to discuss how to deal with it before implementing it.

-- 
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