0
Commit Graph

5689 Commits

Author SHA1 Message Date
4444f886b9 [win-bootstrap] Update win docs to clone depot_tools repo
Now that installing git is an early part of the build setup process,
one can use `git clone` to get `depot_tools`.

Bug: 360206460
Change-Id: Ida85f8da17649962fc2b38fb30bb5cf907ebe14b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6288186
Reviewed-by: Joey Scarr <jsca@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Commit-Queue: Joey Scarr <jsca@google.com>
Auto-Submit: Anne Redulla <aredulla@google.com>
Cr-Commit-Position: refs/heads/main@{#1422843}
2025-02-20 15:30:00 -08:00
9b315d56e2 Remove obsolete group from docs
This removes mention of the "Chromium UI Discussion" group from the
docs, as it seems to no longer be used.

Change-Id: I703c44c5c51555b9315017ba46364ff7108f0c9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6289265
Commit-Queue: Jesse McKenna <jessemckenna@google.com>
Reviewed-by: Robert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1422840}
2025-02-20 15:27:53 -08:00
b1a8156b36 Reapply "Make UnsafeBuffersPlugin take arguments from .txt file"
This reverts commit 5a8d40867f.

The original patch is updated to fix command line argument parsing
in the test files.

Bug: 397620599
Change-Id: Ice08d42516451690c1bb31b5ef732162c7b50cd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6282426
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1422631}
2025-02-20 09:28:54 -08:00
166b241d35 Roll Website from 4e4b61042e75 to 149dc09722d5 (1 revision)
https://chromium.googlesource.com/website.git/+log/4e4b61042e75..149dc09722d5

2025-02-19 achristiansen@google.com Update chromium/website/main Edit page link to Cider G.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/website-chromium
Please CC dpranke@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Website: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: dpranke@google.com
Change-Id: I37eccee6a761f9bfaecd4c22dada92ab9b9c5cb0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6282992
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1422274}
2025-02-19 16:22:53 -08:00
7b8dfcaa71 Re-format plugin section in clang docs.
Make it more obvious that the tests run as part of the incremental
build are *not* the full suite of tests required.

Change-Id: Ibf77020a45a0f613f5f2dab0bdac353e271c90d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6282727
Auto-Submit: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1422109}
2025-02-19 11:36:38 -08:00
8174ee0645 [rust] Add more UNSAFE_RUST_OWNERS + tweak related documentation.
Bug: 393410747
Change-Id: I10f8c71f40f001d25a4a1a3c746d112da5ba22b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6279505
Reviewed-by: Liza Burakova <liza@chromium.org>
Reviewed-by: Dustin Mitchell <djmitche@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Jonathan Hao <phao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1422092}
2025-02-19 11:07:58 -08:00
4c56a2adc8 Update Shepherding guidelines to reflect correct owners file
Change-Id: I20d70b62b8946347d118a1deb76ef9a84c4a2549
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6276280
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Amy Ressler <amyressler@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1422029}
2025-02-19 09:39:49 -08:00
5a8d40867f Revert "Make UnsafeBuffersPlugin take arguments from .txt file"
This reverts commit 8133461042.

Reason for revert: caused https://crbug.com/397620599

Original change's description:
> Make UnsafeBuffersPlugin take arguments from .txt file
>
> Introduce the concept of "." lines that pass names of checks into
> the plugin. Then always activate the unsafe libc warnings and filter
> them based on these values.
>
> -- Remove switch replaced by this mechanism.
> -- Pretty much accept any dot line format despite the stricter docs.
> -- Default unsafe_buffers checks on (can remove once products are
>    updated to match).
>
> Change-Id: I7808615abf3f1669401f2c676b8e5c06aa596bf5
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6251213
> Reviewed-by: Hans Wennborg <hans@chromium.org>
> Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
> Commit-Queue: Tom Sepez <tsepez@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1421495}

Change-Id: I73f629242de56d4813a42cbc6d2ff511ffe11807
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6281433
Auto-Submit: Nico Weber <thakis@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1421975}
2025-02-19 08:17:12 -08:00
038459f202 JSON parser is in the past tense
With https://crbug.com/40276029, the JSON parser is no longer a going
concern. However, it's still useful as an example of how Java can be
used for safety.

