0
Commit Graph

2344 Commits

Author SHA1 Message Date
1f11d3acc0 mac: exclude Internals-Cast from triage
Bug: None
Change-Id: I9a4fd6ff2c68bc228efda58d6e332218c729193a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2410667
Reviewed-by: Takumi Fujimoto <takumif@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#806748}
2020-09-14 20:48:15 +00:00
f50e025a17 Update WebUIDataSource doc in WebUI explainer
R=dpapad@chromium.org
BUG=none

Change-Id: Ifb796b08338cfd17e0c99a06aaad6f2a934e7748
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2020864
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Reviewed-by: dpapad <dpapad@chromium.org>
Auto-Submit: Dan Beam <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#806666}
2020-09-14 16:38:33 +00:00
39104d5e12 Add .md doc for Windows Virtual Desktop support
Change-Id: I4f58aa906bc7f8c1f82d06e56099ad6927cb4680
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2406533
Reviewed-by: David Bienvenu <davidbienvenu@chromium.org>
Reviewed-by: Jesse McKenna <jessemckenna@google.com>
Commit-Queue: David Bienvenu <davidbienvenu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#806350}
2020-09-11 21:50:42 +00:00
9425c0f9dc Update documentation for binding lambda that take parameters.
Change-Id: I5856d1b98ef0a143d4924c64d9eca279ffe6e8e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2406541
Commit-Queue: Erik Chen <erikchen@chromium.org>
Auto-Submit: Erik Chen <erikchen@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#806347}
2020-09-11 21:41:09 +00:00
9b19829c21 Add dom => domfarolino to user_handle_mapping
R=mheikal@google.com

Bug: N/A
Change-Id: I747efdce3e2b9f76defb6bd97e77351d1d13be7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2406179
Reviewed-by: Mohamed Heikal <mheikal@chromium.org>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#806275}
2020-09-11 19:21:49 +00:00
f91d7a0b4e [Jobs]: Follow-up on "Expose worker count to Job users"
Addressing gab comments on
https://chromium-review.googlesource.com/c/chromium/src/+/2304972

Change-Id: I4ac6d2378bdf509c3c606d0bafab965212f07638
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2390860
Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org>
Reviewed-by: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#806199}
2020-09-11 15:53:27 +00:00
f5b3202908 docs: specify run_blink_httpd.py directory
Most of the files served by run_blink_httpd.py are from the git
checkout. A few are not, so make sure developers know they can
specify the checkout directory with -t.

Change-Id: If66ebce1db41e05e46e792e310838ee0ed2741ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2405715
Auto-Submit: Johann Koenig <johannkoenig@google.com>
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#806172}
2020-09-11 14:20:22 +00:00
ae0ad3ad97 Update docs for how to enable reader mode flags
Bug: 1041589
No-try: true
Change-Id: Ib5d355bce4ba17e2da9cf26483e7de6e84495ce3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2404152
Auto-Submit: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: Meredith Lane <meredithl@chromium.org>
Commit-Queue: Meredith Lane <meredithl@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805990}
2020-09-11 00:46:04 +00:00
b426cf9b18 Update example vscode tasks
- Try to make the tasks more general purpose.
  * Add mechanism to switch output directories. Most
    tasks will work with this value.
  * Add tasks to run tests for the current file or directory
    instead of pre-determined targets.
- Try to simplify it.
  * Remove some parameters which are defaults
  * Move pattern matches to top-level, to avoid duplicates.

Change-Id: Ifff15bc264be510c0859e4adcce7b996349ac343
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2402189
Reviewed-by: Chase Phillips <cmp@chromium.org>
Commit-Queue: Chase Phillips <cmp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805872}
2020-09-10 19:47:08 +00:00
d3baa13f60 Move references to content/browser/frame_host/
These (non-include) references should now point to
content/browser/renderer_host where the code has moved to.

TBR=avi@chromium.org, arthursonzogni@chromium.org

