- Apr 23, 2023
-
-
Emilio Cobos Álvarez authored
Bug 1829512 - Use .clangd rather than vscode-specific configuration to point to the compilation database. r=andi Differential Revision: https://phabricator.services.mozilla.com/D176230
-
- Apr 18, 2023
-
-
Zeid authored
- generate exported index.rst file in mach doc - stop tracking docs/mots/index.rst, add it to ignore files - add mots.yaml to sphinx-docs sparse profile - add mots to requirements Differential Revision: https://phabricator.services.mozilla.com/D170116
-
- Mar 22, 2023
-
-
Erich Gubler authored
Bug 1720941, part 1: build(ci): integrate WebGPU CTS into CI r=webgpu-reviewers,taskgraph-reviewers,jmaher,jimb Vendor in WebGPU CTS so that we can run it against our implementation of WebGPU. This patch includes: 1. Some linting configuration tweaks, to silence issues that weren't straightforward to fix in CTS upstream. 2. Some WPT runner configuration to enable preferences, and skip MacOS testing altogether (since it's not targeted by our current work). 3. A new Rust binary crate that, when run from a development environment: 1. Creates a vendored copy of WebGPU CTS in `<gecko>/dom/webgpu/tests/cts/checkout/`. 2. Generates private Web Platform Tests (see also `<gecko>/testing/web-platform/docs/index.rst`). To do this, we: 1. Use upstream test generation via `npm` scripts, which creates a single `cts.https.html` file with thousands of variants. 2. Chunk the `cts.https.html` file into parts that Taskcluster can distribute without timing out individual jobs. IMO, this is the most likely part of these changes to need further iteration, because: 1. We currently naively divide tests by number of variant, and have made no effort to empirically prove that we're dividing execution time of chunks. 2. There is currently no stability in the distribution of tests per chunk. Test variants are essentially a flattened list of the tree structure used to organize tests. Adding a few tests that end up being placed in the middle of the list can cause the chunk with new tests _and all subsequent chunks_ to have their contents changed, which will probably cause a disproportionate number of line changes to review.: 3. Fix `script` tag(s) so they actually work with the WPT test runner for private tests (viz., in the `testing/web-platform/mozilla` directory). The output of the new vendoring binary is designed make the above steps transparent. N.B. that no actual vendoring in of files has happened yet; the next patch will add the results of running this script. Differential Revision: https://phabricator.services.mozilla.com/D169951
-
- Mar 20, 2023
-
-
Andrew Halberstadt authored
Ruff is a very fast linter implemented in Rust and it can act as a drop-in replacement for flake8. When running the same set of rules across all files in mozilla-central (without mozlint), flake8 takes 900 seconds whereas ruff takes 0.9 seconds. Ruff also implements rules from other popular Python linters such as pylint, isort and pyupgrade. There are even plans to implement feature parity with black in the future. Ultimately, it can become our one stop shop for all Python linting and formatting. This stack will swap out all our Python lint tools for ruff (excluding black for now). Differential Revision: https://phabricator.services.mozilla.com/D172313
-
- Mar 17, 2023
-
-
Cristian Tuns authored
Backed out changeset e8fcfc7f8108 (bug 1811850) Backed out changeset f8950d716c9e (bug 1811850) Backed out changeset f650123cc188 (bug 1811850) Backed out changeset d96f90c2c58b (bug 1811850) Backed out changeset c3b0f9666183 (bug 1811850)
-
Andrew Halberstadt authored
Ruff is a very fast linter implemented in Rust and it can act as a drop-in replacement for flake8. When running the same set of rules across all files in mozilla-central (without mozlint), flake8 takes 900 seconds whereas ruff takes 0.9 seconds. Ruff also implements rules from other popular Python linters such as pylint, isort and pyupgrade. There are even plans to implement feature parity with black in the future. Ultimately, it can become our one stop shop for all Python linting and formatting. This stack will swap out all our Python lint tools for ruff (excluding black for now). Differential Revision: https://phabricator.services.mozilla.com/D172313
-
- Mar 16, 2023
-
-
Marian-Vasile Laza authored
Backed out changeset f7fed5fde8b7 (bug 1720941) Backed out changeset a211d76a5e01 (bug 1720941)
-
- Mar 15, 2023
-
-
Erich Gubler authored
Bug 1720941, part 1: build(ci): integrate WebGPU CTS into CI r=webgpu-reviewers,taskgraph-reviewers,jmaher,jimb Vendor in WebGPU CTS so that we can run it against our implementation of WebGPU. This patch includes: 1. Some linting configuration tweaks, to silence issues that weren't straightforward to fix in CTS upstream. 2. Some WPT runner configuration to enable preferences, and skip MacOS testing altogether (since it's not targeted by our current work). 3. A new Rust binary crate that, when run from a development environment: 1. Creates a vendored copy of WebGPU CTS in `<gecko>/dom/webgpu/tests/cts/checkout/`. 2. Generates private Web Platform Tests (see also `<gecko>/testing/web-platform/docs/index.rst`). To do this, we: 1. Use upstream test generation via `npm` scripts, which creates a single `cts.https.html` file with thousands of variants. 2. Chunk the `cts.https.html` file into parts that Taskcluster can distribute without timing out individual jobs. IMO, this is the most likely part of these changes to need further iteration, because: 1. We currently naively divide tests by number of variant, and have made no effort to empirically prove that we're dividing execution time of chunks. 2. There is currently no stability in the distribution of tests per chunk. Test variants are essentially a flattened list of the tree structure used to organize tests. Adding a few tests that end up being placed in the middle of the list can cause the chunk with new tests _and all subsequent chunks_ to have their contents changed, which will probably cause a disproportionate number of line changes to review.: 3. Fix `script` tag(s) so they actually work with the WPT test runner for private tests (viz., in the `testing/web-platform/mozilla` directory). The output of the new vendoring binary is designed make the above steps transparent. N.B. that no actual vendoring in of files has happened yet; the next patch will add the results of running this script. Differential Revision: https://phabricator.services.mozilla.com/D169951
-
- Feb 28, 2023
-
-
Mark Striemer authored
Differential Revision: https://phabricator.services.mozilla.com/D170936
-
- Feb 25, 2023
-
-
Henrik Skupin authored
Differential Revision: https://phabricator.services.mozilla.com/D170799
-
- Feb 13, 2023
-
-
Barret Rennie authored
Differential Revision: https://phabricator.services.mozilla.com/D168322
-
- Jan 27, 2023
-
-
Alexandra Borovova authored
Bug 1797744 - [puppeteer] Sync vendored puppeteer to v19.6.0. r=webdriver-reviewers,jdescottes,whimboo Differential Revision: https://phabricator.services.mozilla.com/D167407
-
Dana Keeler authored
This also converts certDecoder.jsm to an ES module (as certDecoder.mjs) and updates all uses of it. Differential Revision: https://phabricator.services.mozilla.com/D167466
-
Dana Keeler authored
Differential Revision: https://phabricator.services.mozilla.com/D167465
-
- Jan 26, 2023
-
-
Noemi Erli authored
Backed out changeset 3ef0fe45b191 (bug 1811633) Backed out changeset 92a7ec78a4ce (bug 1811633)
-
Dana Keeler authored
This also converts certDecoder.jsm to an ES module (as certDecoder.mjs) and updates all uses of it. Differential Revision: https://phabricator.services.mozilla.com/D167466
-
Dana Keeler authored
Differential Revision: https://phabricator.services.mozilla.com/D167465
-
- Jan 23, 2023
-
-
Hanna Jones authored
This is still far from perfect given the limitations of the Storybook web components package, but I figured this was worth putting up since it's still an improvement over the current state of our args tables (I think). I'm mostly leaving the default generated `custom-elements-manifest.json` alone save for filtering some internal properties we don't want documented since they shouldn't really be accessed directly. If it seems too strange to just have the `aria-label` attr documented we could possibly remove `attributes` from the docs for now (this happens because it's the only attr where the name is different from the property name). Open to feedback/thoughts on if this is useful or too wonky for now given the weirdness around how Storybook creates naming collisions. Differential Revision: https://phabricator.services.mozilla.com/D162599
-
Michael Froman authored
- automatically create state directory (.moz-fast-forward) under top level or repo if missing - automatically create log and tmp subdirectories if missing - only execute use_config_env.sh once in nested scripts - move default location for config_env under state directory Differential Revision: https://phabricator.services.mozilla.com/D166492
-
- Jan 17, 2023
-
-
Alexandra Borovova authored
Bug 1797723 - [puppeteer] Sync vendored puppeteer to v18.0.0. r=webdriver-reviewers,whimboo,jdescottes Depends on D166650 Differential Revision: https://phabricator.services.mozilla.com/D166651
-
- Dec 28, 2022
-
-
Francesco Lodolo (:flod) authored
Added .sh extension to all scripts. edit-dictionary.sh: * Convert to utf-8 before editing, and back to iso-8859-1 before saving * Place a copy of the utf-8 dictionary inside the utf8 folder, and store the iso-8859-1 in place make-new-dict.sh: * Use .txt extension for support wordlists, and place them in a subfolder * Exclude words in mozilla-exclusions.txt from the generated dictionary * Save 5-mozilla-*.txt files to utf-8 Depends on D165304 Differential Revision: https://phabricator.services.mozilla.com/D165305
-
- Dec 21, 2022
-
-
Mark Striemer authored
This patch will rewrite all chrome:// URLs in .mjs files, but it isn't emitting proper URLs for assets. This means that JS imports will map correctly, but any img/css references won't have a valid path outside of local development and CSS files that use @import will not resolve imports correctly. To reference images and CSS files you will still need to ensure those files are in the Storybook static path and use a separate URL to reference them in the `window.IS_STORYBOOK` case. Differential Revision: https://phabricator.services.mozilla.com/D165060
-
- Dec 07, 2022
-
-
Mark Striemer authored
lit is a library for building Web Components. It is released under the BSD 3-Clause license. Website: https://lit.dev/ GitHub: https://github.com/lit/lit/ Differential Revision: https://phabricator.services.mozilla.com/D159765
-
- Nov 23, 2022
-
-
Stanca Serban authored
Backed out 2 changesets (bug 1801426, bug 1790483) for causing bc failures on browser_all_files_referenced.js. CLOSED TREE Backed out changeset af5a48a4b3d3 (bug 1801426) Backed out changeset f4f8e2b95246 (bug 1790483)
-
Mark Striemer authored
lit is a library for building Web Components. It is released under the BSD 3-Clause license. Website: https://lit.dev/ GitHub: https://github.com/lit/lit/ Differential Revision: https://phabricator.services.mozilla.com/D159765
-
- Nov 16, 2022
-
-
Mike Hommey authored
Python 3.11 doesn't support those anymore. Differential Revision: https://phabricator.services.mozilla.com/D162186
-
- Nov 03, 2022
-
-
Mark Striemer authored
Differential Revision: https://phabricator.services.mozilla.com/D161141
-
- Oct 27, 2022
-
-
Alexandra Borovova authored
Differential Revision: https://phabricator.services.mozilla.com/D160331
-
- Sep 27, 2022
-
-
Anurag Kalia authored
Differential Revision: https://phabricator.services.mozilla.com/D155557
-
- Aug 31, 2022
-
-
Emilio Cobos Álvarez authored
After bug 1787977 they're in the tree. Differential Revision: https://phabricator.services.mozilla.com/D156058
-
- Aug 23, 2022
-
-
Alexandra Borovova authored
Differential Revision: https://phabricator.services.mozilla.com/D154912
-
- Jul 11, 2022
-
-
David Shin authored
Bug 634029 - Add `.rej` and `.orig` files, which can be generated from `hg` commands, to `.hgignore`. r=firefox-build-system-reviewers,andi DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D151501
-
Tooru Fujisawa authored
Differential Revision: https://phabricator.services.mozilla.com/D150494
-
- May 25, 2022
-
-
Tim Giles authored
Differential Revision: https://phabricator.services.mozilla.com/D147217
-
- Apr 27, 2022
-
-
Mark Striemer authored
This provides a basic Storybook set up for us to develop with Storybook locally. Quick start (MacOS, Linux, WSL): ./mach npm --prefix=browser/components/storybook ci ./mach npm --prefix=browser/components/storybook run storybook Differential Revision: https://phabricator.services.mozilla.com/D144223
-
Andi authored
Differential Revision: https://phabricator.services.mozilla.com/D144577
-
- Mar 31, 2022
-
-
Julian Descottes authored
Differential Revision: https://phabricator.services.mozilla.com/D142164
-
- Mar 16, 2022
-
-
Myeongjun Go authored
Bug 1732376 - Add a --clean option to remove the raptor venv before running r=sparky,perftest-reviewers Differential Revision: https://phabricator.services.mozilla.com/D139830
-
- Mar 11, 2022
-
-
Mathew Hodson authored
Differential Revision: https://phabricator.services.mozilla.com/D140797
-
- Jan 25, 2022
-
-
Scott authored
Differential Revision: https://phabricator.services.mozilla.com/D136669
-