Bug: 40276029
Change-Id: I0ab0f26f1e9b082e6a56ad0c8c2c7225d03f958d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6267862
Commit-Queue: Dustin Mitchell <djmitche@chromium.org>
Reviewed-by: Adrian Taylor <adetaylor@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1421935}
2025-02-19 07:11:22 -08:00
1c0ad55f18 Document detection and pings for overinstalls
Add documentation to the updater's functional spec explaining how
external installs are periodically detected and pinged.

Bug: 397415614
Change-Id: I9f046e0c77f5bf7139fe0af04125f3d5258b6a7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6278790
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Commit-Queue: Noah Rose Ledesma <noahrose@google.com>
Cr-Commit-Position: refs/heads/main@{#1421665}
2025-02-18 15:00:05 -08:00
8133461042 Make UnsafeBuffersPlugin take arguments from .txt file
Introduce the concept of "." lines that pass names of checks into
the plugin. Then always activate the unsafe libc warnings and filter
them based on these values.

-- Remove switch replaced by this mechanism.
-- Pretty much accept any dot line format despite the stricter docs.
-- Default unsafe_buffers checks on (can remove once products are
   updated to match).

Change-Id: I7808615abf3f1669401f2c676b8e5c06aa596bf5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6251213
Reviewed-by: Hans Wennborg <hans@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1421495}
2025-02-18 10:46:36 -08:00
327571afc7 Fix a small typo
Change-Id: Ie1c78d43790ea0ba2fc92584701a84a094cbc202
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6247447
Reviewed-by: Adrian Taylor <adetaylor@chromium.org>
Reviewed-by: Amy Ressler <amyressler@chromium.org>
Commit-Queue: Andrew Mitchell <mitchella@google.com>
Cr-Commit-Position: refs/heads/main@{#1420874}
2025-02-16 20:14:09 -08:00
68bc0ae25e Roll Website from 087e0ee5b711 to 4e4b61042e75 (1 revision)
https://chromium.googlesource.com/website.git/+log/087e0ee5b711..4e4b61042e75

2025-02-14 ryandickson@google.com Update Chrome Root Program Policy to Version 1.6.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/website-chromium
Please CC dpranke@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Website: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: dpranke@google.com
Change-Id: I96c6b2b6f9a139f1b237bd58a52d2166fc1bbdf5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6270903
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1420771}
2025-02-14 15:22:16 -08:00
a48d7965cd Update merge request docs to mention multiple changes
Bug: 396131425
Change-Id: Iea66141d79b7f3ced1f94079506c8dd5c6aa9609
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6264023
Reviewed-by: Daniel Yip <danielyip@google.com>
Commit-Queue: Ben Mason <benmason@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1419911}
2025-02-13 08:06:47 -08:00
3191020795 WebUI: Enable @typescript-eslint/require-await in build_webui_tests().
Also fixing a few remaining violations that were not already fixed in
precursor CLs.

Bug: 394634491
Change-Id: Id6d45210a1800653330d0105e1fe3013a27796d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6258153
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1419613}
2025-02-12 16:30:12 -08:00
e415c52cfc Fix broken link to Mac.txt
The file is renamed to MacOld.txt. Updated document accordingly.

Bug: None
Change-Id: Ib9221301fd441fda82fd6b8fc6a102e687440035
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6259595
Reviewed-by: An Sung <ansung@google.com>
Auto-Submit: Weizhong Xia <weizhong@google.com>
Commit-Queue: An Sung <ansung@google.com>
Cr-Commit-Position: refs/heads/main@{#1419523}
2025-02-12 13:29:01 -08:00
84b3c4562e [DevTools] Update HostConfig documentation.
Bug: 396033932
Change-Id: Ia1562126c4182959b21d8c32d6d96e810b23f961
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6257731
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1419237}
2025-02-12 05:47:59 -08:00
45561553bc [Docs] Update CQ doc to include 3 ways to stop the CQ
1. Change the Commit-Queue value from +1 to 0 in Gerrit UI.
2. Upload a new patchset which triggers a new dry run.
3. Code-Review -1. This prevents a CL from landing.

