Skip to content

Commit e2e8684

Browse files
committed
squash 'resources/unpacked/devtools' changes from e841464..ef68b16
ef68b16 Update DevTools DEPS. 9925c6c Fix clang-format configuration 4f0f680 [COEP] Improve error messages for COEP 9b3d7b2 [docs] Update l10n docs to fix some markup 3443914 [workspaces] Don't show a console error when file select is cancelled 0340a58 Update DevTools Chromium DEPS. a64938d Update DevTools DEPS. 760e20e Add titles for all actions dad5ad2 Remove useless content read 3a5c518 Remove unused methods 1b0a65b Concatenate all common ts_library into a single target 888a255 [global] Remaps self.SDK.targetManager 758d716 Extract protocol generation to separate script 302e028 Update README to recommend the integrated workflow 0e35ed3 Update DevTools DEPS. 43123bf Update DevTools Chromium DEPS. 8e233b4 Update DevTools DEPS. 0c86faa Sanitizing check_localizable_resources description 0639c76 Revert "Support emulating vision deficiencies" d5937a7 Stop rewriting html entrypoints 65fd9a0 Migrate Console and SegmentedRange tests into Ninja build 5646f9e Rename Console.ts to Console_test.ts and SegmentedRange.ts to SegmentedRange_test.ts 0edd3d1 Generate InspectorBackendCommands.js on presubmit cf276bf Support emulating vision deficiencies 61179f7 Generate SupportedCSSProperties.js on presubmit 492f242 Remove support for devtools startup tests a38ba7c Create `NumberUtilities` and move `constrain` in 4d59a57 Copy lit-html build files to gen folder a055117 [global] Remaps self.Common.console 7955690 Add skipped test for breakpoints with inline scripts 08dd7ed Update DevTools DEPS. cb538b1 Generate ARIAProperties.js on presubmit 0ae7c14 Add e2etest for shadow root styles d05eb17 [deps] Roll deps ff8a089 Migrate ParsedURL and ResourceType tests into Ninja build c7c9fa5 Type check common/Linkifier.js using TypeScript 9397151 Migrate `replaceControlCharacters` to StringUtilities e57c46f Remove `String.isDigitAt` 58d7d5b [utilities] Use Map instead of Array in TestFileSystem.Entry 609b33c Update DevTools DEPS. 3720579 Improved cookie blocked reason ui strings 2ec5e0b [COEP] Report detailed blocked reason for requests blocked by COEP c45c1a4 Migrate Object, Progress, StringOutputStream, TextDictionary, and Throttler tests into Ninja build b9d229c Typecheck ResourceType.js with Typescript 2a0ddd9 Typecheck SegmentedRange.js 793d1cf Locking lighthouse terms. 5c2c822 Typecheck ParsedURL.js adf8fc3 Remove `Number.gcd` 323dfe7 [e2e] Migrates http/tests/devtools/user-metrics-perf.js to e2e 73b4421 [Issues] Add revealer for issues 3854129 Fix jsdoc for ls function 8c65a21 Typecheck common/Console.js with TypeScript e6695b6 Reland "Typecheck Object.js" 3c56f6c Prepare ResourceMapping.js for asynchronous live locations c7c0619 Add tests to verify sources panel shows lazy-loaded files 218e936 Remove `String#reverse` in favour of a utility function a885e7c [e2e] Adds licences; updates expectations 6d732cc [utilities] Use Map + Set instead of Object + Array in ExtensionServer 8731cb3 Exception cannot be converted to string 07199d6 Update DevTools DEPS. b2d65e8 Add button to clear filter in network tab 8773b01 [utilities] Remove a use-site of Array#remove in RequestCookiesView 8da0d76 [utilties] Replace use-site of Array#remove with Array#filter 193c674 Add tsc.js to inputs of ts_library f2899ba Retry rmtree on windows 82a9d35 [deps] Roll protocol changes from v8 and chromium d9b0620 [utilities] Use Set instead of an Array in EmulatedDevicesList a281bd4 Move all helper functions to one folder 3844ba5 Prepare SASSSourceMapping.js for asynchronous live locations 4475248 [utilities] Use Set instead of Array for TargetModel._observers 0da1445 [utilities] Use Set instead of Array for tree outlines in SourcesPanel cebee9c Revert "Typecheck Object.js" 1499641 Update DevTools Chromium DEPS. d218bc3 Update DevTools DEPS. e2abccd Remove sxg-with-network-service virtual tests from devtools-frontend 061630b Update TypeScript to 3.8.3 6b7225c Typecheck Object.js 85b5114 Reconfigure lint rule w.r.t. quotes 3524eec Remove duplicated function from helper 2f56452 Extract `collapseWhitespace` into StringUtilities 54ec60e [utilities] Use Map instead of Array for DOMNode attributes 9330d9e [utilities] Use Set instead of Array for TargetManager._targets 80b9fee Update DevTools DEPS. e4809dc Prepare CallStackSidebarPane.js for asynchronous live locations 53421f0 Move UIString.ts tests into Ninja build 116f4df Select main thread in memory tab by default c963762 Move String#trimURL from String prototype to a utility function 886fecc [utilities] Replace Array with Set in ResizerWidget ef51711 [utilities] Replace Array with Set for pending animations 4d73239 Move String#isWhitespace from the String prototype to a utiltiy function b495636 Prepare SourceFormatter.js for asynchronous live locations 0a7133b Update DevTools Chromium DEPS. 214d1ab Update DevTools DEPS. 8f4d80b Fix high contrast in Coverage panel git-subtree-dir: resources/unpacked/devtools git-subtree-split: ef68b16
1 parent f4e90f9 commit e2e8684

