|
|
Created:
5 years ago by Dan Ehrenberg Modified:
5 years ago CC:
Paweł Hajdan Jr., v8-reviews_googlegroups.com Base URL:
https://chromium.googlesource.com/v8/v8.git@master Target Ref:
refs/pending/heads/master Project:
v8 Visibility:
Public. |
DescriptionDeprecate Promise::Chain from V8 APIs
The Promise::Chain logic is moved to a helper function to avoid
a violation of deprecated function usage.
R=rossberg,jochen
BUG=v8:3237
LOG=Y
Committed: https://crrev.com/91e1b9f67b20d4d26c0297704e3216912dd4011b
Cr-Commit-Position: refs/heads/master@{#32670}
Patch Set 1 #Patch Set 2 : Remove redundantly adding promise_chain when flag is passed #Patch Set 3 : new version #Patch Set 4 : Fix linter errors #Patch Set 5 : See if linter errors are fixed now #Patch Set 6 : Alphabetize includes #
Total comments: 2
Patch Set 7 : Rebase #Messages
Total messages: 42 (19 generated)
The CQ bit was checked by littledan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477023002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477023002/1
The CQ bit was checked by littledan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477023002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477023002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: v8_linux_gcc_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_gcc_compile_rel/bu...)
Based on this trybot failure, looks like I have to wait for a release to go by which removes the other one, and then remove this one. Is that right?
just pull Chain out into a helper function and invoke that from the both Promise::Chain variants
The CQ bit was checked by littledan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477023002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477023002/20001
On 2015/11/26 at 13:24:06, jochen wrote: > just pull Chain out into a helper function and invoke that from the both Promise::Chain variants Done, but compilation seems to still fail for some reason. I don't quite understand it yet. In file included from ../../third_party/skia/include/core/SkRefCnt.h:128: ../../skia/config/sk_ref_cnt_ext_debug.h:17:3: error: [chromium-style] Complex constructor has an inlined body. SkRefCnt() : flags_(0) {} ^ ../../skia/config/sk_ref_cnt_ext_debug.h:15:1: error: [chromium-style] Complex class/struct needs an explicit out-of-line destructor. class SK_API SkRefCnt : public SkRefCntBase { ^ 2 errors generated.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/...) v8_linux64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel/builds/12751) v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/1...) v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/11043) v8_linux_dbg on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg/builds/11652) v8_linux_mips64el_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_mips64el_compile_r...) v8_linux_mipsel_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_mipsel_compile_rel...) v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/build...) v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/8562)
The CQ bit was checked by littledan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477023002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477023002/40001
Description was changed from ========== Deprecate Promise::Chain from V8 APIs Because it will take a full release cycle to remove an API like this, this patch installs promise_chain to the context regardless of whether the --promise_extra flag is passed. This way, we could unship Promise.prototype.chain while leaving it in the API for a bit longer. R=rossberg,jochen BUG=v8:3237 LOG=Y ========== to ========== Deprecate Promise::Chain from V8 APIs The Promise::Chain logic is moved to a helper function to avoid a violation of deprecated function usage. R=rossberg,jochen BUG=v8:3237 LOG=Y ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/8564)
On 2015/12/04 at 21:01:01, Dan Ehrenberg wrote: > On 2015/11/26 at 13:24:06, jochen wrote: > > just pull Chain out into a helper function and invoke that from the both Promise::Chain variants > > Done, but compilation seems to still fail for some reason. I don't quite understand it yet. > > In file included from ../../third_party/skia/include/core/SkRefCnt.h:128: > ../../skia/config/sk_ref_cnt_ext_debug.h:17:3: error: [chromium-style] Complex constructor has an inlined body. > SkRefCnt() : flags_(0) {} > ^ > ../../skia/config/sk_ref_cnt_ext_debug.h:15:1: error: [chromium-style] Complex class/struct needs an explicit out-of-line destructor. > class SK_API SkRefCnt : public SkRefCntBase { > ^ > 2 errors generated. Sorry, please ignore that update; working on a fix for the issue.
The CQ bit was checked by littledan@chromium.org to run a CQ dry run
Description was changed from ========== Deprecate Promise::Chain from V8 APIs The Promise::Chain logic is moved to a helper function to avoid a violation of deprecated function usage. R=rossberg,jochen BUG=v8:3237 LOG=Y ========== to ========== Deprecate Promise::Chain from V8 APIs The Promise::Chain logic is moved to a helper function to avoid a violation of deprecated function usage. Also fixed a number of old lint errors. R=rossberg,jochen BUG=v8:3237 LOG=Y ==========
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477023002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477023002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/8565)
The CQ bit was checked by littledan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477023002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477023002/80001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/8568)
The CQ bit was checked by littledan@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477023002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477023002/100001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
PTAL
lgtm with comment addressed https://codereview.chromium.org/1477023002/diff/100001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1477023002/diff/100001/src/api.cc#newcode889 src/api.cc:889: DCHECK_LT(offset, length()); could you please move the unrelated refactoring to a separate CL?
https://codereview.chromium.org/1477023002/diff/100001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/1477023002/diff/100001/src/api.cc#newcode889 src/api.cc:889: DCHECK_LT(offset, length()); On 2015/12/07 at 15:39:54, jochen wrote: > could you please move the unrelated refactoring to a separate CL? It seems like the lint checking recently got more strict. I'll have to do this other lint fix patch before the deprecation one goes in. I'll get back to you with that in a few days.
Description was changed from ========== Deprecate Promise::Chain from V8 APIs The Promise::Chain logic is moved to a helper function to avoid a violation of deprecated function usage. Also fixed a number of old lint errors. R=rossberg,jochen BUG=v8:3237 LOG=Y ========== to ========== Deprecate Promise::Chain from V8 APIs The Promise::Chain logic is moved to a helper function to avoid a violation of deprecated function usage. R=rossberg,jochen BUG=v8:3237 LOG=Y ==========
The CQ bit was checked by littledan@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from jochen@chromium.org Link to the patchset: https://codereview.chromium.org/1477023002/#ps120001 (title: "Rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477023002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477023002/120001
Message was sent while issue was closed.
Committed patchset #7 (id:120001)
Message was sent while issue was closed.
Description was changed from ========== Deprecate Promise::Chain from V8 APIs The Promise::Chain logic is moved to a helper function to avoid a violation of deprecated function usage. R=rossberg,jochen BUG=v8:3237 LOG=Y ========== to ========== Deprecate Promise::Chain from V8 APIs The Promise::Chain logic is moved to a helper function to avoid a violation of deprecated function usage. R=rossberg,jochen BUG=v8:3237 LOG=Y Committed: https://crrev.com/91e1b9f67b20d4d26c0297704e3216912dd4011b Cr-Commit-Position: refs/heads/master@{#32670} ==========
Message was sent while issue was closed.
Patchset 7 (id:??) landed as https://crrev.com/91e1b9f67b20d4d26c0297704e3216912dd4011b Cr-Commit-Position: refs/heads/master@{#32670} |