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

Issue 2171293002: Fix the condition to call removePandingSheet() in LinkStyle::setCSSStyleSheet (Closed)

Created:
4 years, 5 months ago by hayato
Modified:
4 years, 5 months ago
Reviewers:
tkent, kochi
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, gavinp+prerender_chromium.org, Yoav Weiss
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the condition to call removePandingSheet() in LinkStyle::setCSSStyleSheet It looks that https://codereview.chromium.org/1285413002 is not a correct fix. The right approach is to check "in a document tree" here because there is a possibility that a link element moved from a document tree to a disconnected non-shadow tree. TEST=None. It might be difficult to write a meaningful non-flaky test. BUG=630141 Committed: https://crrev.com/9461cb39b01538d866e99df243fbe5dc1a802290 Cr-Commit-Position: refs/heads/master@{#407398}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -11 lines) Patch
M third_party/WebKit/Source/core/html/HTMLLinkElement.cpp View 2 chunks +7 lines, -11 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
hayato
PTAL
4 years, 5 months ago (2016-07-22 10:06:34 UTC) #8
kochi
LGTM Did we have any real test failure or can we have test case to ...
4 years, 5 months ago (2016-07-22 10:57:11 UTC) #9
hayato
On 2016/07/22 at 10:57:11, kochi wrote: > LGTM > > Did we have any real ...
4 years, 5 months ago (2016-07-25 01:16:38 UTC) #12
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/2171293002/1
4 years, 5 months ago (2016-07-25 01:16:52 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-25 02:29:13 UTC) #15
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/9461cb39b01538d866e99df243fbe5dc1a802290 Cr-Commit-Position: refs/heads/master@{#407398}
4 years, 5 months ago (2016-07-25 02:31:09 UTC) #17
esprehn
You can write a non flaky SimTest since you can control the network responses come ...
4 years, 5 months ago (2016-07-25 02:36:58 UTC) #18
hayato
4 years, 5 months ago (2016-07-25 02:41:19 UTC) #19
Message was sent while issue was closed.
On 2016/07/25 at 02:36:58, esprehn wrote:
> You can write a non flaky SimTest since you can control the network responses
come back. Please add a test. :)
> 
> (See ex. DocumentLoadingRenderingTest)

Thanks. But let me add a test in another CL for BUG 630141.
This CL's change was already replaced there, and I had to rewrite the test
again. :) Sorry for the laziness.

Powered by Google App Engine
This is Rietveld 408576698