|
|
Created:
5 years, 3 months ago by alex clarke (OOO till 29th) Modified:
5 years, 3 months ago 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. |
DescriptionMake 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) #
Messages
Total messages: 26 (11 generated)
alexclarke@chromium.org changed reviewers: + skyostil@chromium.org
The CQ bit was checked by alexclarke@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/1312353004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312353004/1
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#... Source/core/dom/Document.h:1126: void executeScriptsWaitingForResourcesTimerFired(); s/TimerFired//?
alexclarke@chromium.org changed reviewers: + mkwst@chromium.org
+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#... Source/core/dom/Document.h:1126: void executeScriptsWaitingForResourcesTimerFired(); On 2015/09/01 09:31:35, Sami wrote: > s/TimerFired//? Done.
LGTM
The CQ bit was checked by alexclarke@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from skyostil@chromium.org Link to the patchset: https://codereview.chromium.org/1312353004/#ps20001 (title: "Rename")
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
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://src.chromium.org/viewvc/blink?view=rev&revision=201563
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1304943004/ by alexclarke@chromium.org. The reason for reverting is: Oilpan leaks..
Message was sent while issue was closed.
sigbjornf@opera.com changed reviewers: + sigbjornf@opera.com
Message was sent while issue was closed.
https://codereview.chromium.org/1312353004/diff/20001/Source/core/dom/Documen... File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1312353004/diff/20001/Source/core/dom/Documen... Source/core/dom/Document.cpp:366: Add } // namespace blink namespace WTF { template<> struct PointerParamStorageTraits<blink::Document*, true> { using StorageType = blink::CrossThreadWeakPersistent<blink::Document>; static StorageType wrap(blink::Document* value) { return value; } static blink::Document* unwrap(const StorageType& value) { return value.get(); } }; } // namespace WTF namespace blink { here to avoid introducing a leak with Oilpan enabled.
Message was sent while issue was closed.
That's really awesome and scary at the same time! Thanks ever so much for fixing that :) On Wed, Sep 2, 2015 at 2:58 PM, <sigbjornf@opera.com> wrote: > > > https://codereview.chromium.org/1312353004/diff/20001/Source/core/dom/Documen... > File Source/core/dom/Document.cpp (right): > > > https://codereview.chromium.org/1312353004/diff/20001/Source/core/dom/Documen... > Source/core/dom/Document.cpp:366: > Add > > } // namespace blink > > namespace WTF { > template<> > struct PointerParamStorageTraits<blink::Document*, true> { > using StorageType = > blink::CrossThreadWeakPersistent<blink::Document>; > > static StorageType wrap(blink::Document* value) { return value; } > static blink::Document* unwrap(const StorageType& value) { return > value.get(); } > }; > > } // namespace WTF > > namespace blink { > > here to avoid introducing a leak with Oilpan enabled. > > https://codereview.chromium.org/1312353004/ > To unsubscribe from this group and stop receiving emails from it, send an email to blink-reviews+unsubscribe@chromium.org.
Message was sent while issue was closed.
https://codereview.chromium.org/1312353004/diff/20001/Source/core/dom/Documen... File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1312353004/diff/20001/Source/core/dom/Documen... Source/core/dom/Document.cpp:366: On 2015/09/02 13:58:47, sof wrote: > Add > > } // namespace blink > > namespace WTF { > template<> > struct PointerParamStorageTraits<blink::Document*, true> { > using StorageType = blink::CrossThreadWeakPersistent<blink::Document>; > > static StorageType wrap(blink::Document* value) { return value; } > static blink::Document* unwrap(const StorageType& value) { return > value.get(); } > }; > > } // namespace WTF > > namespace blink { > > here to avoid introducing a leak with Oilpan enabled. Done, and thanks!
The CQ bit was checked by alexclarke@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from mkwst@chromium.org, skyostil@chromium.org Link to the patchset: https://codereview.chromium.org/1312353004/#ps40001 (title: "Oilpan leak fix")
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
The CQ bit was unchecked by commit-bot@chromium.org
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_linu...) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by alexclarke@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from mkwst@chromium.org, skyostil@chromium.org Link to the patchset: https://codereview.chromium.org/1312353004/#ps60001 (title: "Add #if ENABLE(OILPAN)")
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
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as https://src.chromium.org/viewvc/blink?view=rev&revision=201654 |