0
Commit Graph

3078 Commits

Author SHA1 Message Date
b201d4aa8b Clarify positioning of extended stable and security merges
We've had some questions from developers as well as embedders re:
our merge policies for security issues in the extended stable
channel; this update helps clarify our stance.

Change-Id: I3aa5aa3a7c92ad174d15b3fe2ae99439f3009ea8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3258621
Auto-Submit: Alex Mineer <amineer@chromium.org>
Reviewed-by: Adrian Taylor <adetaylor@chromium.org>
Commit-Queue: Alex Mineer <amineer@chromium.org>
Cr-Commit-Position: refs/heads/main@{#938550}
2021-11-04 22:30:29 +00:00
932c9e3fc1 Update Profile::RegisterProfilePrefs link in //docs/configuration.md
Change-Id: Ief303318865272e909cc4b0f7cb31986f875b5ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2803948
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/main@{#938316}
2021-11-04 17:12:59 +00:00
3e6c490b75 [ios] Add documentation of "unrealized" WebStates
Before implementing the feature, document why it is developed, how
it works, and how code can safely interact with those "unrealized"
WebStates.

Bug: 1264453
Change-Id: Id636b77fb10f32fc281f1a855cc61eeee907a007
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3250638
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#938257}
2021-11-04 14:46:39 +00:00
27a6bd024d [dPWA Testing] Moved docs and added test addition how-to.
This change updates a lot of documentation, adds a how-to guide for
adding new integration tests, and starts the documentation move to
docs/webapps.

Bug: 1264155
Change-Id: I44fbd3e79f4153c91b977170671d37d503d868fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3256208
Commit-Queue: Daniel Murphy <dmurph@chromium.org>
Reviewed-by: Evan Stade <estade@chromium.org>
Reviewed-by: Phillis Tang <phillis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#937979}
2021-11-03 18:58:46 +00:00
3c9befa7e4 mac: Don't hardcode sdk version in build instructions
That way, we don't have to update the build instructions every time
we update the SDK.

Bug: 1265179
Change-Id: I8475fd240a850becf59e2fb74992b2f33e724663
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3257987
Commit-Queue: Nico Weber <thakis@chromium.org>
Auto-Submit: Nico Weber <thakis@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
Owners-Override: Mark Mentovai <mmentovai@google.com>
Cr-Commit-Position: refs/heads/main@{#937941}
2021-11-03 17:07:11 +00:00
6c0a9da086 [rust] Document experimental Rust toolchain.
Bug: 1069271
Change-Id: If50fc28b03b3df13534de62719a7564896488270
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3255785
Commit-Queue: Adrian Taylor <adetaylor@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#937896}
2021-11-03 15:38:14 +00:00
f587d3f432 Use SkPixmap as the example of a trivial grammar.
It's more immediately relevant to this document's audience.

Bug: None.
Change-Id: I04ad58472086c9f3b64a5a72b1c27453618d28a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3257116
Commit-Queue: Chris Palmer <palmer@chromium.org>
Reviewed-by: Adrian Taylor <adetaylor@chromium.org>
Cr-Commit-Position: refs/heads/main@{#937645}
2021-11-03 00:37:47 +00:00
f08ee3804c flag: remove select-to-speak-navigation-control
Navigation controls in Select-to-speak was launched in M89, so cleaning up flags throughout codebase.

Bug: 953690
Change-Id: I1be5232a9ad301541212b1cd5dee678f6e918b9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3248869
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Katie Dektar <katie@chromium.org>
Commit-Queue: Joel Riley <joelriley@google.com>
Cr-Commit-Position: refs/heads/main@{#937592}
2021-11-02 22:55:46 +00:00
b7c91207af Move binary size sheriffing docs to g3doc
Bug: None
Change-Id: Id8a5760de3ee5df625bfc1f2a78ac06b4c464792
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3252110
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/main@{#937027}
2021-11-01 20:32:26 +00:00
7f8ddfb87f Organize docs/accessibility
./: overview docs

R=katie@chromium.org

platform-specific accessibility

browser: docs pertaining to Chrome browser e.g. web contents and
os: docs pertaining to Chrome OS
Change-Id: I8b0423503d3199b10c8038e6cb45435558db1461
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3255169
Commit-Queue: David Tseng <dtseng@chromium.org>
Reviewed-by: Katie Dektar <katie@chromium.org>
Cr-Commit-Position: refs/heads/main@{#936992}
2021-11-01 19:32:59 +00:00
2d93ad9012 Fix references to moved files in documentation.
Bug: 1255932
Change-Id: Id76970abfa7262ede732ff0d1ffefa36e4a8f5a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3219351
Reviewed-by: John Chen <johnchen@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Eric Orth <ericorth@chromium.org>
Commit-Queue: Patrick Monette <pmonette@chromium.org>
Cr-Commit-Position: refs/heads/main@{#936987}
2021-11-01 19:20:22 +00:00
c21170895c [ios][docs] Add information about IntentsExtension
Bug: none
Change-Id: I35de548c3b7c59173e4569930fe5b29621accd40
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3250905
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#936331}
2021-10-29 10:05:48 +00:00
21f6adbb3e Add chromium_tests_builder_config properties info to new_builder.md.
Change-Id: I19d6abc1fcf663f0c22f787185503ab906eecd17
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3248259
Reviewed-by: Gary Tong <gatong@chromium.org>
Commit-Queue: Garrett Beaty <gbeaty@google.com>
Cr-Commit-Position: refs/heads/main@{#936174}
2021-10-29 00:13:24 +00:00
9b8252a909 Add documentation for natural voices, including guide for adding voices.
Change-Id: Ide7e05230855bc8cf1d08fdbadddb33881d47ecc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3248083
Reviewed-by: David Tseng <dtseng@chromium.org>
Commit-Queue: Joel Riley <joelriley@google.com>
Cr-Commit-Position: refs/heads/main@{#936058}
2021-10-28 20:12:39 +00:00
48733d4db5 Add information about CQ to new_builder.md.
Change-Id: Ic18622c1c6c698083e3675c117698197ffe000d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3248968
Commit-Queue: Garrett Beaty <gbeaty@google.com>
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#936000}
2021-10-28 18:18:58 +00:00
aec0504c09 docs: Add views_examples to animation builder docs
Add a note that you can see the example animation by running views_examples.

Bug: none
Change-Id: I5224c4d607d55f3f1976a1143fcd548897535aae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3251492
Reviewed-by: Allen Bauer <kylixrd@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/main@{#935980}
2021-10-28 17:53:08 +00:00
4029273818 Update links in new_builder.md.
* The LUCI generated files are no generated under
  infra/config/generated/luci instead of infra/config/generated.
* Some links were unused.

Change-Id: Id83795d267e553c5d9337b9600495604fbd266fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3247877
Auto-Submit: Garrett Beaty <gbeaty@google.com>
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
Commit-Queue: Stephen Martinis <martiniss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#935973}
2021-10-28 17:40:32 +00:00
3b711adfca webui: fix resource id reference in README
This updates the README.md to make WebUIController serve the container
html intead of the hello_world.html.

Change-Id: I3b1ddc3ae034386323243e58544b5ca0f6a3521b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3249810
Reviewed-by: dpapad <dpapad@chromium.org>
Commit-Queue: Phillis Tang <phillis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#935951}
2021-10-28 17:12:35 +00:00
ae45fe8dc3 Fix source links in accessibility tests documentation.
Links used the old code site, and some of them pointed to locations
that have been moved since.

Bug: none
Change-Id: I4679501d7e92fedb29f1cabf3842bf16360578e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3233099
Reviewed-by: Joanmarie Diggs <jdiggs@igalia.com>
Commit-Queue: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Cr-Commit-Position: refs/heads/main@{#935792}
2021-10-28 09:04:29 +00:00
c37c9b79aa [vscode docs] Run Java extension in lightweight mode to avoid errors
Update the instructions to avoid getting many errors from the extension.

Bug: None
Change-Id: I1ccb1431f83666ef91958acc81b87d60f67d58a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3247794
Auto-Submit: Victor Vianna <victorvianna@google.com>
Commit-Queue: Tommy Nyquist <nyquist@chromium.org>
Reviewed-by: Tommy Nyquist <nyquist@chromium.org>
Cr-Commit-Position: refs/heads/main@{#935687}
2021-10-28 00:32:32 +00:00
500aa308c2 Remove references to obsolete starlark practices.
The starlark config no longer has separate files for consoles and no
longer has release branch counterparts to the ci and try buckets.

Change-Id: I96343dc206021c7687ce37450104a6d8e6903127
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3249152
Auto-Submit: Garrett Beaty <gbeaty@google.com>
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
Commit-Queue: Stephen Martinis <martiniss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#935587}
2021-10-27 21:21:48 +00:00
9b1568336e Miscellaneous changes in tests in preparation for the clang_rt switch
Splitting the changes required to switch to clang_rt/libunwind will
allow to have faster review/landing cycle with reduced amount of
required approvals.

This is a requirement to migrate to the NDK r23 and enablement
of new features (e.g. PAC/BTI).

Bug: 1184398, 1246049
Change-Id: I97300024573287ec38ff7ded7f0f44278de30700
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3242085
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#935235}
2021-10-27 00:50:14 +00:00
c2f79e18a1 COIL Update language use for accessibility files
This CL makes some small changes to the chromevox classic earcon engine,
to ax_enums, perf docs and an a11y test to use the modern 'main'
instead of the previously used language. The change should have no
user-facing effects.

AX-Relnotes: N/A
Bug: N/A
Change-Id: I3837689f837f4772d0489c9e675f0eba590ff0fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3243269
Commit-Queue: Mark Schillaci <mschillaci@google.com>
Reviewed-by: dpapad <dpapad@chromium.org>
Reviewed-by: danakj <danakj@chromium.org>
Reviewed-by: Akihiro Ota <akihiroota@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#935059}
2021-10-26 18:26:49 +00:00
63c5c8f592 Revert "Switch to using compiler-rt/libunwind on Android"
This reverts commit d13dd471ce.

Reason for revert: Breaks XR tests crbug.com/1262254

Original change's description:
> Switch to using compiler-rt/libunwind on Android
>
> This is a requirement to roll to NDK r23 as also a blocker for
> other new features enablement.
>
> A positive side effect of this change is a small reduction (-7KB)
> in the size of the generated APK for Android.
>
> Bug: 1184398, 1246049, 1261780, 1261795
> Change-Id: I424c4ef503cb79442d1399b45134709792ddac5e
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3045960
> Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org>
> Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
> Reviewed-by: Andrew Grieve <agrieve@chromium.org>
> Reviewed-by: Hans Wennborg <hans@chromium.org>
> Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
> Reviewed-by: Brandon Jones <bajones@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#933722}

Bug: 1184398, 1246049, 1261780, 1261795
Change-Id: Iec09a370d0033214fbd52362f8e95d01b70378de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3236755
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Adenilson Cavalcanti <cavalcantii@chromium.org>
Reviewed-by: Boris Sazonov <bsazonov@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#934609}
2021-10-25 18:38:35 +00:00
d13dd471ce Switch to using compiler-rt/libunwind on Android
This is a requirement to roll to NDK r23 as also a blocker for
other new features enablement.

A positive side effect of this change is a small reduction (-7KB)
in the size of the generated APK for Android.

Bug: 1184398, 1246049, 1261780, 1261795
Change-Id: I424c4ef503cb79442d1399b45134709792ddac5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3045960
Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org>
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/main@{#933722}
2021-10-21 00:21:12 +00:00
405eb319f7 Remove unused Chrome docs PNG files.
Bug: 1257736
Change-Id: Ie005493e3f2896aa1530eca68cdad211e00a8b99
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3232109
Auto-Submit: Addison Luh <aluh@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Commit-Queue: Addison Luh <aluh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#933601}
2021-10-20 19:55:02 +00:00
730be5684c [Lookalikes] wordsmithing of g.co/chrome/lookalike-warnings
This CL makes some small tweaks to our lookalike documentation in
an attempt to make the instructions clearer, and encourage site
owners to use DAL-based verification instead of manual reviews.

Change-Id: I0e88d58d72447e328a9a009c9012796423d74263
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3233777
Commit-Queue: Joe DeBlasio <jdeblasio@chromium.org>
Reviewed-by: Mustafa Emre Acer <meacer@chromium.org>
Cr-Commit-Position: refs/heads/main@{#933523}
2021-10-20 17:31:31 +00:00
317532d47d Run a spellchecker on src/docs/
I'd also like to use this CL as a test for
crbug.com/1257744

Change-Id: Ie958c515680a2a130c257c23f826d5a30a3963ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3229977
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Cr-Commit-Position: refs/heads/main@{#933514}
2021-10-20 17:10:31 +00:00
2ead0ee929 Update GridLayout to TableLayout in UI docs.
Bug: 1261301
Change-Id: I9cf8cd10a203336ca3a0565d40b7af1f4965f23c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3234657
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Commit-Queue: Peter Boström <pbos@chromium.org>
Reviewed-by: Peter Boström <pbos@chromium.org>
Cr-Commit-Position: refs/heads/main@{#933509}
2021-10-20 16:55:27 +00:00
72558f3819 Fix a typo in documentation for Policy Settings in Chrome
Bug: None
Test: None
Change-Id: I31d0063c3115b6e23e2816301c62e6eb7ac35cc5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3234957
Auto-Submit: Jana Grill <janagrill@google.com>
Reviewed-by: Owen Min <zmin@chromium.org>
Commit-Queue: Owen Min <zmin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#933508}
2021-10-20 16:52:33 +00:00
a5d8d21013 Mac: exclude Enterprise from untriaged bucket in triage docs
Bug: None
Change-Id: I5fd6b798c3a0e460479cd71ace6febdb5fda2256
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3231895
Auto-Submit: Leonard Grey <lgrey@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#933146}
2021-10-19 20:08:49 +00:00
07ff22e84b Call out commands to be run to install depot_tools
Other mandatory command steps are called out using <pre> blocks.
This makes to more obvious that running gclient after unpacking
depot_tools.zip is a mandatory step.

Bug: 1259839
Change-Id: I7a8eb512b7f59697d411da0e481fafac00faaae6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3230403
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#933124}
2021-10-19 19:21:20 +00:00
5fadadd591 [fuchsia] Rewrite runner templates to use cleaner primitives.
Test runner and TUF installation rules are rewritten to make use of
the "fuchsia_run_script_with_packages" template, which adds package
handling to wrapper script generation and little else.

Adds a new target "chrome_fuchsia_runner", which deploys and executes
the standalone Chrome executable on a device.

Test runner script generation is relocated from testing/test.gni to
reduce clutter in that BUILD.gn file.

Bug: 1256870
Change-Id: I23058a8bc1b59b1be3dae79bb986d6efee72b680
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3206480
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: Chong Gu <chonggu@google.com>
Reviewed-by: Greg Thompson <grt@chromium.org>
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: danakj <danakj@chromium.org>
Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
Cr-Commit-Position: refs/heads/main@{#932266}
2021-10-16 00:08:25 +00:00
9f5ce757de [Instrumented libraries] Move build files to xenial subdirectory
This is in preparation for adding a separate directory for focal.

In addition, the name of the prebuilt binaries changes from
msan-no-origins-xenial.tgz to msan-no-origins.tgz.  This is so that
projects like V8 do not have to manually update their DEPS entries
when auto-rolling //third_party/instrumented_libraries.

BUG=1260217
R=thestig
CQ_INCLUDE_TRYBOTS=luci.chromium.try:linux_chromium_msan_rel_ng

Change-Id: Id2eb94405f76e590cbc25b425c80eb08353d871f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3224627
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Auto-Submit: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#932225}
2021-10-15 21:55:43 +00:00
a852434c65 [ios]Use the same pattern to define EarlGrey stubs
Test modules needs to have a stub version of the interface class
available to satisfy the linker. This stub is declared with the
macro GREY_STUB_CLASS_IN_APP_MAIN_QUEUE.

Xcode code completion is broken if the macro is not followed by
a semi-colon, but clang complains about trailing semi-colon in a
place where it is not required.

To bypass this issue, for each foo_interface.h file, create a
foo_interface_stub.mm file containing just the macro call. It
also avoid putting the stub declaration in a random source file.

Fix some naming inconsistency in file/target names.

Bug: 1015113
Change-Id: I6596575e8b7f8c0fac42fc8aace1568cecd69dd6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3222908
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Ewann Pellé <ewannpv@chromium.org>
Reviewed-by: Ewann Pellé <ewannpv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931916}
2021-10-15 07:53:39 +00:00
696d636b07 Updated the image used by Life_of_a_frame.md
The old image was missing step 15 (Draw) which was a mismatch with the
description.

Bug: none
Change-Id: Iba7a75d8a5bcf22fb506c4df562e7cdcadfd95c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3220560
Auto-Submit: Behdadb <behdadb@chromium.org>
Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org>
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931815}
2021-10-15 01:30:58 +00:00
0cdc607333 Update a guideline about Owners-Override
The CL updates the guideline per discussion on
lsc-owners-override@chromium.org.

Bug: None
Change-Id: Ib04194afc376765c60d74b09745c19ca25b29a3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3218841
Commit-Queue: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Bartek Nowierski <bartekn@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931795}
2021-10-15 00:35:16 +00:00
9f6ed25f1a rule-of-2 update to clarify how re2 can be used
Make some guidance available on re2 use in privileged processes.

This position is fairly conservative and reflects recent enquiries to the security team.

Change-Id: I01b7f19275c83dc867b2d61ff092ba7ca3e91a38
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3209461
Commit-Queue: Alex Gough <ajgo@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931715}
2021-10-14 22:04:41 +00:00
7d990162a4 Cross-link from security FAQ to VRP FAQ.
Change-Id: I656cf052deb219ae0a82d1e2c1eb229dd94ae182
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3223138
Commit-Queue: Adrian Taylor <adetaylor@chromium.org>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931654}
2021-10-14 19:25:29 +00:00
9df1dd9d9f Updater: Add env vars and invoke preinstall/postinstall scripts.
Change-Id: Id8c3b253930c680309679aace363a786e563a9b0
Bug: 1252842
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3221396
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Reviewed-by: Xiaoling Bao <xiaolingbao@chromium.org>
Commit-Queue: Joshua Pawlicki <waffles@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931632}
2021-10-14 18:45:13 +00:00
e8e980fcac Clarify boilerplate.py documentation
I had a nasty surprise when I ran this from a subdirectory :)

Change-Id: If14b37459bae917092fcee1a64c20247005a0d2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3221311
Commit-Queue: Tommy Martino <tmartino@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931505}
2021-10-14 15:19:48 +00:00
8efa3d1447 [ios] Remove definition of CHROME_EARL_GREY_2 macro
The macro is no longer used (it was there to facilitate the
transition from EarlGrey to EarlGrey2) and can be removed.

Bug: none
Change-Id: Iae7b37b1f6e38388a5f566af75d01988fb7d7bd7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3222939
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: David Jean <djean@chromium.org>
Reviewed-by: David Jean <djean@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931459}
2021-10-14 12:01:05 +00:00
800532c0bf Deprecate returning a GURL from GURL::GetOrigin().
This patch renames `GURL::GetOrigin()` to
`GURL::DeprecatedGetOriginAsURL()`. A subsequent patch will
reintroduce a `GURL::GetOrigin()` that returns a `url::Origin`
rather than a `GURL`.

This patch was brought to you by sed, followed by a little manual
work to deal with look-alike methods (most notably
`CascadePriority::GetOrigin()` and `NudgeTracker::GetOrigin()`) and
two or three spots that held pointers to GURLs:

```
git grep -n -l ".GetOrigin(" | \
  xargs -L1 sed -i '' \
    -e 's/\.GetOrigin(/.DeprecatedGetOriginAsURL(/g'
```

Bug: 512374
Change-Id: I03fb290650b8759d9849af0911cad9bdc92a5132
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3220292
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931431}
2021-10-14 09:26:52 +00:00
c16702152d Add documentation for missing git footers in CL descriptions.
You can specify a number of different "footers" in your CL
description to change how the CQ and builder recipes will process
your CL. This CL updates the documentation for three footers that
were previously missing (Binary-Size, Disable-Retries, and
Include-Ci-Only-Tests).

Change-Id: If0592ab21f2ae08dcf3cb65cc29f7086d85099dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3221455
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/main@{#931311}
2021-10-14 00:34:33 +00:00
aea9299eaf Sheriffing docs: mention Extended Stable.
Change-Id: Icc8c4c289012e852f488fb9b7e2c232cd03d6c14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3221111
Auto-Submit: Adrian Taylor <adetaylor@chromium.org>
Reviewed-by: Bettina Dea <bdea@chromium.org>
Commit-Queue: Bettina Dea <bdea@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931167}
2021-10-13 19:02:37 +00:00
33b7b589a1 Update GPU bots documentation.
With info on pausing builders during modifications.

Bug: None
Change-Id: I595b8044914bec812f41c5e540a0fc5302b6e554
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3212408
Auto-Submit: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Garrett Beaty <gbeaty@google.com>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#930870}
2021-10-13 00:17:27 +00:00
f702d7e65f Add an example command line for the virtual test suites.
For ease of understanding how to execute the virtual test suites,
let me add an example command line.

Change-Id: I5bdf114a776676b3d5c81c0e7d5aaeeb766351b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3218171
Auto-Submit: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/main@{#930371}
2021-10-12 01:47:57 +00:00
ec56938992 Specify Audio and Network sandboxes in mojo
Adds ServiceSandbox attribute to AudioService and NetworkService
interfaces and deletes the final service_sandbox_type.h file. All
service sandboxes are now specified this way.

These two services are different, however. Their sandboxes can be
disabled (to kNoSandbox) by policy or feature flags. This means
the service launching machinery must know how to do this. In this
CL we move this logic into the ServiceProcessHost which in turn
asks the ContentBrowserClient if the sandboxes should be enabled.
As this is only necessary for two sandbox types we have not
generalised the CBC interface.

We also delete `sandbox_type` from service process host options
as it cannot be specified as an option and must be specified using
the ServiceSandbox attribute on the launched mojom. We migrate
the type used within ServiceProcessHost to sandbox::mojom::Sandbox.
A future CL will replace sandbox::policy::mojom::SandboxType with
the mojom type throughout.

Bug: 1210301
Change-Id: I4de13359487158a52da8ad414c8beb9cd93033bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3209992
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Ken Rockot <rockot@google.com>
Reviewed-by: Will Harris <wfh@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Commit-Queue: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#930365}
2021-10-12 00:55:44 +00:00
fe7d72e367 Update linux build instructions to require Python 3.6+.
Versions 3.5 and below can otherwise encounter issues (f-string support, TypeError with json.loads(), etc.).

Bug: 1225269
Change-Id: I1dabd07b3b824568ec58015b307a8b510c509d58
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3217550
Auto-Submit: Mike Taylor <miketaylr@chromium.org>
Commit-Queue: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Ari Chivukula <arichiv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#930150}
2021-10-11 15:03:11 +00:00
7e85d34af2 Clarify the guideline to use Owners-Override
This CL clarifies the guideline per discussion in Chrome Eng Review.

Bug: None
Change-Id: Ic961c04603b18f58042c61249a835e35854043d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3201933
Commit-Queue: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/main@{#929713}
2021-10-08 15:33:16 +00:00