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

Issue 2552883014: DevTools: fix exception in anchor icon decoration (Closed)

Created:
4 years ago by lushnikov
Modified:
4 years ago
Reviewers:
dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: fix exception in anchor icon decoration Since the anchor's text might have been changed via the textContent assignment, the icon might not be attached. This patch makes sure icon is attached to the dom before attempting to remove it. BUG=672746 R=dgozman Committed: https://crrev.com/75e3ed0f6a7521437691659d27664576906c604d Cr-Commit-Position: refs/heads/master@{#437724}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/devtools/front_end/components/Linkifier.js View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 14 (8 generated)
lushnikov
please, take a look
4 years ago (2016-12-09 08:54:26 UTC) #1
dgozman
lgtm, but we should fix the place which sets textContent on a link returned by ...
4 years ago (2016-12-09 21:41:48 UTC) #6
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/2552883014/1
4 years ago (2016-12-10 00:41:48 UTC) #8
lushnikov
https://codereview.chromium.org/2552883014/diff/1/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js File third_party/WebKit/Source/devtools/front_end/components/Linkifier.js (right): https://codereview.chromium.org/2552883014/diff/1/third_party/WebKit/Source/devtools/front_end/components/Linkifier.js#newcode329 third_party/WebKit/Source/devtools/front_end/components/Linkifier.js:329: if (info.icon && info.icon.parentElement) On 2016/12/09 21:41:48, dgozman wrote: ...
4 years ago (2016-12-10 00:58:45 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-10 02:07:48 UTC) #12
commit-bot: I haz the power
4 years ago (2016-12-12 15:05:23 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/75e3ed0f6a7521437691659d27664576906c604d
Cr-Commit-Position: refs/heads/master@{#437724}

Powered by Google App Engine
This is Rietveld 408576698