Changhao Han 614769ada5 Use innerText for query content in ElementsTestRunner
There is an inconsistency between debug build and release build when
running `ElementsTestRunner.dumpSelectedElementStyles` in layout tests.
Previously it didn't matter, but now since we changed the DOM structure
of the query text node [1], its textContent differs from its innerText.
This CL will make sure we always use innerText, which more accurately
reflects the content of the query text.

[1]: https://crrev.com/c/2988301

Bug: 1146422
Change-Id: I0d77ffe1ed471e10519fff6c9b8b76b86a1c63fe
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3005933
Commit-Queue: Changhao Han <changhaohan@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Johan Bay <jobay@chromium.org>
2021-07-05 14:30:15 +00:00
2021-06-01 13:16:25 +00:00
2020-04-30 17:56:46 +00:00
2021-04-16 07:38:35 +00:00
2020-08-21 05:51:47 +00:00
2020-05-29 14:29:42 +00:00
2021-06-02 07:56:16 +00:00
2021-07-05 13:15:55 +00:00
2020-12-04 17:22:06 +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 in docs/triage_guidelines.md.

Workflows

Instructions to set up, use, and maintain a DevTools frontend checkout can be found in docs/workflows.md.

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%