|
|
Created:
5 years, 8 months ago by caitp (gmail) Modified:
5 years, 8 months ago CC:
v8-dev Base URL:
https://chromium.googlesource.com/v8/v8.git@master Target Ref:
refs/pending/heads/master Project:
v8 Visibility:
Public. |
Description[es6] ship @@toStringTag
BUG=v8:3502
R=arv@chromium.org
LOG=N
Committed: https://crrev.com/eef2b9b09723ba1dae3ec0172341e93e9030ada0
Cr-Commit-Position: refs/heads/master@{#27767}
Patch Set 1 #Patch Set 2 : Fix function-arguments-null test #Patch Set 3 : Fix prototype-ordinary-objects test #
Total comments: 4
Patch Set 4 : Simpler fixfor prototype-ordinary-objects.js #Patch Set 5 : Fix broken ARM64 test #Patch Set 6 : Do test-fixing in crrev.com/1072083002 #Patch Set 7 : Do test-fixing in crrev.com/1072083002 #Messages
Total messages: 59 (25 generated)
PTAL
LGTM
The CQ bit was checked by caitpotter88@gmail.com
The CQ bit was unchecked by caitpotter88@gmail.com
The CQ bit was checked by caitpotter88@gmail.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072573002/1
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/build...)
On 2015/04/08 18:25:11, I haz the power (commit-bot) wrote: > Try jobs failed on following builders: > v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, > http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/build...) I think this is one of those "strict mode natives" issues :( should the test just be deleted?
On 2015/04/08 18:36:15, caitp wrote: > On 2015/04/08 18:25:11, I haz the power (commit-bot) wrote: > > Try jobs failed on following builders: > > v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, > > > http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/build...) > > I think this is one of those "strict mode natives" issues :( should the test > just be deleted? There's no web compat issue, (or at least, FF throws trying to access it), so I think it's safe to get rid of it
The CQ bit was checked by caitpotter88@gmail.com
The patchset sent to the CQ was uploaded after l-g-t-m from arv@chromium.org Link to the patchset: https://codereview.chromium.org/1072573002/#ps20001 (title: "Fix function-arguments-null test")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072573002/20001
LGTM That test is much improved over the old one.
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/4560)
On 2015/04/08 19:23:22, I haz the power (commit-bot) wrote: > Try jobs failed on following builders: > v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, > http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/4560) that one looks unrelated to me. flake?
On 2015/04/08 19:36:20, caitp wrote: > On 2015/04/08 19:23:22, I haz the power (commit-bot) wrote: > > Try jobs failed on following builders: > > v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, > > > http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/4560) > > that one looks unrelated to me. flake? You can try again.
The CQ bit was checked by caitpotter88@gmail.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072573002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/4564)
The CQ bit was checked by caitpotter88@gmail.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072573002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/4568)
On 2015/04/09 01:34:18, I haz the power (commit-bot) wrote: > Try jobs failed on following builders: > v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, > http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/4568) jeeze, okay, will deal with that tomorrow ._> this is turning out to be sort of hard to ship =]
The CQ bit was checked by caitpotter88@gmail.com
The patchset sent to the CQ was uploaded after l-g-t-m from arv@chromium.org Link to the patchset: https://codereview.chromium.org/1072573002/#ps40001 (title: "Fix prototype-ordinary-objects test")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072573002/40001
The CQ bit was unchecked by caitpotter88@gmail.com
LGTM https://codereview.chromium.org/1072573002/diff/40001/test/mjsunit/es6/protot... File test/mjsunit/es6/prototype-ordinary-objects.js (right): https://codereview.chromium.org/1072573002/diff/40001/test/mjsunit/es6/protot... test/mjsunit/es6/prototype-ordinary-objects.js:59: // %TypedArray% [ @@toStringTag ] is an accessor which returns undefined if Do we have a bug then? Float32Array etc above should have a @@toStringTag. Maybe the above test should first have deleted the @@toStringTag? https://codereview.chromium.org/1072573002/diff/40001/test/mjsunit/es6/protot... test/mjsunit/es6/prototype-ordinary-objects.js:76: assertEquals(`[object ${name}]`, Object.prototype.toString.call(p)); update line 54 for consistency?
https://codereview.chromium.org/1072573002/diff/40001/test/mjsunit/es6/protot... File test/mjsunit/es6/prototype-ordinary-objects.js (right): https://codereview.chromium.org/1072573002/diff/40001/test/mjsunit/es6/protot... test/mjsunit/es6/prototype-ordinary-objects.js:59: // %TypedArray% [ @@toStringTag ] is an accessor which returns undefined if On 2015/04/09 13:41:22, arv wrote: > Do we have a bug then? Float32Array etc above should have a @@toStringTag. They have @@toStringTag --- it's a getter which is spec'd to return undefined if `this` is not a %TypedArray% (eg. when getting it via the prototype, which is an ordinary object). It's doing the right thing here > Maybe the above test should first have deleted the @@toStringTag? Hmm --- since @@toStringTag is tested separately, I guess it's simpler to just do that https://codereview.chromium.org/1072573002/diff/40001/test/mjsunit/es6/protot... test/mjsunit/es6/prototype-ordinary-objects.js:76: assertEquals(`[object ${name}]`, Object.prototype.toString.call(p)); On 2015/04/09 13:41:22, arv wrote: > update line 54 for consistency? Acknowledged.
The CQ bit was checked by caitpotter88@gmail.com
The patchset sent to the CQ was uploaded after l-g-t-m from arv@chromium.org Link to the patchset: https://codereview.chromium.org/1072573002/#ps60001 (title: "Simpler fixfor prototype-ordinary-objects.js")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072573002/60001
Still LGTM
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/4599)
On 2015/04/09 14:46:24, I haz the power (commit-bot) wrote: > Try jobs failed on following builders: > v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, > http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/4599) It seems that old code-space is larger on arm64 with this flag enabled, because Object.prototype.toString is replaced, and the arithmetic just works out that way with this replacement on ARM. So, a bit more work, but ObjectToString needs to be not installed if this flag is flipped on.
On 2015/04/09 15:25:23, caitp wrote: > On 2015/04/09 14:46:24, I haz the power (commit-bot) wrote: > > Try jobs failed on following builders: > > v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, > > > http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/4599) > > It seems that old code-space is larger on arm64 with this flag enabled, because > Object.prototype.toString is replaced, and the arithmetic just works out that > way with this replacement on ARM. > > So, a bit more work, but ObjectToString needs to be not installed if this flag > is flipped on. I've updated the code so that it doesn't "replace" an old property (makes harmony-tostring.js a bit smaller, and v8natives.js/runtime-internal.cc slightly bigger), but it fixes the test failure... Sigh, it's getting a bit big for a "flip the switch" patch :| think I prefer to move these extra changes into a separate CL which can land first, so that it's easier to revert if necessary
On 2015/04/09 15:50:26, caitp wrote: > Sigh, it's getting a bit big for a "flip the switch" patch :| think I prefer to > move these extra changes into a separate CL which can land first, so that it's > easier to revert if necessary Yes, sounds like a good idea.
The CQ bit was checked by caitpotter88@gmail.com
The patchset sent to the CQ was uploaded after l-g-t-m from arv@chromium.org Link to the patchset: https://codereview.chromium.org/1072573002/#ps120001 (title: "Do test-fixing in crrev.com/1072083002")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072573002/120001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/5...)
The CQ bit was checked by caitpotter88@gmail.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072573002/120001
On 2015/04/10 04:27:08, I haz the power (commit-bot) wrote: > Try jobs failed on following builders: > linux_blink_rel on tryserver.blink (JOB_FAILED, > http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/5...) It looks like just 3 @@toStringTag-related failures locally, just want the dry-run to verify It's all tests expecting O.p.toString(promise) to be `[object Object]` but now being the spec'd value.
On 2015/04/10 22:03:54, caitp wrote: > On 2015/04/10 04:27:08, I haz the power (commit-bot) wrote: > > Try jobs failed on following builders: > > linux_blink_rel on tryserver.blink (JOB_FAILED, > > > http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/5...) > > It looks like just 3 @@toStringTag-related failures locally, just want the > dry-run to verify > > It's all tests expecting O.p.toString(promise) to be `[object Object]` but now > being the spec'd value. I think some of the failures in the dryrun are fixed by the followup "delete dead code" patch
The CQ bit was unchecked by caitpotter88@gmail.com
The CQ bit was checked by caitpotter88@gmail.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072573002/120001
The CQ bit was unchecked by caitpotter88@gmail.com
The CQ bit was checked by caitpotter88@gmail.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072573002/120001
Message was sent while issue was closed.
Committed patchset #7 (id:120001)
Message was sent while issue was closed.
Patchset 7 (id:??) landed as https://crrev.com/eef2b9b09723ba1dae3ec0172341e93e9030ada0 Cr-Commit-Position: refs/heads/master@{#27767} |