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

Issue 1312353004: (Reland) Make m_executeScriptsWaitingForResourcesTimer a loading task (Closed)

Created:
5 years, 3 months ago by alex clarke (OOO till 29th)
Modified:
5 years, 3 months ago
Reviewers:
sof, Mike West, Sami
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Make m_executeScriptsWaitingForResourcesTimer a loading task We would like to be able to prioritize loading tasks, but in order to do that we need to make sure loading tasks are posted to the right queue to make sure tasks run in the expected order. If this task is posted as a timer, and loading tasks are prioritzed, it's possible FrameHostMsg_DidStopLoading will be sent before the corresponding FrameHostMsg_DidStartLoading ipc which causes various browser tests to break. BUG=497761, 510398 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201563 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201654

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename #

Total comments: 2

Patch Set 3 : Oilpan leak fix #

Patch Set 4 : Add #if ENABLE(OILPAN) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -5 lines) Patch
M Source/core/dom/Document.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 5 chunks +24 lines, -3 lines 0 comments Download

Messages

Total messages: 26 (11 generated)
alex clarke (OOO till 29th)
5 years, 3 months ago (2015-09-01 09:29:44 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312353004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312353004/1
5 years, 3 months ago (2015-09-01 09:30:56 UTC) #4
Sami
lgtm with a nit. https://codereview.chromium.org/1312353004/diff/1/Source/core/dom/Document.h File Source/core/dom/Document.h (right): https://codereview.chromium.org/1312353004/diff/1/Source/core/dom/Document.h#newcode1126 Source/core/dom/Document.h:1126: void executeScriptsWaitingForResourcesTimerFired(); s/TimerFired//?
5 years, 3 months ago (2015-09-01 09:31:35 UTC) #5
alex clarke (OOO till 29th)
+mkwst@ Can you please review this too? Thanks! https://codereview.chromium.org/1312353004/diff/1/Source/core/dom/Document.h File Source/core/dom/Document.h (right): https://codereview.chromium.org/1312353004/diff/1/Source/core/dom/Document.h#newcode1126 Source/core/dom/Document.h:1126: void ...
5 years, 3 months ago (2015-09-01 09:37:57 UTC) #7
Mike West
LGTM
5 years, 3 months ago (2015-09-01 16:09:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312353004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312353004/20001
5 years, 3 months ago (2015-09-01 16:12:42 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://src.chromium.org/viewvc/blink?view=rev&revision=201563
5 years, 3 months ago (2015-09-01 17:24:51 UTC) #12
alex clarke (OOO till 29th)
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1304943004/ by alexclarke@chromium.org. ...
5 years, 3 months ago (2015-09-02 13:01:33 UTC) #13
sof
https://codereview.chromium.org/1312353004/diff/20001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1312353004/diff/20001/Source/core/dom/Document.cpp#newcode366 Source/core/dom/Document.cpp:366: Add } // namespace blink namespace WTF { template<> ...
5 years, 3 months ago (2015-09-02 13:58:47 UTC) #15
blink-reviews
That's really awesome and scary at the same time! Thanks ever so much for fixing ...
5 years, 3 months ago (2015-09-02 14:01:02 UTC) #16
alex clarke (OOO till 29th)
https://codereview.chromium.org/1312353004/diff/20001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1312353004/diff/20001/Source/core/dom/Document.cpp#newcode366 Source/core/dom/Document.cpp:366: On 2015/09/02 13:58:47, sof wrote: > Add > > ...
5 years, 3 months ago (2015-09-02 14:21:41 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312353004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312353004/40001
5 years, 3 months ago (2015-09-02 14:22:23 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/49920) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 3 months ago (2015-09-02 14:33:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312353004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312353004/60001
5 years, 3 months ago (2015-09-02 16:07:01 UTC) #25
commit-bot: I haz the power
5 years, 3 months ago (2015-09-02 17:34:06 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201654

Powered by Google App Engine
This is Rietveld 408576698