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

Issue 2873133002: Check StyleSheetIsLoading before clearing LinkStyle sheet. (Closed)

Created:
3 years, 7 months ago by rune
Modified:
3 years, 7 months ago
Reviewers:
meade_UTC10, Pat Meenan
CC:
chromium-reviews, blink-reviews, tfarina, dglazkov+blink, blink-reviews-html_chromium.org, blink-reviews-style_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Check StyleSheetIsLoading before clearing LinkStyle sheet. StyleSheetIsLoading() returns true if the top sheet is loaded but has loading imports. If the top level sheet is cleared before we check the loading status, we will not appropriately call RemovedPendingSheet() which may block rendering indefinitely. R=meade@chromium.org,pmeenan@chromium.org BUG=718358 Review-Url: https://codereview.chromium.org/2873133002 Cr-Commit-Position: refs/heads/master@{#470943} Committed: https://chromium.googlesource.com/chromium/src/+/da87d9568ea3b57d705d9b8caa664f03293af321

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/css/remove-blocking-with-loading-import.html View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/css/remove-blocking-with-loading-import-expected.html View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/LinkStyle.cpp View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
rune
ptal
3 years, 7 months ago (2017-05-10 00:29:43 UTC) #3
meade_UTC10
lgtm Wow, such a small change to fix that, nice spotting!
3 years, 7 months ago (2017-05-10 00:34:16 UTC) #4
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/2873133002/1
3 years, 7 months ago (2017-05-10 07:45:11 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/449715)
3 years, 7 months ago (2017-05-10 09:52:18 UTC) #10
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/2873133002/1
3 years, 7 months ago (2017-05-10 10:11:32 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/449838)
3 years, 7 months ago (2017-05-10 12:25:48 UTC) #14
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/2873133002/1
3 years, 7 months ago (2017-05-10 22:43:05 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/450921)
3 years, 7 months ago (2017-05-11 00:51:20 UTC) #18
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/2873133002/1
3 years, 7 months ago (2017-05-11 09:57:10 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 14:06:57 UTC) #23
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/da87d9568ea3b57d705d9b8caa66...

Powered by Google App Engine
This is Rietveld 408576698