Change-Id: I8cd0659a83deb469631f180e8a1192ba87fe8f94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6254918
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Commit-Queue: Darryl James <dljames@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1419021}
2025-02-11 17:23:27 -08:00
d647d84dc8 Move some documentation into unsafe_buffers.md
Move some text from unsafe_buffers_paths.txt into the markdown file
so that it may be more easily discovered. Hidden benefit of not
reading and discarding so many comment lines in each compiler
invocation.

Re-arrange and re-write sections to make flow more natural.

Change-Id: I077cf0d91cdd52a36cde9bb7c882ce3cf1fd6785
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6251406
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1418875}
2025-02-11 13:11:51 -08:00
af3c4fb362 [Reland] WebUI: Enable @typescript-eslint/require-await check in build_webui().
Reland notes: This is the 2nd part of the reland of the reverted CL at
crrev.com/c/6253018. The CL was incorrectly reverted, since the problem
was limited in the local dev environment of the person that was having
the issue, where third_party/node/ for some reason was stuck in v16 (a
very old version) instead of v22.

Enabling `enable_type_aware_eslint_checks` by default in build_webui().

Bug: 394634491
Change-Id: I35f77e4d3aef7af08ad06f1881d079e184c8153d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6254799
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1418856}
2025-02-11 12:50:27 -08:00
672902a3b0 [Docs] Tweak contributing.md vote-copying phrasing
Follow-up from request at
https://chromium-review.googlesource.com/c/chromium/src/+/6226768/8/docs/contributing.md#393

Bug: None
Change-Id: I49ab2c6d7a667e47fbf5fa48a3a34b106f1ded60
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6244014
Reviewed-by: Dirk Pranke <dpranke@google.com>
Auto-Submit: Devlin Cronin <rdevlin.cronin@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/main@{#1418845}
2025-02-11 12:37:26 -08:00
3d17cd4bee Add a note to //docs/rust.md about how patches are applied
It took me some time to figure this out, both to learn if the version
number mismatch was important, and how to apply the patches by hand.

Change-Id: I3312435a0dcdddb0f4e04e199da5c334e80248ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6249083
Commit-Queue: Dustin Mitchell <djmitche@chromium.org>
Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1418829}
2025-02-11 12:15:00 -08:00
5e847c6565 Add docs on using the compile-size builder
Add instructions on how to use the compile-size builder and fix
issues. This is necessary before we block CLs in CQ that have
large increases.

Bug: 370594503
Change-Id: I035ea17a6687457dac0060ce28f843319a564687
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6246737
Commit-Queue: Erik Staab <estaab@chromium.org>
Reviewed-by: Junji Watanabe <jwata@google.com>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1418813}
2025-02-11 11:42:58 -08:00
9832bca736 Revert "WebUI: Enable @typescript-eslint/require-await check in build_webui()."
This reverts commit 32867d045f.

Reason for revert: Breaks the build.

