0
Files
src/docs
Edman Anjos 5617af5ed6 Reland "autotest.py: Support policy to pref mappings tests"
This relands commit e7481c5056.
Which was reverted in commit dc8e02663b.

There was an issue in the original CL where the argument
--test_policy_to_pref_mappings_filter gets popuplated when there are no
policy pref mapping test files. This wasn't noticed because c++ unit
tests and browser tests ignore this flag and work correctly. Android
tests OTOH throw an error because the flag is unknown.

This CL filters policy pref mapping files when building the flag.

Original change's description:
> autotest.py: Support policy to pref mappings tests
>
> Pref mapping test files now work, for example:
> $ tools/autotest.py -C out/Default \
>     components/policy/test/data/pref_mapping/NewWindowsInKioskAllowed.json
> $ tools/autotest.py -C out/Default \
>     components/policy/test/data/pref_mapping \
>     --test_policy_to_pref_mappings_filter=NewWindowsInKioskAllowed
>
> Which are equivalent to:
> $ autoninja -C out/Default browser_tests
> $ out/Default/browser_tests \
>     --gtest_filter="*PolicyPrefsTest.PolicyToPrefsMapping" \
>     --test_policy_to_pref_mappings_filter="NewWindowsInKioskAllowed"
>
> Bug: b:319254568
> Test: tools/autotest.py -C out/Default components/policy/test/data/pref_mapping
> Test: tools/autotest.py -C out/Default components/policy/test/data/pref_mapping/NewWindowsInKioskAllowed.json
> Change-Id: I8eb36a69abd717bf69c56a7f1aa453209c3da5a2
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5185801
> Reviewed-by: Maksim Ivanov <emaxx@chromium.org>
> Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
> Commit-Queue: Edman Anjos <edman@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1254565}

Bug: b:319254568
Change-Id: I4f3aab804b27ae5939a87804be270b15304d8561
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5257580
Reviewed-by: Maksim Ivanov <emaxx@chromium.org>
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Edman Anjos <edman@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255138}
2024-02-01 18:08:18 +00:00
..
2022-12-22 20:33:09 +00:00
2024-01-23 19:32:32 +00:00
2024-01-02 19:08:20 +00:00
2024-01-10 01:03:43 +00:00
2023-11-14 16:21:10 +00:00
2024-01-30 19:04:42 +00:00
2024-01-29 19:41:23 +00:00
2023-07-28 18:53:55 +00:00
2023-05-19 07:09:24 +00:00
2023-11-29 10:32:30 +00:00
2023-07-22 00:14:11 +00:00
2023-03-27 17:23:00 +00:00
2022-11-19 02:16:05 +00:00
2023-04-27 18:56:54 +00:00
2023-08-01 17:31:20 +00:00
2023-05-18 23:59:28 +00:00

Chromium docs

This directory contains chromium project documentation in Gitiles-flavored Markdown. It is automatically rendered by Gitiles.

If you add new documents, please also add a link to them in the Document Index below.

[TOC]

Creating Documentation

Guidelines

Previewing changes

Locally using md_browser

# in chromium checkout
./tools/md_browser/md_browser.py

This is only an estimate. The gitiles view may differ.

  1. Upload a patch to gerrit, or receive a review request. e.g. https://chromium-review.googlesource.com/c/3362532
  2. View a specific .md file. e.g. https://chromium-review.googlesource.com/c/3362532/2/docs/README.md
  3. You will see something like
    Base preview -> Patchset 3 preview | DOWNLOAD
    at the top left of the page. Click on the second "preview" link to open the preview for the current patch set.

This gitiles view is the authoritative view, exactly the same as will be used when committed.

Document Index

Checking Out and Building

Design Docs

Integrated Development Environment (IDE) Set Up Guides

Git

Clang

General Development

Testing

Configuration Docs

Misc Linux-Specific Docs

Misc MacOS-Specific Docs

Misc Windows-Specific Docs

Misc Android-Specific Docs

Misc iOS-Specific Docs

Misc Chrome-OS-Specific Docs

Misc WebUI-Specific Docs

Media

Accessibility

Memory

Memory Infrastructure Timeline Profiling (MemoryInfra)

Metrics

Misc

Mojo & Services

Speed

  • Chrome Speed - Documentation for performance measurements and regressions in Chrome.
  • Chrome Speed Metrics - Documentation about user experience metrics on the web and their JavaScript APIs.

UI

What's Up With That Transcripts

These are transcripts of What's Up With That, a video series of interviews with Chromium software engineers.

Probably Obsolete