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

Issue 1378213002: Implement ByteLengthQueuingStrategy (Closed)

Created:
5 years, 2 months ago by domenic
Modified:
5 years, 2 months ago
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement ByteLengthQueuingStrategy This implements the ByteLengthQueuingStrategy class, using experimental V8 extras (so that it will only show up with experimental web platform features enabled). It is a very simple initial step toward implementing ReadableStream using the same mechanisms. BUG=503491 R=yhirano@chromium.org,tyoshino@chromium.org,jochen@chromium.org Committed: https://crrev.com/f630fa0f19dec2f48f4cdd1fcc94488ebe6d3d9e Cr-Commit-Position: refs/heads/master@{#352951}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Test tweaks #

Total comments: 1

Patch Set 3 : Tweak test description #

Patch Set 4 : gyp fun times #

Patch Set 5 : Go back to common.gypi and also do gn #

Patch Set 6 : Various fixes #

Patch Set 7 : Fix webexposed tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -1 line) Patch
M build/common.gypi View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M build/module_args/v8.gni View 1 2 3 4 5 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.html View 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-compositor-worker-expected.txt View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js View 1 2 3 4 5 6 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (14 generated)
domenic
See https://github.com/whatwg/streams/commit/bbb51cb064358e99263545cc51d4c7de3c154a1e for a start at trying to move the tests over to web-platform-tests format ...
5 years, 2 months ago (2015-09-30 22:49:07 UTC) #1
yhirano
I'd love to have a style rule guideline for JS code using V8 Extra. The ...
5 years, 2 months ago (2015-10-01 02:15:51 UTC) #3
domenic
On 2015/10/01 at 02:15:51, yhirano wrote: > I'd love to have a style rule guideline ...
5 years, 2 months ago (2015-10-01 16:16:33 UTC) #4
yhirano
https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js File third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js (right): https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js#newcode44 third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js:44: It would be good to have a test checking ...
5 years, 2 months ago (2015-10-02 07:27:16 UTC) #5
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.html File third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.html (right): https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.html#newcode12 third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.html:12: service_worker_test('byte-length-queuing-strategy.js'); So, this test is run with HTTP server ...
5 years, 2 months ago (2015-10-02 11:33:28 UTC) #6
domenic
https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.html File third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.html (right): https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.html#newcode12 third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.html:12: service_worker_test('byte-length-queuing-strategy.js'); On 2015/10/02 at 11:33:28, tyoshino wrote: > So, ...
5 years, 2 months ago (2015-10-02 22:32:15 UTC) #7
yhirano
lgtm
5 years, 2 months ago (2015-10-05 01:22:40 UTC) #8
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js File third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js (right): https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js#newcode43 third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js:43: }, 'ByteLengthQueuingStrategy constructor behaves as expected with wrong ...
5 years, 2 months ago (2015-10-05 07:55:46 UTC) #9
domenic
On 2015/10/05 at 07:55:46, tyoshino wrote: > Ahh, sorry. By "first case", I meant highWaterMarkObjectGetter. ...
5 years, 2 months ago (2015-10-05 17:31:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1378213002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1378213002/40001
5 years, 2 months ago (2015-10-05 17:50:06 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/106719)
5 years, 2 months ago (2015-10-05 18:30:36 UTC) #15
domenic
On 2015/10/05 at 18:30:36, commit-bot wrote: > Try jobs failed on following builders: > chromium_presubmit ...
5 years, 2 months ago (2015-10-05 18:33:55 UTC) #18
tyoshino (SeeGerritForStatus)
On 2015/10/05 17:31:07, domenic wrote: > On 2015/10/05 at 07:55:46, tyoshino wrote: > > > ...
5 years, 2 months ago (2015-10-06 04:16:26 UTC) #19
jochen (gone - plz use gerrit)
lgtm the definition needs to be in common.gypi because that's the only file that is ...
5 years, 2 months ago (2015-10-07 09:33:25 UTC) #20
domenic
On 2015/10/07 at 09:33:25, jochen wrote: > lgtm > > the definition needs to be ...
5 years, 2 months ago (2015-10-07 16:31:48 UTC) #21
jochen (gone - plz use gerrit)
On 2015/10/07 at 16:31:48, domenic wrote: > On 2015/10/07 at 09:33:25, jochen wrote: > > ...
5 years, 2 months ago (2015-10-07 16:53:30 UTC) #22
domenic
On 2015/10/07 at 16:53:30, jochen wrote: > On 2015/10/07 at 16:31:48, domenic wrote: > > ...
5 years, 2 months ago (2015-10-07 16:55:41 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1378213002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1378213002/80001
5 years, 2 months ago (2015-10-07 17:10:42 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/141904) linux_chromium_gn_chromeos_rel on ...
5 years, 2 months ago (2015-10-07 17:31:01 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1378213002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1378213002/100001
5 years, 2 months ago (2015-10-07 17:36:57 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/117733)
5 years, 2 months ago (2015-10-07 19:11:29 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1378213002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1378213002/120001
5 years, 2 months ago (2015-10-07 19:11:53 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-07 20:32:49 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1378213002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1378213002/120001
5 years, 2 months ago (2015-10-07 21:37:24 UTC) #38
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 2 months ago (2015-10-07 21:46:03 UTC) #39
commit-bot: I haz the power
5 years, 2 months ago (2015-10-07 21:46:51 UTC) #40
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/f630fa0f19dec2f48f4cdd1fcc94488ebe6d3d9e
Cr-Commit-Position: refs/heads/master@{#352951}

Powered by Google App Engine
This is Rietveld 408576698