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
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
I'd love to have a style rule guideline for JS code using V8 Extra. The
guideline would be Blink-wide because V8 Extra will also be used by other
modules. We don't have to wait for the conclusion, but we can start a discussion
in blink-dev. What do you think?
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
On 2015/10/01 at 02:15:51, yhirano wrote:
> I'd love to have a style rule guideline for JS code using V8 Extra. The
guideline would be Blink-wide because V8 Extra will also be used by other
modules. We don't have to wait for the conclusion, but we can start a discussion
in blink-dev. What do you think?
Yes, that makes sense to me. I will start a blink-dev thread.
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
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
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
https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTe...
File
third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.html
(right):
https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTe...
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, this test is run with HTTP server (placed in http/tests/...) since we want
to check that it works under ServiceWorker environment?
Yes. I followed the pattern from the promise rejection event tests which are
another cross-environment feature.
https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTe...
File
third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js
(right):
https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTe...
third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js:43:
}, 'ByteLengthQueuingStrategy constructor behaves as expected with wrong
arguments');
On 2015/10/02 at 11:33:28, tyoshino wrote:
> nitpick: is the first test case considered to be using a wrong argument?
Yeah. (The wrong argument is undefined.)
https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTe...
third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js:44:
On 2015/10/02 at 07:27:16, yhirano wrote:
> It would be good to have a test checking that "highwaterMark" value is
settable after construction.
Added. Kind of redundant with the property descriptor check but might as well
have it.
yhirano
lgtm
5 years, 2 months ago
(2015-10-05 01:22:40 UTC)
#8
lgtm
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
lgtm
https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTe...
File
third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js
(right):
https://codereview.chromium.org/1378213002/diff/1/third_party/WebKit/LayoutTe...
third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js:43:
}, 'ByteLengthQueuingStrategy constructor behaves as expected with wrong
arguments');
On 2015/10/02 22:32:14, domenic wrote:
> On 2015/10/02 at 11:33:28, tyoshino wrote:
> > nitpick: is the first test case considered to be using a wrong argument?
>
> Yeah. (The wrong argument is undefined.)
Ahh, sorry. By "first case", I meant highWaterMarkObjectGetter. I was looking at
L24-L27 and said "first". It was confusing.
So, my question was "new ByteLengthQueuingStrategy(highWaterMarkObjectGetter);"
is considered to be using a wrong argument?"
Any way, it's not a big deal.
https://codereview.chromium.org/1378213002/diff/20001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js
(right):
https://codereview.chromium.org/1378213002/diff/20001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js:24:
writable: true
Could you teach me which part of the ECMA spec I should read to learn how these
data property attributes are determined?
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
On 2015/10/05 at 07:55:46, tyoshino wrote:
> Ahh, sorry. By "first case", I meant highWaterMarkObjectGetter. I was looking
at L24-L27 and said "first". It was confusing.
Oh, I see now. I will change it from "wrong" to "strange".
>
https://codereview.chromium.org/1378213002/diff/20001/third_party/WebKit/Sour...
> third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js:24:
writable: true
> Could you teach me which part of the ECMA spec I should read to learn how
these data property attributes are determined?
It is indeed somewhat hard to find.
http://tc39.github.io/ecma262/#sec-ecmascript-standard-built-in-objects says
"Every other data property described in clauses 18 through 26 and in Annex B.2
has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified."
domenic
The CQ bit was checked by domenic@chromium.org
5 years, 2 months ago
(2015-10-05 17:48:55 UTC)
#11
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
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
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
On 2015/10/05 at 18:30:36, commit-bot wrote:
> Try jobs failed on following builders:
> chromium_presubmit on tryserver.chromium.linux (JOB_FAILED,
http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
Need owner-LGTM for build/common.gypi so I added jochen@. Maybe there is a
better way to do this, e.g. core/streams should have its own .gypi that gets
included, and then we don't need a build owner LGTM for all V8 extras? What do
you think, Jochen?
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
On 2015/10/05 17:31:07, domenic wrote:
> On 2015/10/05 at 07:55:46, tyoshino wrote:
>
> > Ahh, sorry. By "first case", I meant highWaterMarkObjectGetter. I was
looking
> at L24-L27 and said "first". It was confusing.
>
> Oh, I see now. I will change it from "wrong" to "strange".
>
Thanks
> >
>
https://codereview.chromium.org/1378213002/diff/20001/third_party/WebKit/Sour...
> > third_party/WebKit/Source/core/streams/ByteLengthQueuingStrategy.js:24:
> writable: true
> > Could you teach me which part of the ECMA spec I should read to learn how
> these data property attributes are determined?
>
> It is indeed somewhat hard to find.
> http://tc39.github.io/ecma262/#sec-ecmascript-standard-built-in-objects says
> "Every other data property described in clauses 18 through 26 and in Annex B.2
> has the attributes { [[Writable]]: true, [[Enumerable]]: false,
> [[Configurable]]: true } unless otherwise specified."
Got it. Thanks!
still lgtm
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
lgtm
the definition needs to be in common.gypi because that's the only file that is
included by all gyp files (including v8's gyp files).
we could move it to a separate gypi file that is included from common.gypi.
ideally, that file would be restrict to api owners, so nobody accidentally
launches some v8 extra without an approved intent to ship.
for that, maybe add a comment to the variable declaration in common.gypi that
asks ppl to get an review from an blink api owner for changes here?
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
On 2015/10/07 at 09:33:25, jochen wrote:
> lgtm
>
> the definition needs to be in common.gypi because that's the only file that is
included by all gyp files (including v8's gyp files).
>
> we could move it to a separate gypi file that is included from common.gypi.
ideally, that file would be restrict to api owners, so nobody accidentally
launches some v8 extra without an approved intent to ship.
>
> for that, maybe add a comment to the variable declaration in common.gypi that
asks ppl to get an review from an blink api owner for changes here?
So, I just uploaded a new patch set that adds a v8extras.gypi inside
core/streams that we can edit, and includes that from build/common.gypi. That
way, we can continue adding experimental extras files as we work on them without
needing review from a common.gypi owner. I also added a comment in
core/streams/v8extras.gypi saying effectively "moving stuff from experimental to
non-experimental requires API owners review".
Does this seem good?
Also ... do I need to duplicate all of this for gn too?
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
On 2015/10/07 at 16:31:48, domenic wrote:
> On 2015/10/07 at 09:33:25, jochen wrote:
> > lgtm
> >
> > the definition needs to be in common.gypi because that's the only file that
is included by all gyp files (including v8's gyp files).
> >
> > we could move it to a separate gypi file that is included from common.gypi.
ideally, that file would be restrict to api owners, so nobody accidentally
launches some v8 extra without an approved intent to ship.
> >
> > for that, maybe add a comment to the variable declaration in common.gypi
that asks ppl to get an review from an blink api owner for changes here?
>
> So, I just uploaded a new patch set that adds a v8extras.gypi inside
core/streams that we can edit, and includes that from build/common.gypi. That
way, we can continue adding experimental extras files as we work on them without
needing review from a common.gypi owner. I also added a comment in
core/streams/v8extras.gypi saying effectively "moving stuff from experimental to
non-experimental requires API owners review".
>
> Does this seem good?
Can you restrict the file to api owners? We also require an api owner review for
experimental runtime features
>
> Also ... do I need to duplicate all of this for gn too?
Yes
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
On 2015/10/07 at 16:53:30, jochen wrote:
> On 2015/10/07 at 16:31:48, domenic wrote:
> > On 2015/10/07 at 09:33:25, jochen wrote:
> > > lgtm
> > >
> > > the definition needs to be in common.gypi because that's the only file
that is included by all gyp files (including v8's gyp files).
> > >
> > > we could move it to a separate gypi file that is included from
common.gypi. ideally, that file would be restrict to api owners, so nobody
accidentally launches some v8 extra without an approved intent to ship.
> > >
> > > for that, maybe add a comment to the variable declaration in common.gypi
that asks ppl to get an review from an blink api owner for changes here?
> >
> > So, I just uploaded a new patch set that adds a v8extras.gypi inside
core/streams that we can edit, and includes that from build/common.gypi. That
way, we can continue adding experimental extras files as we work on them without
needing review from a common.gypi owner. I also added a comment in
core/streams/v8extras.gypi saying effectively "moving stuff from experimental to
non-experimental requires API owners review".
> >
> > Does this seem good?
>
>
> Can you restrict the file to api owners? We also require an api owner review
for experimental runtime features
>
>
> >
> > Also ... do I need to duplicate all of this for gn too?
>
> Yes
Oh, I see. In that case it seems better to go back to inlining everything into
build/common.gypi and build/module_args/v8.gni since we haven't lightened
anyone's review burden by doing this. Otherwise I'll have to create and maintain
parallel .gypi and .gni files anyway.
domenic
The CQ bit was checked by domenic@chromium.org to run a CQ dry run
5 years, 2 months ago
(2015-10-07 17:05:50 UTC)
#24
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
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
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
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
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
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
Issue 1378213002: Implement ByteLengthQueuingStrategy
(Closed)
Created 5 years, 2 months ago by domenic
Modified 5 years, 2 months ago
Reviewers: tyoshino (SeeGerritForStatus), yhirano, jochen (gone - plz use gerrit)
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 8