Bug: 1091083
Change-Id: I8d0ace9fab6c04e3b498eee8d442ff6bd52fd7a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2402185
Reviewed-by: danakj <danakj@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Auto-Submit: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805760}
2020-09-10 15:33:56 +00:00
b69bd73592 Enable CorbAllowlistAlsoAppliesToOorCors by default.
CorbAllowlistAlsoAppliesToOorCors (aka CORS-for-content-scripts) has
been shipping to the stable channel with Chrome85 since Aug 25th (~2
weeks ago).  There have been just a handful of allowlisting requests so
far - therefore, it seems okay to declare that this change has
successfully shipped to the stable channel.

This CL transitions enabling CorbAllowlistAlsoAppliesToOorCors away from
1) fieldtrial_testing_config.json and 2) field trial config (this
includes preserving/copying the allowlisted extensions from
site_isolation/data/CorsAndCorbAllowlist.gcl to
//extensions/browser/url_loader_factory_manager.cc).

After this CL we still retain an ability to allowlist extensions:
1. Via field trial config (affecting Chrome versions prior to this CL
   - Chrome 85, Chrome 86 and a little bit of Chrome 87)
2. Via the hardcoded allowlist in
  //extensions/browser/url_loader_factory_manager.cc (although this
  ability will go away soon - after https://crrev.com/c/2388709).

This CL unblocks the following follow-up CLs:
1. Adding |max_version| to the field trial config
   (google3 - cl/330527651)
2. Starting deprecation of the allowlist
   (chromium3 - https://crrev.com/c/2388709)

Bug: 920638
Change-Id: I635eb0777dc83a7ad448f57b9de388ae071e0c9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2359393
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Charlie Reis <creis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805490}
2020-09-09 21:21:00 +00:00
ba144413ee Update codesearch links
code.google.com redirects no longer work. This CL replaces links in /docs
to source.chromium.org equivalent.
This CL was uploaded by git cl split.

Change-Id: I8014645395846f3e57117b7faaae9dd8c0ef6e3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2392761
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Auto-Submit: Josip Sokcevic <sokcevic@google.com>
Cr-Commit-Position: refs/heads/master@{#805483}
2020-09-09 20:57:05 +00:00
3b6c2552d2 docs: Update asan docs slightly
- Mention more platforms at the top
- Be better about escaping underscores
- Remove some old gyp references
- Remove some no-longer-needed explicit clang opt-ins

Change-Id: I0e604a12ef67f3ae4d40cb06eac713305bdaf726
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401806
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805441}
2020-09-09 19:49:45 +00:00
e6e768e928 mojo: update examples to follow styleguide
Remove usage of DISALLOW_COPY_AND_ASSIGN from mojo documentation.

styleguide/c++/c++-dos-and-donts.md:
'DISALLOW_COPY_AND_ASSIGN` is deprecated.  For
a non-copyable/movable type, delete the copy operations (the move
operations will be implicitly deleted); otherwise, declare either
copy operations, move operations, or both (a non-declared pair
will be implicitly deleted).  Always declare or delete both
construction and assignment, not just one (which can introduce
subtle bugs).

Change-Id: Iad752e093643a0f964056c1d4b6714cea724728f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2398069
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Johann Koenig <johannkoenig@google.com>
Cr-Commit-Position: refs/heads/master@{#805164}
2020-09-09 00:51:10 +00:00
fb308b3c06 Update contact info for Linux Chromium Packages doc.
Point to an OWNERS file instead of having a single contact. Also suggest
contributing updates, as all the documentation is now in the git repo.

Change-Id: Id7e6f5c00f5f3f9264f0c580b269284d1ad37c4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2399720
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805143}
2020-09-09 00:08:46 +00:00
edd9e8366f Update Debian entry in Linux Chromium Packages doc.
As suggested in a private email, update the entire row for the Debian
entry with more relevant and up-to-date info.

Change-Id: Ifd400f8b1766de0758f4c97906e56fc318d48789
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2398973
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805071}
2020-09-08 20:58:46 +00:00
982b79ccd3 Fix MathService mojo docs
R=rockot@google.com

