Christy Chen 447a462be3 [Elements] Update hideSearchHighlights codepath
this._treeElementForNode(searchResult.node) is the combined of the two lines that get removed in this CL.

Even though they are basically the same, this CL change it to use the one-line solution for two reasons:
1. To match how the currentSearchHighlights is done (also calls the one-line solution here https://source.chromium.org/chromium/chromium/src/+/master:third_party/devtools-frontend/src/front_end/elements/ElementsPanel.js;drc=d1a00aacb9ad57775cee6cff5e0dac11b7e1ca59;l=650?originalUrl=https:%2F%2Fcs.chromium.org%2F), so the highlight/un-highlight codepath could be more consistent
2. So we dont need extra steps here to guard against the unhandled exception when treeOutline is null in the two-line solution



Bug: 1121459
Change-Id: I680a2e0fbcf141fbea85c7030752b6ce0dd4a30c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2374285
Reviewed-by: Patrick Brosset <patrick.brosset@microsoft.com>
Reviewed-by: Michael Liao <michael.liao@microsoft.com>
Commit-Queue: Christy Chen <chrche@microsoft.com>
2020-08-27 03:45:15 +00:00
2020-08-03 13:36:27 +00:00
2020-08-24 09:47:17 +00:00
2020-08-26 23:39:13 +00:00
2020-08-19 15:56:58 +00:00
2020-08-05 10:16:10 +00:00
2020-04-30 17:56:46 +00:00
2020-08-18 16:56:38 +00:00
2020-08-04 22:35:39 +00:00
2020-08-21 05:51:47 +00:00
2020-05-29 14:29:42 +00:00
2020-05-15 10:33:36 +00:00
2020-08-27 03:32:35 +00:00
2020-07-03 11:49:49 +00:00
2020-08-21 13:17:14 +00:00

Chrome DevTools frontend

npm package

The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp.

Source code

The frontend is available on chromium.googlesource.com.

Design guidelines

Please be aware that DevTools follows additional development guidelines.

Issue triage

The issue triage guidelines can be found here.

Workflows

Instructions to set up, use, and maintain a DevTools frontend checkout can be found here.

Additional references

Source mirrors

DevTools frontend repository is mirrored on GitHub.

DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.

The version number of the npm package (e.g. 1.0.373466) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.

Getting in touch

S
Description
No description provided
Readme BSD-3-Clause
1.1 GiB
Languages
TypeScript 88.2%
JavaScript 5.7%
CSS 3%
HTML 1.4%
Python 0.8%
Other 0.8%