RESOLVED FIXED Bug 124343
Clean up sequence handling in Blob constructor
https://bugs.webkit.org/show_bug.cgi?id=124343
Summary Clean up sequence handling in Blob constructor
Victor Costan
Reported 2013-11-14 03:37:17 PST
This is a follow-up to Alexey Proskuryakov's feedback on https://bugs.webkit.org/show_bug.cgi?id=124175
Attachments
Patch (4.76 KB, patch)
2013-11-14 04:11 PST, Victor Costan
no flags
Patch (4.74 KB, patch)
2013-11-14 15:53 PST, Victor Costan
no flags
Patch (4.75 KB, patch)
2013-11-14 16:16 PST, Victor Costan
no flags
Victor Costan
Comment 1 2013-11-14 04:11:28 PST
Victor Costan
Comment 2 2013-11-14 05:04:41 PST
The LayoutTest I added actually works without the new exception check. I think it's still valuable because it demonstrates correct behavior, and it uncovered a crashing bug in the Blink patch for the same feature.
Chris Dumez
Comment 3 2013-11-14 11:19:04 PST
Comment on attachment 216917 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=216917&action=review > Source/WebCore/bindings/js/JSBlobCustom.cpp:124 > + blobBuilder.append(arrayBufferView); nit: We might want to arrayBufferView.release() to avoid some ref counting churn.
Victor Costan
Comment 4 2013-11-14 15:53:34 PST
Victor Costan
Comment 5 2013-11-14 15:54:11 PST
Thank you for catching that, Chris! Can you please take another look?
Chris Dumez
Comment 6 2013-11-14 16:12:08 PST
(In reply to comment #5) > Thank you for catching that, Chris! Can you please take another look? No need for additional review, it was merely a nit. Just update the Changelog to indicate that it was reviewed by Alexey and reupload with the cq+ flag only.
Victor Costan
Comment 7 2013-11-14 16:16:11 PST
WebKit Commit Bot
Comment 8 2013-11-14 16:16:56 PST
Comment on attachment 216995 [details] Patch Rejecting attachment 216995 [details] from commit-queue. costan@gmail.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json. - If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
Victor Costan
Comment 9 2013-11-14 16:18:29 PST
Chris, it seems like I'm not cool enough to use CQ directly. Sorry, it seems like you and/or Alexey will have to r+ the patch.
Chris Dumez
Comment 10 2013-11-14 16:22:24 PST
(In reply to comment #9) > Chris, it seems like I'm not cool enough to use CQ directly. > > Sorry, it seems like you and/or Alexey will have to r+ the patch. Sorry I meant that you should set the cq? flag (not cq+ since you're not a committer). It is OK, I cq+ for you.
Victor Costan
Comment 11 2013-11-14 16:24:16 PST
Sorry to cause you extra work, Chris! I'll know better next time! :) Thanks!!
WebKit Commit Bot
Comment 12 2013-11-14 16:53:33 PST
Comment on attachment 216995 [details] Patch Clearing flags on attachment: 216995 Committed r159323: <http://trac.webkit.org/changeset/159323>
WebKit Commit Bot
Comment 13 2013-11-14 16:53:36 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.