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

Issue 1285413002: Handle owner state change in HTMLLinkElement::setCSSStyleSheet (Closed)

Created:
5 years, 4 months ago by kochi
Modified:
5 years, 3 months ago
Reviewers:
tkent
CC:
blink-reviews, Yoav Weiss, blink-reviews-html_chromium.org, gavinp+prerender_chromium.org, dglazkov+blink
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Handle owner state change in HTMLLinkElement::setCSSStyleSheet imported/web-platform-tests/shadow-dom/shadow-trees/upper-bounary-encapsulation/test-011.html caused a flaky crashes on trybots. When an link element started fetching CSS resource the resource loading happens asynchronously in the background, and when it completes, owner element's state may have changed. In the test, the owner element moved under shadow tree, then asserting condition ASSERT(!linkStyle() || !linkStyle()->hasSheet()). happened. BUG=503445 TEST=imported/web-platform-tests/shadow-dom/shadow-trees/upper-boundary-encapusulation/test-011.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201752

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : #

Patch Set 4 : pass errors through #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M Source/core/html/HTMLLinkElement.cpp View 1 2 3 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 24 (9 generated)
kochi
PTAL The flaky crash consistently reproduces on my machine with blink/tools/run_layout_tests.sh --repeat=20 --debug imported/web-platform-tests/shadow-dom/shadow-trees/upper-boundary-encapsulation/test-011.html But ...
5 years, 4 months ago (2015-08-13 08:13:08 UTC) #2
tkent
According to https://code.google.com/p/chromium/issues/detail?id=503445#c11, we don't find the root cause yet. We should find it, then ...
5 years, 4 months ago (2015-08-13 23:41:10 UTC) #3
kochi
agreed.
5 years, 4 months ago (2015-08-14 09:15:04 UTC) #4
kochi
PTAL
5 years, 3 months ago (2015-09-03 05:47:53 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1285413002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285413002/60001
5 years, 3 months ago (2015-09-03 05:48:10 UTC) #8
tkent
lgtm
5 years, 3 months ago (2015-09-03 05:53:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1285413002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285413002/60001
5 years, 3 months ago (2015-09-03 06:25:11 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/107658)
5 years, 3 months ago (2015-09-03 06:45:24 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1285413002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285413002/80001
5 years, 3 months ago (2015-09-03 07:02:48 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-03 08:08:06 UTC) #18
kochi
It seems patchset3 regressed on some tests. If CSS resource request ends up in any ...
5 years, 3 months ago (2015-09-03 11:22:35 UTC) #19
kochi
On 2015/09/03 11:22:35, Takayoshi Kochi wrote: > It seems patchset3 regressed on some tests. > ...
5 years, 3 months ago (2015-09-03 23:01:22 UTC) #20
tkent
lgtm
5 years, 3 months ago (2015-09-03 23:33:35 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1285413002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285413002/80001
5 years, 3 months ago (2015-09-04 00:31:50 UTC) #23
commit-bot: I haz the power
5 years, 3 months ago (2015-09-04 00:36:39 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201752

Powered by Google App Engine
This is Rietveld 408576698