Bug: N/A
Change-Id: I33724debfb3416e6d5b54e5564fe8846f2103841
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2393976
Reviewed-by: Ken Rockot <rockot@google.com>
Commit-Queue: Dominic Farolino <dom@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805041}
2020-09-08 20:07:10 +00:00
317f4111c7 Link from android-binary-size docs -> gerrit plugin
Change-Id: I532b9e054a047bffa34fddaee6e69c2b0795b204
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2391215
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Mohamed Heikal <mheikal@chromium.org>
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#804416}
2020-09-03 21:24:56 +00:00
0bf7bece22 Add markdown doc for browser controls
Change-Id: I84c31c97a340011c42642810425c3e9676e27eef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1995877
Reviewed-by: Matthew Jones <mdjones@chromium.org>
Reviewed-by: Theresa  <twellington@chromium.org>
Commit-Queue: Sinan Sahin <sinansahin@google.com>
Cr-Commit-Position: refs/heads/master@{#804338}
2020-09-03 19:02:07 +00:00
e73aec24dc [Docs] Update flag_expiry.md with removal instructions
Add instructions for removing flags to flag_expiry.md.

Bug: None
Change-Id: Ib42fd8ccd062b1612091235204db000ca2a4fff9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2389015
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#804239}
2020-09-03 15:22:54 +00:00
ede900bba5 [Simplified domains] policy update
Change-Id: Iff940839243bf27974860e1e32b5fe25d8a59b17
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2391730
Auto-Submit: Joe DeBlasio <jdeblasio@chromium.org>
Commit-Queue: Emily Stark <estark@chromium.org>
Reviewed-by: Emily Stark <estark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#804068}
2020-09-03 04:38:38 +00:00
c405f4327e Fix Accessibility Test Instructions
Change-Id: I699fc12cdd59c3a813d3e0daa3730a4a631b6102

NOTRY=true

Change-Id: I699fc12cdd59c3a813d3e0daa3730a4a631b6102
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2387342
Commit-Queue: Josiah Krutz <josiahk@google.com>
Reviewed-by: David Tseng <dtseng@chromium.org>
Auto-Submit: Josiah Krutz <josiahk@google.com>
Cr-Commit-Position: refs/heads/master@{#803762}
2020-09-02 04:30:19 +00:00
05355f4ad6 Let blink runtime features override the default status of chromium features
This honors blink feature status ("test", "experimental", "stable")
in third_party/blink/renderer/platform/runtime_enabled_features.json5,
overriding of the default status of the corresponding chromium features,
unless the status of the chromium feature is overridden by finch trial
or command line switches.

This resolves the following problems of blink features with
status:"test", status"experimental", status:"stable" when the
corresponding chromium feature is disabled:
1. unexpected disabling of the blink feature for web tests
2. unexpected enabling of a blink feature for unit tests (in which case
   the blink feature should not have a status).

This CL only affects how blink features with status are enabled with
--enable-experimental-web-platform-features
(or chrome://flags/#enable-experimental-web-platform-features)
--enable-blink-test-features when the corresponding chromium feature is
disabled by default.

This doesn't affect
1. finch experiments (which still controls the blink features through
   the chromium features);
2. other command line flags that affect blink features (either directly
   or indirectly through chromium features);
3. the priority relationship among 1 and 2 and the changed factors
   mentioned above.

The features that will be affected by this CL have been prepared in
either of the following methods (tracked by crbug.com/1121839, based
on feedbacks in https://docs.google.com/spreadsheets/d/1DAtdbGy7XZCC_1_IXHXZKx568pw0eDlVETCtJBexqZc/edit#gid=0):
a) For features that should be enabled for web tests but were not
   because of the chromium feature disabled by default, temporarily
   explicitly enable it in content/child/runtime_features.cc.
   An example is crrev.com/c/2380213.
   These changes are removed in this CL.
b) For features that are not ready to be enabled for web tests, or are
   not meaningful to be enabled for web tests (e.g. the feature is
   implemented at both chromium side and blink side), the blink status
   is removed to let the chromium feature fully control the blink
   feature. An example is crrev.com/c/2376067.

Bug: 1048656, 1121839
Change-Id: I8b2f15e30767dce9212097f79c8c07a373af892d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2375886
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Jason Chase <chasej@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803712}
2020-09-02 01:22:16 +00:00
0b6caf7ccb Describe reward_to- label in Sheriffing documents.
Previously, a couple of bugs went uncredited and didn't attract CVEs
because this label wasn't added. This may help a little.

Change-Id: I7208168a8cd8bae523bdfe00118ae70d3c901836
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2387416
Reviewed-by: Max Moroz <mmoroz@chromium.org>
Commit-Queue: Adrian Taylor <adetaylor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803646}
2020-09-01 21:36:40 +00:00
fe08628fc2 Merge body-text text contexts
Renames CONTEXT_MESSAGE_BOX_BODY_TEXT => CONTEXT_DIALOG_BODY_TEXT.
Replaces ChromeTextContext::CONTEXT_DIALOG_BODY_TEXT_LARGE uses
CONTEXT_DIALOG_BODY_TEXT. For consistency with the rename above,
CONTEXT_BODY_TEXT_SMALL is renamed CONTEXT_DIALOG_BODY_TEXT_SMALL.