FAILED: gen/ui/webui/resources/cr_components/cr_shortcut_input/eslint.config.mjs 
python3 ../../ui/webui/resources/tools/eslint_ts.py --in_folder gen/ui/webui/resources/cr_components/cr_shortcut_input/preprocessed --out_folder gen/ui/webui/resources/cr_components/cr_shortcut_input --config_base ../../../../../../../../ui/webui/resources/tools/eslint_ts.config_base.mjs --tsconfig tsconfig_build_ts.json --in_files cr_shortcut_input.ts cr_shortcut_input.html.ts cr_shortcut_util.ts
Traceback (most recent call last):
  File "/usr/local/google/home/sesse/chromium/src/out/Default/../../ui/webui/resources/tools/eslint_ts.py", line 78, in <module>
    main(sys.argv[1:])
  File "/usr/local/google/home/sesse/chromium/src/out/Default/../../ui/webui/resources/tools/eslint_ts.py", line 67, in main
    node.RunNode([
  File "/usr/local/google/home/sesse/chromium/src/third_party/node/node.py", line 38, in RunNode
    raise RuntimeError('Command \'%s\' failed\n%s' % (' '.join(cmd), err))
RuntimeError: Command '/usr/local/google/home/sesse/chromium/src/third_party/node/linux/node-linux-x64/bin/node /usr/local/google/home/sesse/chromium/src/third_party/node/node_modules/eslint/bin/eslint --color --quiet --config gen/ui/webui/resources/cr_components/cr_shortcut_input/eslint.config.mjs gen/ui/webui/resources/cr_components/cr_shortcut_input/preprocessed/cr_shortcut_input.ts gen/ui/webui/resources/cr_components/cr_shortcut_input/preprocessed/cr_shortcut_input.html.ts gen/ui/webui/resources/cr_components/cr_shortcut_input/preprocessed/cr_shortcut_util.ts' failed

Oops! Something went wrong! :(

ESLint: 9.10.0

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at new NodeError (node:internal/errors:371:5)
    at validateString (node:internal/validators:119:11)
    at Object.join (node:path:1172:7)
    at file:///usr/local/google/home/sesse/chromium/src/out/Default/gen/ui/webui/resources/cr_components/cr_shortcut_input/eslint.config.mjs?mtime=1739278158700:10:26
    at ModuleJob.run (node:internal/modules/esm/module_job:185:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:281:24)
    at async importModuleDynamicallyWrapper (node:internal/vm/module:437:15)
    at async loadFlatConfigFile (/usr/local/google/home/sesse/chromium/src/third_party/node/node_modules/eslint/lib/eslint/eslint.js:390:21)
    at async calculateConfigArray (/usr/local/google/home/sesse/chromium/src/third_party/node/node_modules/eslint/lib/eslint/eslint.js:473:28)

Original change's description:
> WebUI: Enable @typescript-eslint/require-await check in build_webui().
>
>  - Enabling `enable_type_aware_eslint_checks` by default in build_webui().
>  - Fixing a few remaining violations that were not already fixed in
>    precursor CLs.
>  - Fix the dependnecies of the ":lint" target for the case of
>    `use_javascript_coverage=true`
>  - Add a new "ESLint checks" section in styleguide/web/web.md explaining
>    the two different types of ESLint checks.
>  - Update Chromium styleguide additions to include what will be
>    enfroced by @typescript-eslint/require-await as part of this CL,
>    and @typescript-eslint/no-unnecessary-type-assertion in upcoming
>    CLs.
>
> Bug: 394634491
> Change-Id: I59a07d4e76339449c3e5ff79608b57154a3e32cb
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6250398
> Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
> Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1418375}

Bug: 394634491
Change-Id: Iccfa9b2c94f608e193f95a7fe454abbec3c3f3b4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6253018
Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org>
Auto-Submit: Steinar H Gunderson <sesse@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org>
Owners-Override: Vasilii Sukhanov <vasilii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1418592}
2025-02-11 05:49:25 -08:00
e975473c56 Roll Website from 61d3bcecee60 to 087e0ee5b711 (1 revision)
https://chromium.googlesource.com/website.git/+log/61d3bcecee60..087e0ee5b711

2025-02-10 vapier@chromium.org licensing-for-chromiumos-developers: refresh a bit

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/website-chromium
Please CC dpranke@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Website: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: dpranke@google.com
Change-Id: I693efe641665839916ae149313406ed37cb2f00c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6250412
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1418423}
2025-02-10 17:42:19 -08:00
32867d045f WebUI: Enable @typescript-eslint/require-await check in build_webui().
- Enabling `enable_type_aware_eslint_checks` by default in build_webui().
 - Fixing a few remaining violations that were not already fixed in
   precursor CLs.
 - Fix the dependnecies of the ":lint" target for the case of
   `use_javascript_coverage=true`
 - Add a new "ESLint checks" section in styleguide/web/web.md explaining
   the two different types of ESLint checks.
 - Update Chromium styleguide additions to include what will be
   enfroced by @typescript-eslint/require-await as part of this CL,
   and @typescript-eslint/no-unnecessary-type-assertion in upcoming
   CLs.

Bug: 394634491
Change-Id: I59a07d4e76339449c3e5ff79608b57154a3e32cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6250398
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1418375}
2025-02-10 16:44:58 -08:00
b14ca5315c update_client: Persist IID through first active.
Previously, the IID would always be cleared on
the first update check, which is usually the
update-check-to-install. To avoid continuously
retransmitting a unique identifier for inactive
clients, the install ID is not sent for
non-active updatechecks, nor for non-install
pings.

