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

Issue 2196543003: Add a pre-finalizer to PromiseRejectionEvent (Closed)

Created:
4 years, 4 months ago by haraken
Modified:
4 years, 4 months ago
Reviewers:
oilpan-reviews, sof, ulan
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a pre-finalizer to PromiseRejectionEvent We need to clear ScopedPersistents so that V8 doesn't call phantom callbacks after Oilpan starts lazy sweeping. BUG=626893 Committed: https://crrev.com/07d2ad752c2749ca67adb8051bf5591f57e06046 Cr-Commit-Position: refs/heads/master@{#408742}

Patch Set 1 #

Patch Set 2 : temp #

Total comments: 1

Patch Set 3 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M third_party/WebKit/Source/core/events/PromiseRejectionEvent.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp View 1 2 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
haraken
PTAL (I'd prefer a pre-finalizer since we need to use the OPERATOR_NEW macro if we ...
4 years, 4 months ago (2016-07-29 15:47:05 UTC) #2
sof
lgtm, but it shows how unnatural a device prefinalizers are.
4 years, 4 months ago (2016-07-29 16:10:47 UTC) #5
sof
https://codereview.chromium.org/2196543003/diff/20001/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp File third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp (right): https://codereview.chromium.org/2196543003/diff/20001/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp#newcode38 third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp:38: m_promise.clear(); Please clear m_scriptState also.
4 years, 4 months ago (2016-07-29 16:34:09 UTC) #6
haraken
On 2016/07/29 16:34:09, sof wrote: > https://codereview.chromium.org/2196543003/diff/20001/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp > File third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp (right): > > https://codereview.chromium.org/2196543003/diff/20001/third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp#newcode38 > ...
4 years, 4 months ago (2016-07-29 18:32:51 UTC) #9
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/2196543003/2
4 years, 4 months ago (2016-07-29 18:33:39 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:2)
4 years, 4 months ago (2016-07-29 21:06:09 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 21:09:13 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/07d2ad752c2749ca67adb8051bf5591f57e06046
Cr-Commit-Position: refs/heads/master@{#408742}

Powered by Google App Engine
This is Rietveld 408576698