|
|
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 Base URL:
svn://svn.chromium.org/blink/trunk Target Ref:
refs/remotes/origin/master Project:
blink Visibility:
Public. |
DescriptionHandle 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 #Messages
Total messages: 24 (9 generated)
kochi@chromium.org changed reviewers: + tkent@chromium.org
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 this fixes the flaky crash.
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 fix it though the fix might be identical to Patch Set 1.
agreed.
Patchset #2 (id:20001) has been deleted
PTAL
The CQ bit was checked by kochi@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/1285413002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285413002/60001
lgtm
The CQ bit was unchecked by kochi@chromium.org
The CQ bit was checked by kochi@chromium.org
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
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by kochi@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/1285413002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285413002/80001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
It seems patchset3 regressed on some tests. If CSS resource request ends up in any error condition, the error has to be propagated to onerror handler etc. Short-circuiting error condition caused the error not to propagate properly. In patchset4, I changed the code to return only when its owner node moved under shadow root. This CL looks good for other flaky tests (issue 521960).
On 2015/09/03 11:22:35, Takayoshi Kochi wrote: > It seems patchset3 regressed on some tests. > > If CSS resource request ends up in any error condition, > the error has to be propagated to onerror handler etc. > Short-circuiting error condition caused the error not to propagate > properly. > > In patchset4, I changed the code to return only when its owner node > moved under shadow root. > > This CL looks good for other flaky tests (issue 521960). Updated the description. Could you take another look?
lgtm
The CQ bit was checked by kochi@chromium.org
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
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as https://src.chromium.org/viewvc/blink?view=rev&revision=201752 |