What this functionally means is that CONTEXT_MESSAGE_BODY_TEXT takes on
the old style of CONTEXT_DIALOG_BODY_TEXT_LARGE, so one style of dialog
text is dropped and the new style can be used from views code. As a
result dialog body text looks more uniform.

Bug: 1122602
Change-Id: Ide5650b02f06a1925b441302e46815cfa73a3d21
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2381299
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Peter Boström <pbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#802827}
2020-08-28 22:41:00 +00:00
4575d18b01 Fix syntax error in simplified domains policy
Change-Id: Ic873b7df02124db730d689c3f82b8a06feb0f8d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2382770
Reviewed-by: Joe DeBlasio <jdeblasio@chromium.org>
Commit-Queue: Joe DeBlasio <jdeblasio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#802789}
2020-08-28 21:10:15 +00:00
9c314f83c4 Update simplified domain policy
Make it more obvious that the policy is experimental and subject
to change.

Change-Id: I8a78625f9c35a2927a0e441870397c2f3fdd95fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2378754
Reviewed-by: Joe DeBlasio <jdeblasio@chromium.org>
Commit-Queue: Emily Stark <estark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#802731}
2020-08-28 18:42:57 +00:00
1057241077 chromeperf: Update sheriff duties w/ automation
This change updates the responsibilities for the performance regression
sheriffs given the new automated process for triage and bisection. This
removes the need to proactively poll the alerts page in the Chromperf
Dashboard, and instead moves the sheriffing rotation to a reactive model
handling Monorail issues.

R=tdresser@chromium.org

Change-Id: Icb6e58052bd1c7480b57c341438a23b560120000
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2378408
Auto-Submit: Dean Berris <dberris@chromium.org>
Commit-Queue: Timothy Dresser <tdresser@chromium.org>
Reviewed-by: Timothy Dresser <tdresser@chromium.org>
Cr-Commit-Position: refs/heads/master@{#802265}
2020-08-27 17:12:34 +00:00
76c5774f25 Quick spelling change to release_branch_guidance.md.
Bug: None
Change-Id: I4a926b2326c10759ac01b92c27f99f9d9ddc342e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2369333
Reviewed-by: Alex Mineer <amineer@chromium.org>
Commit-Queue: Solomon Kinard <solomonkinard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#802027}
2020-08-26 23:48:26 +00:00
0c1bd38b13 [Simplified domains] Add public policy document.
This CL adds a public document explaining the cirumstances under which
we downgrade the displayed hostname to just eTLD+1.

Bug: 1106962
Change-Id: I565c4575b4537caca15824aa3b765da866f3e6c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2376372
Reviewed-by: Emily Stark <estark@chromium.org>
Commit-Queue: Joe DeBlasio <jdeblasio@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801566}
2020-08-25 22:06:26 +00:00
a8722a5979 Clarify updating Clang docs
Be more specific about "reasonably green".
Add instructions on how to roll your own Clang.

Change-Id: If5fd297e41f9a66c7c6e736903c14e911fe5819f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2373265
Reviewed-by: Hans Wennborg <hans@chromium.org>
Commit-Queue: Arthur Eubanks <aeubanks@google.com>
Cr-Commit-Position: refs/heads/master@{#801436}
2020-08-25 17:15:12 +00:00
96d272f259 Update metrics changelog for M85 and M86.
Also include a change missed in M84.

Change-Id: I0091c73b5d56fee3d326412a367a1cb85cdbd865
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2373218
Commit-Queue: Annie Sullivan <sullivan@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801391}
2020-08-25 16:00:16 +00:00
7c0e54434e Document shutdown steps.
It is useful to have a page to reference when explaining shutdown steps.
Additional info will be added as needed.