Also, update the install ID on an overinstall.
This helps terminate the install funnel
telemetry for installers used in an overinstall
context.

Bug: 343239826
Change-Id: Ifb216019179fc307e2ac13e2a7abc4005f62dccd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6249219
Auto-Submit: Joshua Pawlicki <waffles@chromium.org>
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Commit-Queue: Joshua Pawlicki <waffles@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1418371}
2025-02-10 16:42:42 -08:00
916a6d3b8a WebUI: Support ESLint type aware checks in build_webui().
Type-aware ESLint checks (see [1], [2]) can do more sophisticated checks
compared to non type-aware checks which run during presubmit.

- Implement a new `eslint_ts()` GN rule along with corresponding
  tests.
- Hook it up to `build_webui()`.
- Guard it with a new `enable_type_aware_eslint_checks` flag that
  defaults to `false`.

The new flag will be enabled on a target-by-target basis or as a whole
once existing violations are fixed. Initially applying only
@typescript-eslint/require-await when the flag is enabled. More checks
will be added eventually.

[1] https://typescript-eslint.io/rules/?=typeInformation
[2] https://typescript-eslint.io/getting-started/typed-linting/

Bug: 394634491
Change-Id: Id2255656786fc144f95801f399bc34520c910cca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5252273
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1417633}
2025-02-07 16:08:55 -08:00
718d38e3d1 Roll Website from 36958621a31e to 61d3bcecee60 (1 revision)
https://chromium.googlesource.com/website.git/+log/36958621a31e..61d3bcecee60

2025-02-06 trishalfonso@google.com Fix hyperlinks in the Developer Mode Guide.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/website-chromium
Please CC dpranke@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Website: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: dpranke@google.com
Change-Id: I650798ed09fda4c8db4470c1a56e5ecb9eff62e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6240116
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1416782}
2025-02-06 07:24:56 -08:00
d695cb1c74 Docs: Fix updater download cache doc lines.
Change-Id: I67a47aeb1c37ad97490db99d85338052b06b212d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6234634
Auto-Submit: Joshua Pawlicki <waffles@chromium.org>
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Commit-Queue: Sorin Jianu <sorin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416401}
2025-02-05 12:52:07 -08:00
139f9b8134 updater: send pings with eventresult 0 on install failures
`eventresult` needs to be `0` for pings that report failure.

Bug: 374957472,40944565
Change-Id: I49c848aa7bfbe03ebd06ce8f9d3a352a3f9839d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6235389
Auto-Submit: S Ganesh <ganesh@chromium.org>
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Commit-Queue: Joshua Pawlicki <waffles@chromium.org>
Commit-Queue: S Ganesh <ganesh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416327}
2025-02-05 11:07:39 -08:00
7393aa4676 Add v8 sandbox_testing job info to clusterfuzz guidelines
Change-Id: I9209f7581be41caef1ef781558bd6d368b81ae10
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6226722
Reviewed-by: Alex Gough <ajgo@chromium.org>
Commit-Queue: Amy Ressler <amyressler@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416296}
2025-02-05 10:39:41 -08:00
69d04dc7b0 updater: Add reporting support for metainstaller errors
Fixed: 40944565
Change-Id: I2fdb6b77ae6d345963d64fc5c47ef0557cc7bf2a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6231072
Commit-Queue: S Ganesh <ganesh@chromium.org>
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Auto-Submit: S Ganesh <ganesh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416229}
2025-02-05 09:10:22 -08:00
6a48482e2f [Docs] Add details on code review votes to contributing.md
contributing.md didn't have details about the votes required or copying
votes between patch sets in Gerrit. This CL adds a description of these
practices.

Bug: None
Change-Id: I2e23b336f4cc85d57a31760697c5899794da5515
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6226768
Auto-Submit: Devlin Cronin <rdevlin.cronin@chromium.org>
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416201}
2025-02-05 08:41:14 -08:00
4913cb88be Update reclient instructions and links
Bug: N/A
Test: N/A, documentation update
Change-Id: Ib8ca6a5d814270d4b7d6959370ad7a9ab8b7d252
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6227850
Reviewed-by: Neil Coronado <nemco@google.com>
Reviewed-by: Theresa Sullivan <twellington@chromium.org>
Commit-Queue: Jenna Himawan <jhimawan@google.com>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416151}
2025-02-05 07:42:43 -08:00
7d1b2b0b0c Enable explicit module build by use_libcxx_modules arg
This CL enables explicit clang modules for libc++ and clang's builtin
headers.

