Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Issue 2818963002: Comment out asserts in WritableStream.js (Closed)

Created:
3 years, 8 months ago by Adam Rice
Modified:
3 years, 8 months ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Comment out asserts in WritableStream.js assert() statements can have a major performance impact, so comment them out. They have not been removed completely as they can be easily re-enabled for debugging purposes, and are also useful as documentation. BUG=709832 Review-Url: https://codereview.chromium.org/2818963002 Cr-Commit-Position: refs/heads/master@{#465538} Committed: https://chromium.googlesource.com/chromium/src/+/8ac2349b4fc1649f4fef0a69de517ad74acabc10

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Indent fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -144 lines) Patch
M third_party/WebKit/Source/core/streams/WritableStream.js View 1 2 29 chunks +122 lines, -144 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
Adam Rice
This depends on https://codereview.chromium.org/2823563002 which I want to do a bit more work on before ...
3 years, 8 months ago (2017-04-14 15:05:02 UTC) #2
domenic
lgtm with the caveat that I can't figure out how to view the file after-patch ...
3 years, 8 months ago (2017-04-14 17:45:18 UTC) #3
Adam Rice
On 2017/04/14 17:45:18, domenic wrote: > lgtm with the caveat that I can't figure out ...
3 years, 8 months ago (2017-04-17 07:23:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2818963002/20001
3 years, 8 months ago (2017-04-19 07:03:05 UTC) #7
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 8 months ago (2017-04-19 07:03:10 UTC) #9
Adam Rice
+tyoshino for OWNERS.
3 years, 8 months ago (2017-04-19 07:04:12 UTC) #11
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/2818963002/diff/20001/third_party/WebKit/Source/core/streams/WritableStream.js File third_party/WebKit/Source/core/streams/WritableStream.js (right): https://codereview.chromium.org/2818963002/diff/20001/third_party/WebKit/Source/core/streams/WritableStream.js#newcode263 third_party/WebKit/Source/core/streams/WritableStream.js:263: // '! WritableStreamHasOperationMarkedInFlight(_stream_) is *false*'); indent
3 years, 8 months ago (2017-04-19 07:13:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2818963002/40001
3 years, 8 months ago (2017-04-19 07:28:27 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/8ac2349b4fc1649f4fef0a69de517ad74acabc10
3 years, 8 months ago (2017-04-19 09:14:45 UTC) #18
Adam Rice
3 years, 8 months ago (2017-04-20 06:30:20 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/2818963002/diff/20001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/streams/WritableStream.js (right):

https://codereview.chromium.org/2818963002/diff/20001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/streams/WritableStream.js:263: //     '!
WritableStreamHasOperationMarkedInFlight(_stream_) is *false*');
On 2017/04/19 07:13:32, tyoshino wrote:
> indent

Done.

Powered by Google App Engine
This is Rietveld 408576698