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

Issue 2551283002: [DevTools] Fix null tooltip errors (Closed)

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

Description

[DevTools] Fix null tooltip errors Discovered during work on 166637. DataGrid (and potentially other consumers) attempt to set a null or undefined 'title' attribute on a DOM node which eventually triggers Tooltip.install. Since this essentially equates to unsetting the title, the Tooltip should properly handle such input and remove the tooltip symbol. BUG=none R=lushnikov Committed: https://crrev.com/aa128ae9b0f65904743b0c6fa15919fbd1efb268 Cr-Commit-Position: refs/heads/master@{#436850}

Patch Set 1 #

Total comments: 6

Patch Set 2 : address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
phulce
4 years ago (2016-12-06 00:14:26 UTC) #3
lushnikov
lgtm, thanks! could you please wrap the issue description in a multiple lines? https://codereview.chromium.org/2551283002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js File ...
4 years ago (2016-12-06 01:19:37 UTC) #4
paulirish
https://codereview.chromium.org/2551283002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js File third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js (right): https://codereview.chromium.org/2551283002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js#newcode32 third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js:32: * Installs the tooltipContent to be shown on mouseover, ...
4 years ago (2016-12-06 01:37:27 UTC) #7
lushnikov
https://codereview.chromium.org/2551283002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js File third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js (right): https://codereview.chromium.org/2551283002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js#newcode32 third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js:32: * Installs the tooltipContent to be shown on mouseover, ...
4 years ago (2016-12-06 22:30:23 UTC) #8
phulce
https://codereview.chromium.org/2551283002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js File third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js (right): https://codereview.chromium.org/2551283002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js#newcode32 third_party/WebKit/Source/devtools/front_end/ui/Tooltip.js:32: * Installs the tooltipContent to be shown on mouseover, ...
4 years ago (2016-12-06 23:09:32 UTC) #9
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/2551283002/20001
4 years ago (2016-12-07 00:31:30 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-07 03:37:12 UTC) #17
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/aa128ae9b0f65904743b0c6fa15919fbd1efb268 Cr-Commit-Position: refs/heads/master@{#436850}
4 years ago (2016-12-07 03:39:09 UTC) #19
kdzwinel
On 2016/12/07 at 03:39:09, commit-bot wrote: > Patchset 2 (id:??) landed as https://crrev.com/aa128ae9b0f65904743b0c6fa15919fbd1efb268 > Cr-Commit-Position: ...
4 years ago (2016-12-07 23:50:08 UTC) #20
lushnikov
Hey Konrad! That sounds reasonable! Would you like to submit another CL?
4 years ago (2016-12-08 21:36:16 UTC) #21
kdzwinel
4 years ago (2016-12-08 22:39:33 UTC) #22
Message was sent while issue was closed.
On 2016/12/08 at 21:36:16, lushnikov wrote:
> Hey Konrad!
> 
> That sounds reasonable! Would you like to submit another CL?

I just did! https://codereview.chromium.org/2566463003

Powered by Google App Engine
This is Rietveld 408576698