There are still many compile errors even if we build `base`, but we'll
fix them one by one.

I also leave implicit modules build with use_implicit_libcxx_modules.

Bug: 40440396
Change-Id: Ie23087ff69e2ab9892625400f2cd182955cc098b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6188686
Reviewed-by: Erik Staab <estaab@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416006}
2025-02-04 22:53:22 -08:00
09c138a26c Add allowed cases for restricted licenses in docs.
Adding in information about GPL/LGPL licences that are allowed for non-shipped dependencies and chromium. This info comes from Dash (CC'd).

Change-Id: Icf00b57d8f204b751f6ace69a0bdcd33bada989c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6229210
Reviewed-by: Jiewei Qian <qjw@chromium.org>
Commit-Queue: Jordan Brown <rop@google.com>
Reviewed-by: Rachael Newitt <renewitt@google.com>
Cr-Commit-Position: refs/heads/main@{#1415972}
2025-02-04 19:42:27 -08:00
4cef8940ec Roll Website from 8ead451a863a to 36958621a31e (1 revision)
https://chromium.googlesource.com/website.git/+log/8ead451a863a..36958621a31e

2025-02-04 rbpotter@chromium.org WebUI: Update website documentation

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/website-chromium
Please CC dpranke@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Website: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: dpranke@google.com
Change-Id: I1fe89129dc19790dd7ee4fa1690fca203edefc69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6231432
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1415888}
2025-02-04 15:53:38 -08:00
c98914a0b2 Update docs for updating clang format
* The file extensions for the compressed tarballs are .tar.xz, not .tgz
* Update the clang-format diff script so that xargs spawns one
  clang-format process per file in parallel instead of spawning one
  clang-format process that formats all files. This considerably speeds
  things up.

Note that the fetch and upload script is still broken for the following
reasons that I haven't fixed yet because this is difficult to debug
(upload_to_google_storage.py can only be run once per object for
example.)
* upload_to_google_storage_first_class.py prints a line that goes
  "Uploading {filename} as gs://{path}" before printing out JSON. This
  makes jq unhappy.
* upload_to_google_storage_first_class.py prints the wrong object_name
  in the JSON; the object name printed is the same as the sha256sum.
  There does exist an object with that name and it contains the right
  data, but it doesn't have the executable bit set. We want another
  object that does.

Change-Id: I6cd5faa0432b71098664e4e79bc7c22140d48545
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6226772
Reviewed-by: Hans Wennborg <hans@chromium.org>
Commit-Queue: Alan Zhao <ayzhao@google.com>
Cr-Commit-Position: refs/heads/main@{#1415760}
2025-02-04 12:26:16 -08:00
e51ceb57bb Roll Website from 600fc3a0b121 to 8ead451a863a (1 revision)
https://chromium.googlesource.com/website.git/+log/600fc3a0b121..8ead451a863a

2025-02-04 minhopark@chromium.org Add FCCL Chromebook to list

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/website-chromium
Please CC dpranke@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Website: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: dpranke@google.com
Change-Id: If58e11164f902fab807e0f6e950ad52ea55b2564
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6229340
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1415476}
2025-02-04 03:06:07 -08:00
4a54ad01b7 Add Chromium side of chrome-unsafe-rust-reviews@google.com gwsw setup.
Bug: 393410747
Change-Id: I7bbbc5ec81116004f05cf6979b6b96e4d4afd0b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6219726
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1415239}
2025-02-03 15:25:45 -08:00
de660ddd0f Roll Website from b0cdcf6bb9f2 to 600fc3a0b121 (1 revision)
https://chromium.googlesource.com/website.git/+log/b0cdcf6bb9f2..600fc3a0b121