File tree

435 files changed

+29489
-3323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

435 files changed

+29489
-3323
lines changed

.eslintignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
// it will ignore any that contain a glob, so if you add a
44
// glob into this file it willl not mean that the
55
// clang-format check also ignores that file
6-
76
front_end/.eslintrc.js
8-
front_end/InspectorBackendCommands.js
9-
front_end/SupportedCSSProperties.js
10-
front_end/accessibility/ARIAProperties.js
117
front_end/cm/
128
front_end/cm_headless/
139
front_end/cm_modes/
@@ -18,8 +14,5 @@ front_end/protocol_externs.js
1814
front_end/javascript_metadata/NativeFunctions.js
1915
front_end/sdk/wasm_source_map/pkg/wasm_source_map.js
2016
front_end/third_party/
21-
test/e2e/resources/
22-
test/webtests/
23-
scripts/
2417
test/e2e/**/*.js
2518
test/shared/**/*.js

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = {
2828

2929

3030
// syntax preferences
31-
'quotes': [2, 'single', {'avoidEscape': true, 'allowTemplateLiterals': true}],
31+
'quotes': [2, 'single', {'avoidEscape': true, 'allowTemplateLiterals': false}],
3232
'semi': 2,
3333
'no-extra-semi': 2,
3434
'comma-style': [2, 'last'],

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ config.gypi
2121
karma-coverage
2222
npm-debug.log
2323

24-
# These are generated for build and would be put in the symlinked folder (thus this folder)
25-
/front_end/InspectorBackendCommands.js
26-
/front_end/SupportedCSSProperties.js
27-
/front_end/accessibility/ARIAProperties.js
28-
2924
/build
3025
/buildtools
3126
/out

BUILD.gn

Lines changed: 17 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import("//third_party/blink/public/public_features.gni")
66

77
all_devtools_files = [
8+
"front_end/shell.js",
89
"front_end/accessibility_test_runner/AccessibilityPaneTestRunner.js",
910
"front_end/accessibility_test_runner/module.json",
1011
"front_end/accessibility/accessibilityNode.css",
@@ -681,6 +682,9 @@ all_devtools_modules = [
681682
"front_end/formatter/FormatterWorkerPool.js",
682683
"front_end/formatter/ScriptFormatter.js",
683684
"front_end/formatter/SourceFormatter.js",
685+
"front_end/generated/ARIAProperties.js",
686+
"front_end/generated/InspectorBackendCommands.js",
687+
"front_end/generated/SupportedCSSProperties.js",
684688
"front_end/har_importer/har_importer.js",
685689
"front_end/har_importer/har_importer-legacy.js",
686690
"front_end/har_importer/HARFormat.js",
@@ -836,6 +840,7 @@ all_devtools_modules = [
836840
"front_end/platform/platform.js",
837841
"front_end/platform/utilities.js",
838842
"front_end/platform/string-utilities.js",
843+
"front_end/platform/number-utilities.js",
839844
"front_end/profiler/profiler.js",
840845
"front_end/profiler/profiler-legacy.js",
841846
"front_end/profiler/TopDownProfileDataGrid.js",
@@ -865,6 +870,7 @@ all_devtools_modules = [
865870
"front_end/issues/issues.js",
866871
"front_end/issues/issues-legacy.js",
867872
"front_end/issues/IssuesPane.js",
873+
"front_end/issues/IssueRevealer.js",
868874
"front_end/protocol/InspectorBackend.js",
869875
"front_end/protocol/NodeURL.js",
870876
"front_end/protocol/protocol.js",
@@ -897,7 +903,6 @@ all_devtools_modules = [
897903
"front_end/resources/ApplicationCacheItemsView.js",
898904
"front_end/resources/AppManifestView.js",
899905
"front_end/root.js",
900-
"front_end/root.js",
901906
"front_end/Runtime.js",
902907
"front_end/screencast/InputModel.js",
903908
"front_end/screencast/screencast.js",
@@ -1344,14 +1349,6 @@ devtools_image_files = [
13441349

13451350
resources_out_dir = "$root_out_dir/resources/inspector"
13461351

1347-
generated_scripts = [
1348-
"$resources_out_dir/InspectorBackendCommands.js",
1349-
"$resources_out_dir/SupportedCSSProperties.js",
1350-
]
1351-
1352-
generated_aria_properties =
1353-
[ "$resources_out_dir/accessibility/ARIAProperties.js" ]
1354-
13551352
application_templates = [
13561353
"front_end/devtools_app.html",
13571354
"front_end/inspector.html",
@@ -1617,6 +1614,9 @@ copied_devtools_modules = [
16171614
"$resources_out_dir/formatter_worker/JavaScriptFormatter.js",
16181615
"$resources_out_dir/formatter_worker/JavaScriptOutline.js",
16191616
"$resources_out_dir/formatter_worker/RelaxedJSONParser.js",
1617+
"$resources_out_dir/generated/ARIAProperties.js",
1618+
"$resources_out_dir/generated/InspectorBackendCommands.js",
1619+
"$resources_out_dir/generated/SupportedCSSProperties.js",
16201620
"$resources_out_dir/har_importer/har_importer.js",
16211621
"$resources_out_dir/har_importer/har_importer-legacy.js",
16221622
"$resources_out_dir/har_importer/HARFormat.js",
@@ -1772,6 +1772,7 @@ copied_devtools_modules = [
17721772
"$resources_out_dir/platform/platform.js",
17731773
"$resources_out_dir/platform/utilities.js",
17741774
"$resources_out_dir/platform/string-utilities.js",
1775+
"$resources_out_dir/platform/number-utilities.js",
17751776
"$resources_out_dir/profiler/profiler.js",
17761777
"$resources_out_dir/profiler/profiler-legacy.js",
17771778
"$resources_out_dir/profiler/TopDownProfileDataGrid.js",
@@ -1798,6 +1799,7 @@ copied_devtools_modules = [
17981799
"$resources_out_dir/issues/issues.js",
17991800
"$resources_out_dir/issues/issues-legacy.js",
18001801
"$resources_out_dir/issues/IssuesPane.js",
1802+
"$resources_out_dir/issues/IssueRevealer.js",
18011803
"$resources_out_dir/protocol_monitor/protocol_monitor.js",
18021804
"$resources_out_dir/protocol_monitor/protocol_monitor-legacy.js",
18031805
"$resources_out_dir/protocol_monitor/ProtocolMonitor.js",
@@ -2250,7 +2252,6 @@ devtools_typescript_deps = [
22502252
]
22512253

22522254
devtools_frontend_resources_deps = devtools_typescript_deps + [
2253-
":aria_properties",
22542255
":build_release_devtools",
22552256
":copy_devtools_modules",
22562257
":copy_embedder_scripts",
@@ -2260,16 +2261,10 @@ devtools_frontend_resources_deps = devtools_typescript_deps + [
22602261
":copy_lighthouse_locale_files",
22612262
":copy_wasm_deps",
22622263
":devtools_extension_api",
2263-
":frontend_protocol_sources",
2264-
":supported_css_properties",
22652264
]
22662265

22672266
if (debug_devtools) {
2268-
devtools_frontend_resources_deps += [
2269-
":build_debug_devtools",
2270-
":copy_aria_properties",
2271-
":copy_generated_scripts",
2272-
]
2267+
devtools_frontend_resources_deps += [ ":build_debug_devtools" ]
22732268
}
22742269

22752270
# It is unclear why, but the Android Ninja configuration starts warning about
@@ -2320,7 +2315,9 @@ copy("copy_emulated_devices_images") {
23202315

23212316
copy("copy_lighthouse_locale_files") {
23222317
sources = lighthouse_locale_files
2323-
outputs = [ "$resources_out_dir/third_party/lighthouse/locales/{{source_file_part}}" ]
2318+
outputs = [
2319+
"$resources_out_dir/third_party/lighthouse/locales/{{source_file_part}}",
2320+
]
23242321
}
23252322

23262323
copy("copy_wasm_deps") {
@@ -2336,8 +2333,8 @@ action("generate_devtools_grd") {
23362333

23372334
grd_files =
23382335
copied_devtools_modules + generated_applications +
2339-
generated_aria_properties + generated_non_autostart_non_remote_modules +
2340-
devtools_embedder_scripts + generated_scripts + generated_worker_bundles +
2336+
generated_non_autostart_non_remote_modules + devtools_embedder_scripts +
2337+
generated_worker_bundles +
23412338
[
23422339
"$resources_out_dir/devtools_extension_api.js",
23432340
"$resources_out_dir/sdk/wasm_source_map/pkg/wasm_source_map_bg.wasm",
@@ -2377,58 +2374,15 @@ action("devtools_extension_api") {
23772374
rebase_path(devtools_extension_api_files, root_build_dir)
23782375
}
23792376

2380-
action("supported_css_properties") {
2381-
script = "scripts/build/generate_supported_css.py"
2382-
2383-
inputs = [ "//third_party/blink/renderer/core/css/css_properties.json5" ]
2384-
2385-
outputs = [ "$resources_out_dir/SupportedCSSProperties.js" ]
2386-
2387-
args =
2388-
rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
2389-
}
2390-
2391-
action("aria_properties") {
2392-
script = "scripts/build/generate_aria.py"
2393-
2394-
inputs = [ "//third_party/blink/renderer/core/html/aria_properties.json5" ]
2395-
2396-
outputs = [ "$resources_out_dir/accessibility/ARIAProperties.js" ]
2397-
2398-
args =
2399-
rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
2400-
}
2401-
2402-
action("frontend_protocol_sources") {
2403-
script = "scripts/build/code_generator_frontend.py"
2404-
deps = [ "//third_party/blink/public/devtools_protocol:protocol_version" ]
2405-
inputs = [
2406-
"$root_gen_dir/third_party/blink/public/devtools_protocol/protocol.json",
2407-
]
2408-
outputs = [ "$resources_out_dir/InspectorBackendCommands.js" ]
2409-
2410-
args = rebase_path(inputs, root_build_dir) + [
2411-
"--output_js_dir",
2412-
rebase_path(resources_out_dir, root_build_dir),
2413-
]
2414-
}
2415-
24162377
action("build_release_devtools") {
24172378
script = "scripts/build/build_release_applications.py"
24182379

2419-
deps = [
2420-
":aria_properties",
2421-
":frontend_protocol_sources",
2422-
":supported_css_properties",
2423-
]
2424-
24252380
helper_scripts = [
24262381
"scripts/build/modular_build.py",
24272382
"scripts/build/rjsmin.py",
24282383
]
24292384

24302385
inputs = helper_scripts + all_devtools_files + devtools_test_files +
2431-
generated_scripts + generated_aria_properties +
24322386
application_templates + all_worker_entrypoints +
24332387
# In `build_release_applications` we sometimes include
24342388
# the content of Runtime.js into the build output.
@@ -2483,28 +2437,6 @@ if (debug_devtools) {
24832437
rebase_path(stamp, root_build_dir),
24842438
]
24852439
}
2486-
2487-
copy("copy_generated_scripts") {
2488-
deps = [
2489-
":build_debug_devtools",
2490-
":build_release_devtools",
2491-
":frontend_protocol_sources",
2492-
":supported_css_properties",
2493-
]
2494-
sources = generated_scripts
2495-
outputs = [ "$resources_out_debug_dir/{{source_file_part}}" ]
2496-
}
2497-
2498-
copy("copy_aria_properties") {
2499-
deps = [
2500-
":aria_properties",
2501-
":build_debug_devtools",
2502-
]
2503-
2504-
sources = generated_aria_properties
2505-
2506-
outputs = [ "$resources_out_debug_dir/accessibility/{{source_file_part}}" ]
2507-
}
25082440
}
25092441

25102442
group("devtools_type_check") {

DEPS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
vars = {
66
'build_url': 'https://chromium.googlesource.com/chromium/src/build.git',
7-
'build_revision': 'f0f1f409ecb5e7ce3e4e3ae5ac1f01eb5550837f',
7+
'build_revision': 'e393474c8c5e0e8c7437574379709915e55b14f2',
88

99
'buildtools_url': 'https://chromium.googlesource.com/chromium/src/buildtools.git',
1010
'buildtools_revision': 'fa6ae42dcfbf3bf965439c0bdfeb03cf4e2a5840',
1111

1212
'depot_tools_url': 'https://chromium.googlesource.com/chromium/tools/depot_tools.git',
13-
'depot_tools_revision': '9ca9c52c4c04eee136f37bab1404ae0c2319bf06',
13+
'depot_tools_revision': 'ee8be8a368620af69739f41046464630ed4f2309',
1414

1515
'inspector_protocol_url': 'https://chromium.googlesource.com/deps/inspector_protocol',
1616
'inspector_protocol_revision': '81ef742ba3587767fc08652d299df9e9b7051407',
@@ -23,11 +23,11 @@ vars = {
2323

2424
# Chromium build number for unit tests. It should be regularly updated to
2525
# the content of https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/LAST_CHANGE
26-
'chromium_linux': '745768',
26+
'chromium_linux': '747553',
2727
# the content of https://commondatastorage.googleapis.com/chromium-browser-snapshots/Win_x64/LAST_CHANGE
28-
'chromium_win': '745766',
28+
'chromium_win': '747549',
2929
# the content of https://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac/LAST_CHANGE
30-
'chromium_mac': '745768',
30+
'chromium_mac': '747547',
3131
}
3232

3333
# Only these hosts are allowed for dependencies in this DEPS file.

0 commit comments

Comments
 (0)