Change-Id: I8185372618d6af83d1050a621e8a9898530d4352
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2372896
Commit-Queue: François Doray <fdoray@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801379}
2020-08-25 15:27:28 +00:00
491ab8cebd Update GPU pixel wrangling documentation
Updates the GPU pixel wrangling documentation to point out
//content/test/gpu/trim_culprit_cls.py as a potentially useful tool and
updates the script's documentation to include example usages.

Bug: 1120104
Change-Id: I2026e994408097bfee8b94984dc89e8110afba0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2373391
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Commit-Queue: Zhenyao Mo <zmo@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Zhenyao Mo <zmo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801232}
2020-08-25 01:09:04 +00:00
f67b96701c [Perf] Configure android-pixel4a_power-perf bot
Configure new tester android-pixel4a_power-perf on main perf
waterfall to run power.mobile benchmark.

Bug: 1106954
Change-Id: Iac7af6f97c108d9a148cbb038dc94b6e5a2fea85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368454
Reviewed-by: Wenbin Zhang <wenbinzhang@google.com>
Commit-Queue: John Chen <johnchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801139}
2020-08-24 21:15:04 +00:00
ad3e84ba9a Update path to tricium_clang_tidy.py.
Change-Id: Ibe648c7f20b9866bdafc724b3fb3777d30e1a464
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2371147
Reviewed-by: George Burgess <gbiv@chromium.org>
Commit-Queue: George Burgess <gbiv@chromium.org>
Auto-Submit: Tal Pressman <talp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801054}
2020-08-24 18:25:54 +00:00
eb70fb4aca Docs: add best practices for java_cpp_strings
No change to logic, only docs. This updates java_cpp_strings docs:

 * The first paragraph incorrectly stated this uses comments to
   determine the Java class name. This corrects that statement.
 * Merges the two GN steps into one, explains it's a best practice to
   add this to an android_library (or create a new one if there is
   none), and recommends private visibility for :java_switches_srcjar.

Test: Upload to gerrit > open file > click "gitiles"
Change-Id: I4ae45da15f7db02a9d4c101de1a23c40f154b464
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2369652
Commit-Queue: Bo <boliu@chromium.org>
Auto-Submit: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Bo <boliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800838}
2020-08-22 15:25:55 +00:00
796f4db309 Fix typo and broken link in synchronous runloop documentation
Bug: None
Change-Id: I4162ef32a633124905a9ee8e1713d42c044c3654
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366798
Reviewed-by: Gyuyoung Kim <gyuyoung@igalia.com>
Commit-Queue: Frédéric Wang <fwang@igalia.com>
Cr-Commit-Position: refs/heads/master@{#800510}
2020-08-21 08:23:21 +00:00
70155896cf Document the Chromium for Chromium OS 'local_board'
When building Chromium for Chromium OS for Linux (linux-chromeos) there
is a choice of cros_boards, the local system and the Chromium sysroot.
At the moment linux-chromeos builds with the Chromium sysroot won't
run browser_tests on modern Debian systems due to an old version of
libffi. Since developer testing builds don't need to be protable anyway,
the Chromium sysroot is unnecessary. Document how to use the local
system as a solution to this.

Bug: chromium:1119849
Change-Id: Id5f7a41051367ae1f98cf48b1258680f6e11c9e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2367736
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#800392}
2020-08-21 00:48:10 +00:00
9f607b92df lacros: Add documentation to //docs/lacros.md
Bug: none
Change-Id: Id2b6ccc6985b92d8c22ecf20fb8ae3edc3bac9d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2367031
Commit-Queue: James Cook <jamescook@chromium.org>
Reviewed-by: Erik Chen <erikchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800309}
2020-08-20 20:42:32 +00:00
cfe4665c59 Add markdown documentation for test batching.
Bug: 989569
Change-Id: I49c5124ccbbb4b921a65e7b42b7c46d05bfb87d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363867
Auto-Submit: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799716}
2020-08-19 18:03:17 +00:00
1074f6f559 mac/arm64: Update project status document
Change-Id: Id0c9619dc31cd2e2bcb510d03baebe6f27e6c03c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364013
Commit-Queue: Nico Weber <thakis@chromium.org>
Auto-Submit: Mark Mentovai <mark@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799674}
2020-08-19 16:36:42 +00:00
8744a6783d Add --isolated-outdir flag to test executable API.
This adds an optional --isolated=outdir=PATH flag to the
test executable API; this gives the test runners a stable path
to the output directory from a swarming task, so that we can key
other files off of it without needing to pass them all explicitly
via the command line.

