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

Issue 869513004: SuspendableScriptExecutor executes code once (Closed)

Created:
5 years, 10 months ago by kozy
Modified:
5 years, 10 months ago
Reviewers:
pfeldman
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

SuspendableScriptExecutor executes code once When executor runs blocking code for example call alert. It receives more then one resume call and without this CL try execute code more then once. R=pfeldman@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189626

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -13 lines) Patch
M Source/web/SuspendableScriptExecutor.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M Source/web/SuspendableScriptExecutor.cpp View 1 2 3 3 chunks +13 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
kozy
Pavel, please take a look.
5 years, 10 months ago (2015-02-04 11:41:07 UTC) #1
pfeldman
https://codereview.chromium.org/869513004/diff/1/Source/web/SuspendableScriptExecutor.cpp File Source/web/SuspendableScriptExecutor.cpp (right): https://codereview.chromium.org/869513004/diff/1/Source/web/SuspendableScriptExecutor.cpp#newcode27 Source/web/SuspendableScriptExecutor.cpp:27: if (!m_isStarted) This implies that the code containing alert ...
5 years, 10 months ago (2015-02-04 12:45:20 UTC) #2
kozy
please take a look https://codereview.chromium.org/869513004/diff/1/Source/web/SuspendableScriptExecutor.cpp File Source/web/SuspendableScriptExecutor.cpp (right): https://codereview.chromium.org/869513004/diff/1/Source/web/SuspendableScriptExecutor.cpp#newcode27 Source/web/SuspendableScriptExecutor.cpp:27: if (!m_isStarted) On 2015/02/04 12:45:20, ...
5 years, 10 months ago (2015-02-04 13:12:33 UTC) #3
kozy
SupendableScriptExecutor inherits SuspendableTimer instead ActiveDOMObject. In run method we call execute if context is not ...
5 years, 10 months ago (2015-02-05 09:02:49 UTC) #4
pfeldman
https://codereview.chromium.org/869513004/diff/40001/Source/web/SuspendableScriptExecutor.cpp File Source/web/SuspendableScriptExecutor.cpp (right): https://codereview.chromium.org/869513004/diff/40001/Source/web/SuspendableScriptExecutor.cpp#newcode59 Source/web/SuspendableScriptExecutor.cpp:59: suspendIfNeeded(); Why do you make this call?
5 years, 10 months ago (2015-02-05 13:49:42 UTC) #5
kozy
https://codereview.chromium.org/869513004/diff/40001/Source/web/SuspendableScriptExecutor.cpp File Source/web/SuspendableScriptExecutor.cpp (right): https://codereview.chromium.org/869513004/diff/40001/Source/web/SuspendableScriptExecutor.cpp#newcode59 Source/web/SuspendableScriptExecutor.cpp:59: suspendIfNeeded(); On 2015/02/05 13:49:42, pfeldman wrote: > Why do ...
5 years, 10 months ago (2015-02-05 14:58:26 UTC) #6
pfeldman
lgtm
5 years, 10 months ago (2015-02-05 19:52:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/869513004/60001
5 years, 10 months ago (2015-02-05 19:53:48 UTC) #9
pfeldman
lgtm
5 years, 10 months ago (2015-02-05 19:55:49 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/49513)
5 years, 10 months ago (2015-02-05 21:54:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/869513004/60001
5 years, 10 months ago (2015-02-06 07:13:44 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 08:50:08 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189626

Powered by Google App Engine
This is Rietveld 408576698