2025-02-03 slobodan@chromium.org Remove reference to NOTREACHED_NORETURN()

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/website-chromium
Please CC dpranke@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Website: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: dpranke@google.com
Change-Id: I36c8944d032fd6ae3fbbe8951e02e2507fba2479
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6227902
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1415198}
2025-02-03 14:22:14 -08:00
d2e79a4f40 Updating protocol 4: lists, nextfp and version
This change removes explicit list nodes and moves nextfp and
version from the pipeline nodes to the updatecheck node.

Bug: 393153877
Change-Id: I22646be95328d9bc58dba401a4ee00a62cd0ef76
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6214973
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Commit-Queue: Joshua Pawlicki <waffles@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1415031}
2025-02-03 10:21:55 -08:00
0e99dfd5a0 docs: Fix broken links, typo, and remove outdated "gotcha"
"gotcha" removed here: https://crrev.com/c/5345750

Bug: N/A
Change-Id: If24d47430347a56699f9f5c58f04f12d8a523454
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6221248
Commit-Queue: Camden Bickel <cambickel@google.com>
Reviewed-by: Mark Schillaci <mschillaci@google.com>
Cr-Commit-Position: refs/heads/main@{#1414365}
2025-01-31 13:08:08 -08:00
3519fdc637 android: Update histograms.xml for cold start metrics
We are switching to v4 metrics for startup. Adjust the description of
the metric in histograms.xml to match the fact that it is the primary
one. Rewrite the descriptions of the previous versions to focus only on
the differences. This will allow readers to avoid doing the diff
themselves.

Bug: 384084655
Change-Id: Ief23b69bb15586737186a450c58bb0eceee2f2a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6197642
Reviewed-by: Sean Maher <spvw@chromium.org>
Commit-Queue: Egor Pasko <pasko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1414348}
2025-01-31 12:43:43 -08:00
ac5fdf4dc1 Add security FAQ entry about external lists
Lists like PSL and HSTS preload are incorporated into Chrome, but
the status of additions/removals in Chrome are not security bugs.

Change-Id: I7bdcabf711606c9896f97ccddf7a96686a4bf5e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6216082
Reviewed-by: Alex Gough <ajgo@chromium.org>
Commit-Queue: Chris Thompson <cthomp@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1413519}
2025-01-30 08:18:00 -08:00
e02f5b17fc [docs] base::Feature documentation for devtools-frontend.
Bug: 354102605
Change-Id: Ifad75f8a5ea560831e34d443c447e64d06dfac82
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6218299
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1413335}
2025-01-29 23:27:01 -08:00
b2bfb48549 updater: document the lang tag parameter
Bug: 385004395
Change-Id: I2af4c752137c4ed2acd91e6b420f515a8f805e77
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6214712
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Commit-Queue: Joshua Pawlicki <waffles@chromium.org>
Auto-Submit: S Ganesh <ganesh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1413118}
2025-01-29 13:03:59 -08:00
63fc71ea34 Roll Website from a816ad10d96d to b0cdcf6bb9f2 (1 revision)
https://chromium.googlesource.com/website.git/+log/a816ad10d96d..b0cdcf6bb9f2

2025-01-29 dpranke@google.com Remove ewag@ from //OWNERS.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/website-chromium
Please CC dpranke@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Website: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: dpranke@google.com
Change-Id: Ic4e011fa409984b5dea60ede1215d86cc5762cdd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6215341
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1413117}
2025-01-29 13:02:45 -08:00
68237fb98a Roll Website from 92a8f6de1d9e to a816ad10d96d (4 revisions)
https://chromium.googlesource.com/website.git/+log/92a8f6de1d9e..a816ad10d96d

2025-01-28 vapier@chromium.org vpython: update to python 3.11
2025-01-28 dpranke@google.com Clarify requirements for getting a @chromium.org address.
2025-01-28 vapier@chromium.org OWNERS: add myself
2025-01-28 dpapad@chromium.org Update links to WebUI docs to point to new location.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/website-chromium
Please CC dpranke@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Website: https://bugs.chromium.org/p/chromium/issues/entry
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: dpranke@google.com
Test: Test: `./scripts/fetch_lobs.py` still works
Change-Id: Ief34a3caeae75635cf50adcf150724660aa2a83f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6210814
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1412740}
2025-01-28 23:55:03 -08:00