This also adds the arg to the isolated_script wrapper, so that we
those types of tests can handle the flag (by ignoring it for now).

We may need to work through the other cases (like gtest tests)
individually, which will be done in subsequent CLs.

Bug: 816629
Change-Id: Ibff6a47544bf94af5d7693a8446dfb669351cc07
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2358604
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Erik Staab <estaab@chromium.org>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799378}
2020-08-18 23:11:59 +00:00
4f6eff17e9 [docs] Document how to use MojoJS in WPT
Also re-organize the structure of the doc to make it a bit more logical.

Bug: 1094512
Change-Id: I230de88902da3d4162af5f10332f7262a8465fcd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363303
Commit-Queue: Robert Ma <robertma@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799367}
2020-08-18 22:44:45 +00:00
dcd286f70f s/request_initiator_site_lock/request_initiator_origin_lock/
After r797542 (which removed
SiteInstanceImpl::GetRequestInitiatorSiteLock) we always use an exact
origin (never an approximate site) as |request_initiator_site_lock|.
Because of that, this CL renames ..._site_lock to ..._origin_lock.

Bug: 918967
Tbr: mmenke@chromium.org (//chrome/renderer/net)
Tbr: dbertoni@chromium.org (//extensions/browser)
Tbr: chromium-metrics-reviews@google.com (histograms.xml)
Change-Id: Ifbe801eafccd641d11cb14ecef83ab097d01eb0f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274251
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799354}
2020-08-18 22:16:31 +00:00
9ee18c7643 Add additional DVLOG output for origin trial token parsing
There is already some debug output available for origin trials,
which can be enabled with:

 % chrome --vmodule=origin_trial_context=1 --enable-logging=stderr

This CL adds a bit more human-readable debug output, plus it adds
the appropriate flags to the documentation, so it is easier to find.

TL/DR now:
 % chrome --vmodule=trial_token=2,origin_trial_context=1 --enable-logging=stderr

Change-Id: I27d08055f460287e02531886593c696e700bbe3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2347385
Reviewed-by: Jason Chase <chasej@chromium.org>
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799308}
2020-08-18 20:57:21 +00:00
83874a6f3a Enforce presence of |request_initiator_site_lock| in renderer factories.
Thanks to an earlier CL (https://crrev.com/c/2274591), this CL can
modify CorsURLLoaderFactory::IsValidRequest to enforce the presence of
|request_initiator_site_lock| (see the mojo::ReportBadMessage call in
the InitiatorLockCompatibility::kNoLock case).  This is a big security
win - it means that the |request_initiator| can no longer be spoofed on
the Android platform (the CL modifies
//docs/security/compromised-renderers.md accordingly).

Bug: 1114906
Change-Id: I9e52ea33d8e929e31c1b4bfaf8fc85e5d2e185f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2347195
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799116}
2020-08-18 15:41:54 +00:00
988e2c0f74 Clarify that when adding a third_party dependency the size increase should be from official builds.
Change-Id: I791ecbaa3541dfbff9ae636d9737e2e1cbd175ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360426
Commit-Queue: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#798985}
2020-08-18 04:49:24 +00:00
9c7c40bb7e Add notes about changes of cumulative layout shift in M-86
Change-Id: I1286e8e96bd77b27f6d78d36db7e079972e97fce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360120
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#798845}
2020-08-17 22:04:37 +00:00
8a1dd3bea1 Update terminology in deterministic_builds.md
follow up to 8e26d230cf

Bug: 1097216
Change-Id: Ic65b788010d84c8d2a0282f0bd3a1e2d9680ab3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2359746
Auto-Submit: Evan Stade <estade@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#798835}
2020-08-17 21:28:51 +00:00