Bug 132478

Summary: Don't abuse Blob deserialization constructor in WebSocket
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore Misc.Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch sam: review+

Description Alexey Proskuryakov 2014-05-02 12:23:23 PDT
WebSocket makes a copy of Blob for no reason.
Comment 1 Alexey Proskuryakov 2014-05-02 12:27:46 PDT
Created attachment 230683 [details]
proposed patch
Comment 2 Sam Weinig 2014-05-02 12:36:03 PDT
Comment on attachment 230683 [details]
proposed patch

I would keep this a reference (you can take off the const).  Otherwise, r=me
Comment 3 Alexey Proskuryakov 2014-05-02 12:44:38 PDT
Committed <http://trac.webkit.org/r168183>.