commit | 0fc26efa6c0573b348d1b9c4226e8336010e0fa5 | [log] [tgz] |
---|---|---|
author | Yoichi Osato <yoichio@chromium.org> | Wed Jan 16 06:13:34 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 16 06:13:34 2019 |
tree | fa7b007ead3247e87de2bca3aff67d173b8f6e40 | |
parent | 66d9986141e89d08f89cf900398f5a6a3d69befe [diff] |
Guarantee DevTools and WebUI use Web Components V0. This patch is a preparation for Shadow DOM V0, Custom Element V0 (CEv0) and HTML Imports removal. Intent to Deprecate and Remove: http://bit.ly/2RGHe3x Though we soon make these APIs only available for test by turning the json5 feature flag from status: "stable" to status: "test", there is browser tests/chrome internal components that use them. This patch keeps DevTools and WebUI use the V0 APIs regardless of the json5 runtime flag so that web author tests their migration on “chrome --disable-blink-features=ShadowDOMV0,CustomElementsV0,HTMLImports” or chrome after M73 disabled the features default while using devtools. Though DevTools is migrating to Shadow DOM V1 and Custom Element V1, we need the "url.Protocol() == "chrome-devtools" condition to test WebUI or other components. We can safely remove the condition when the migration finishes. This patch doesn't fully cover WebUI but mostly does. I will investigate remaining issues after this. Bug: 911943 Change-Id: I1a47f3e49df6c62cec76656625208b63785b0a2d Reviewed-on: https://chromium-review.googlesource.com/c/1362713 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Commit-Queue: Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#623131}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .