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

Issue 2694743004: Reset the nesting level for setInterval after completion. (Closed)

Created:
3 years, 10 months ago by Dan Elphick
Modified:
3 years, 10 months ago
CC:
altimin, blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset the nesting level for setInterval after completion. Previously after calling setInterval the nesting level would not be reset until after calling setTimeout, resulting in the 4ms clamping to apply even to subsequent setIntervals. BUG=331912 Review-Url: https://codereview.chromium.org/2694743004 Cr-Commit-Position: refs/heads/master@{#450756} Committed: https://chromium.googlesource.com/chromium/src/+/81f013144ccfc759101193455919b4c1d04c1715

Patch Set 1 #

Total comments: 10

Patch Set 2 : Apply review comments #

Total comments: 4

Patch Set 3 : remove use of gin #

Total comments: 2

Patch Set 4 : remove redundant copy of ExecutionContext #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -0 lines) Patch
M third_party/WebKit/Source/core/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMTimer.cpp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/frame/DOMTimerTest.cpp View 1 2 1 chunk +133 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
Dan Elphick
3 years, 10 months ago (2017-02-14 16:01:43 UTC) #3
alex clarke (OOO till 29th)
Seems pretty good, thanks! Just some nits. https://codereview.chromium.org/2694743004/diff/1/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp File third_party/WebKit/Source/core/frame/DOMTimerTest.cpp (right): https://codereview.chromium.org/2694743004/diff/1/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp#newcode28 third_party/WebKit/Source/core/frame/DOMTimerTest.cpp:28: platform_; Sadly ...
3 years, 10 months ago (2017-02-14 16:22:18 UTC) #5
alex clarke (OOO till 29th)
https://codereview.chromium.org/2694743004/diff/1/third_party/WebKit/Source/DEPS File third_party/WebKit/Source/DEPS (right): https://codereview.chromium.org/2694743004/diff/1/third_party/WebKit/Source/DEPS#newcode4 third_party/WebKit/Source/DEPS:4: "+gin", Maybe add a test specific one specific_include_rules = ...
3 years, 10 months ago (2017-02-14 16:28:20 UTC) #6
alex clarke (OOO till 29th)
3 years, 10 months ago (2017-02-14 16:28:53 UTC) #7
Dan Elphick
https://codereview.chromium.org/2694743004/diff/1/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp File third_party/WebKit/Source/core/frame/DOMTimerTest.cpp (right): https://codereview.chromium.org/2694743004/diff/1/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp#newcode28 third_party/WebKit/Source/core/frame/DOMTimerTest.cpp:28: platform_; On 2017/02/14 16:22:18, alex clarke wrote: > Sadly ...
3 years, 10 months ago (2017-02-14 17:11:03 UTC) #10
Dan Elphick
3 years, 10 months ago (2017-02-14 17:25:45 UTC) #14
alex clarke (OOO till 29th)
Non owner LGTM
3 years, 10 months ago (2017-02-15 09:40:03 UTC) #15
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2694743004/diff/20001/third_party/WebKit/Source/DEPS File third_party/WebKit/Source/DEPS (right): https://codereview.chromium.org/2694743004/diff/20001/third_party/WebKit/Source/DEPS#newcode4 third_party/WebKit/Source/DEPS:4: "+gin", please use macros from Source/bindings/core/v8 instead https://codereview.chromium.org/2694743004/diff/20001/third_party/WebKit/Source/core/frame/DOMTimer.cpp File ...
3 years, 10 months ago (2017-02-15 10:35:13 UTC) #16
Dan Elphick
Thanks https://codereview.chromium.org/2694743004/diff/20001/third_party/WebKit/Source/DEPS File third_party/WebKit/Source/DEPS (right): https://codereview.chromium.org/2694743004/diff/20001/third_party/WebKit/Source/DEPS#newcode4 third_party/WebKit/Source/DEPS:4: "+gin", On 2017/02/15 10:35:12, jochen wrote: > please ...
3 years, 10 months ago (2017-02-15 14:03:33 UTC) #17
jochen (gone - plz use gerrit)
lgtm with comment addressed https://codereview.chromium.org/2694743004/diff/40001/third_party/WebKit/Source/core/frame/DOMTimer.cpp File third_party/WebKit/Source/core/frame/DOMTimer.cpp (right): https://codereview.chromium.org/2694743004/diff/40001/third_party/WebKit/Source/core/frame/DOMTimer.cpp#newcode162 third_party/WebKit/Source/core/frame/DOMTimer.cpp:162: ExecutionContext* executionContext = getExecutionContext(); sorry ...
3 years, 10 months ago (2017-02-15 15:26:48 UTC) #18
Dan Elphick
https://codereview.chromium.org/2694743004/diff/40001/third_party/WebKit/Source/core/frame/DOMTimer.cpp File third_party/WebKit/Source/core/frame/DOMTimer.cpp (right): https://codereview.chromium.org/2694743004/diff/40001/third_party/WebKit/Source/core/frame/DOMTimer.cpp#newcode162 third_party/WebKit/Source/core/frame/DOMTimer.cpp:162: ExecutionContext* executionContext = getExecutionContext(); On 2017/02/15 15:26:48, jochen wrote: ...
3 years, 10 months ago (2017-02-15 16:24:53 UTC) #19
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/2694743004/60001
3 years, 10 months ago (2017-02-15 16:25:37 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 19:10:35 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/81f013144ccfc759101193455919...

Powered by Google App Engine
This is Rietveld 408576698