Граф коммитов

583 Коммитов

Автор SHA1 Сообщение Дата
Tooru Fujisawa 088b6d97cd Bug 1771097 - Add ESLint rule for ChromeUtils.defineESModuleGetters lazy object name. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D147400
2022-06-17 04:59:13 +00:00
criss 8fc8ec5d8e Backed out 8 changesets (bug 1771092, bug 1768870, bug 1771097, bug 1769002, bug 1768819) for causing mochitest failures on browser_sendQuery.js. CLOSED TREE
Backed out changeset 8a4d712f819a (bug 1771092)
Backed out changeset f4e27a35c83c (bug 1771092)
Backed out changeset 072323bc72cc (bug 1771092)
Backed out changeset 2ccf2a00fff7 (bug 1769002)
Backed out changeset ba7086fd9b1f (bug 1768819)
Backed out changeset 6205d3e2c666 (bug 1771097)
Backed out changeset 960f0aee97d5 (bug 1768870)
Backed out changeset 5f53760c5637 (bug 1768870)
2022-06-17 05:44:37 +03:00
Tooru Fujisawa c0ff62bb21 Bug 1771097 - Add ESLint rule for ChromeUtils.defineESModuleGetters lazy object name. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D147400
2022-06-17 01:30:23 +00:00
Mark Banner 8ca4d49d65 Bug 1766228 - Add an ESLint rule to ensure that member property accesses of Services are valid. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D149393
2022-06-16 21:11:24 +00:00
Markus Stange 23f6ddfed5 Bug 1774674 - Flesh out the documentation for getting Instruments to pick up macOS kernel symbols. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D149561
2022-06-16 19:36:38 +00:00
Molnar Sandor c1ae6857f8 Backed out 9 changesets (bug 1769002, bug 1768870, bug 1771097, bug 1771092, bug 1768819) for causing lint failures. CLOSED TREE
Backed out changeset 829df1dfad70 (bug 1769002)
Backed out changeset f0537d333adc (bug 1771092)
Backed out changeset 25b43856bc00 (bug 1771092)
Backed out changeset a49f754ca73f (bug 1771092)
Backed out changeset 164f85686a32 (bug 1769002)
Backed out changeset ef5cf9ceb915 (bug 1768819)
Backed out changeset c64e6c1fbfe7 (bug 1771097)
Backed out changeset f85393f988a8 (bug 1768870)
Backed out changeset fe708d13cc1d (bug 1768870)
2022-06-16 20:15:14 +03:00
Tooru Fujisawa a1c76f5683 Bug 1771097 - Add ESLint rule for ChromeUtils.defineESModuleGetters lazy object name. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D147400
2022-06-16 16:20:36 +00:00
Norisz Fay 7cd43cc697 Backed out 5 changesets (bug 1766228) for causing lint failures on test_restrequest.js CLOSED TREE
Backed out changeset 5ff1634cfe18 (bug 1766228)
Backed out changeset 01642c97e7a5 (bug 1766228)
Backed out changeset cbba28151712 (bug 1766228)
Backed out changeset 76a32127865d (bug 1766228)
Backed out changeset 2c7ef1ad380a (bug 1766228)
2022-06-16 16:36:44 +03:00
Mark Banner 1383258437 Bug 1766228 - Add an ESLint rule to ensure that member property accesses of Services are valid. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D149393
2022-06-16 12:09:28 +00:00
Tooru Fujisawa 2337bc5418 Bug 1772299 - Reject modification to globalThis inside system module. r=Standard8,webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D148116
2022-06-15 22:20:53 +00:00
Ray Kraesig 4fc7f7613e Bug 1772856 - Clean up formatting r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D148417
2022-06-15 07:12:02 +00:00
Ray Kraesig 24e0619a0d Bug 1772856 - Add designated initializers to list of acceptable C++ features r=firefox-build-system-reviewers,bholley,glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D148416
2022-06-15 07:12:02 +00:00
ahochheiden 66564fb0f0 Bug 1276019 - Add Microsoft Defender Antivirus exclusions automatically during source bootstrap r=glob
I also added `%USERPROFILE%/.mozbuild` to the exclusion list and updated the windows_build docs to reflect the changes made.

Differential Revision: https://phabricator.services.mozilla.com/D149199
2022-06-15 01:37:11 +00:00
Tooru Fujisawa 9975cd7318 Bug 1771751 - Reject static import for system module from non-system module. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D149183
2022-06-14 21:56:55 +00:00
Tooru Fujisawa 371b3c1d97 Bug 1607331 - Part 3: Reject global this usage in JSM. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D148551
2022-06-14 21:56:55 +00:00
Stephen A Pohl d777cdbc58 Bug 1696513: Require macOS 11 SDK at configure time and update docs. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D148933
2022-06-13 17:44:51 +00:00
criss 537f7f6e84 Backed out changeset e186162443a6 (bug 1696513) for causing bustages. CLOSED TREE 2022-06-11 05:31:53 +03:00
Stephen A Pohl b40f4b0786 Bug 1696513: Require macOS 11 SDK at configure time and update docs. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D148933
2022-06-11 01:05:31 +00:00
criss ed1236630c Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE
Backed out changeset 6628f146ad0b (bug 1773752)
Backed out changeset f636b7e35d0c (bug 1696513)
2022-06-11 02:35:43 +03:00
Stephen A Pohl a26f93425e Bug 1696513: Require macOS 11 SDK at configure time and update docs. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D148933
2022-06-10 23:08:34 +00:00
Gian-Carlo Pascutto bcc91637f1 Bug 1773440 - Update GTest examples to moz.build. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D148800
2022-06-10 12:16:23 +00:00
Morgan Rae Reschenberg 10b7310064 Bug 1771514: Add design review and preliminary HCM documentation r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D147522
2022-06-08 16:18:32 +00:00
Bobby Holley 99677cea83 Bug 1772234 - Update the style guide to deprecate rooting API typedefs. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D148081
2022-06-02 21:01:42 +00:00
Mike Hommey 25f84e6a3a Bug 1771826 - Update builders to rustc 1.61. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D147707
2022-06-02 07:06:47 +00:00
Emilio Cobos Álvarez 0308b0a05c No bug - Fix configure help command. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D148064
2022-06-01 19:37:37 +00:00
Mark Banner 889c6efaf2 Bug 1768031 - Reject top-level await in modules via an ESLint rule. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D145892
2022-05-11 14:08:15 +00:00
Janvi Bajoria c68c01937d Bug 1759754 - fix use the static preference API link in C++ coding style documentation r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D144191
2022-05-10 17:26:31 +00:00
Tooru Fujisawa 231114fa17 Bug 1548308 - Remove modules.json. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D145695
2022-05-06 12:35:33 +00:00
Mathew Hodson 05c78de712 Bug 1630027 - Migrate RTL Guidelines from MDN. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142183
2022-05-06 07:16:58 +00:00
Mathew Hodson 34e2ece16f Bug 1630027 - Migrate CSS Guidelines from MDN. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142163
2022-05-06 07:16:48 +00:00
Mathew Hodson d83e906b06 Bug 1630027 - Migrate SVG Guidelines from MDN. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142184
2022-05-06 07:16:48 +00:00
pankaj28988 d1becba15c Bug 1762795 - Removed dead links in contribution doc. r=sylvestre DONTBUILD
Updated links to Bugzilla and added links to Developer Guide

Differential Revision: https://phabricator.services.mozilla.com/D143998
2022-05-03 13:19:54 +00:00
Max Vollmer ed87c3414b Bug 1761456 - Add natvis file for Visual Studio projects and update debugging documentation r=mhentges,handyman DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143183
2022-05-03 09:04:48 +00:00
Dan Robertson 4c5bf0dcba Bug 1767025 - Remove undesirable extensions from mercurial docs. r=sheehan DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D145090
2022-05-03 09:02:25 +00:00
Mark Banner 67e9352298 Bug 1766238 - Disallow more than one argument to ChromeUtils.import via ESLint. r=mossop
Depends on D144562

Differential Revision: https://phabricator.services.mozilla.com/D144563
2022-04-27 08:38:35 +00:00
Barret Rennie c34d04e40e Bug 1765675 - Reject OS.Path usage in reject-osfile lint r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D144307
2022-04-26 17:34:35 +00:00
Marco Castelluccio 7570af090f Bug 1754765 - Don't enumerate severity levels in the source docs to avoid sync problems with the canonical definitions. r=glob DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D144320
2022-04-26 08:44:55 +00:00
Katherine Patenio c4f6478c5d Bug 1749795 - create documentation for adding and testing site-specific wrappers. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D142011
2022-04-22 20:46:11 +00:00
jaia 0b5143a5da Bug 1762459 - disclaimer in the quick ref page that links to the setup page for a more detailed tutorial r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142631
2022-04-22 07:03:15 +00:00
manisha27 dec4684029 Bug 1763865 - Bootstrap Section added as per required OS. r=arai,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143323
2022-04-20 08:47:04 +00:00
Suhaib Mujahid b404534f19 Bug 1764593 - Fix a status flag name by changing `verified-disabled` to `verified disabled`. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143868
2022-04-19 06:41:19 +00:00
Norisz Fay ee985b69aa Bug 1761999 - Fix lint in stack_quickref.rst r=fix 2022-04-18 01:09:05 +03:00
gliu20 c74815dce0 Bug 1761999 - Add commands to Contributor Quick Start that come up frequently when working with patches r=firefox-source-docs-reviewers,sylvestre,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142343
2022-04-17 19:55:34 +00:00
Jim Blandy 0e29b63d39 Bug 1763305: Follow-up doc fix. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143196
2022-04-11 23:37:43 +00:00
Emilio Cobos Álvarez 82da829168 Bug 1763980 - Port most of the mochitest-plain documentation to the in-tree docs. r=jgraham,Gijs
These come from:

 * https://github.com/mdn/archived-content/blob/main/files/en-us/mozilla/projects/mochitest/index.html

With some manual clean-up and review.

Differential Revision: https://phabricator.services.mozilla.com/D143326
2022-04-11 12:00:01 +00:00
Jim Blandy bc55cd9f9b Bug 1763305: Update minimum Rust version to >= 1.59.0 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D143007
2022-04-07 00:34:01 +00:00
Kagami Sascha Rosylight 7f736cdebf Bug 1703953 - Part 1: Implement mozilla/use-isinstance rule r=Gijs,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D111354
2022-04-06 11:57:56 +00:00
Mathew Hodson 9dedb7282a Bug 1762099 - Fix "Report an issue" link on Firefox Source Docs. r=sylvestre DONTBUILD
Update the component and prefill the URL field.

Differential Revision: https://phabricator.services.mozilla.com/D142422
2022-03-31 12:28:31 +00:00
Sylvestre Ledru 6c8d8bbeab no bug - Doc: explicit that reviews aren't required for doc changes r=overholt DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140630
2022-03-31 12:17:59 +00:00
Mark Banner a6d11f320d Bug 1760286 - Add missing docs for rules in eslint-plugin-mozilla. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D142285
2022-03-30 17:40:15 +00:00
Gijs Kruitbosch 4d3b6146b8 Bug 1753696 - use an eslint rule to switch to add_setup(), r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D139542
2022-03-30 16:16:42 +00:00
Norisz Fay acdd6851cd Backed out 2 changesets (bug 1753696) for causing multiple dt and bc failures CLOSED TREE
Backed out changeset 67fd9edfbcea (bug 1753696)
Backed out changeset a9d957ea887b (bug 1753696)
2022-03-30 12:17:55 +03:00
Gijs Kruitbosch 35d2a4ca12 Bug 1753696 - use an eslint rule to switch to add_setup(), r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D139542
2022-03-30 08:18:51 +00:00
Sylvestre Ledru 7d9c6b9759 no bug - doc: add the 'mach try again' on the quickref manual r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142349
2022-03-29 19:42:52 +00:00
Sylvestre Ledru e81f92e477 Bug 1730515 - FX doc: Use google search instead of sphinx search r=firefox-source-docs-reviewers,ahal DONTBUILD
sphinx search is pretty bad...

Differential Revision: https://phabricator.services.mozilla.com/D128022
2022-03-29 15:19:47 +00:00
criss 4eec7e25a3 Backed out 3 changesets (bug 1703953) for causing multiple failures. CLOSED TREE
Backed out changeset 871a1fac289e (bug 1703953)
Backed out changeset 8151244bda18 (bug 1703953)
Backed out changeset eaf6d4c353be (bug 1703953)
2022-03-29 17:01:58 +03:00
Kagami Sascha Rosylight cbfca993e7 Bug 1703953 - Part 1: Implement mozilla/use-isinstance rule r=Gijs,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D111354
2022-03-29 13:10:59 +00:00
Sylvestre Ledru da8c9ddcc2 no bug - doc: fix the presentation
Differential Revision: https://phabricator.services.mozilla.com/D142116
2022-03-25 19:58:30 +00:00
Sylvestre Ledru e019ba6fc7 Bug 1760360 - fx doc: Add a link to report an issue on a page r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D141537
2022-03-21 20:32:50 +00:00
Marco Castelluccio 94abd3de71 no bug - doc: Remove rule of thumb from the severity guide which is not actually true. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D141589
2022-03-21 11:57:56 +00:00
Mike Conley f29b80b95b Bug 1758753 - Migrate XPCOM hashtable documentation from MDN to Firefox Source Docs. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D140671
2022-03-17 14:23:27 +00:00
Sylvestre Ledru e8e7c6a268 no bug - Add 'Working with stack of patches' to the index
Differential Revision: https://phabricator.services.mozilla.com/D141200
2022-03-16 10:35:34 +00:00
Mathew Hodson 0dd398e4c2 Bug 1741710 - Migrate WebRender tests doc from MDN. r=tgiles,gw
Differential Revision: https://phabricator.services.mozilla.com/D140791
2022-03-15 14:22:05 +00:00
Sylvestre Ledru a319bda635 no bug - editor doc: Fix warning 'Duplicate implicit target name: vim' r=marco DONTBUILD
Depends on D141090

Differential Revision: https://phabricator.services.mozilla.com/D141092
2022-03-15 12:43:01 +00:00
Sylvestre Ledru f747d2295d no bug - editor doc: highlight that vscode is the recommended editor r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D141090
2022-03-15 12:43:00 +00:00
Sylvestre Ledru 31ac6011a0 no bug - contribution doc: also list the other ways to call it r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140966
2022-03-15 08:47:50 +00:00
Drew Willcoxon 88d0fc3d57 Bug 1757220 - Automatically generate API docs for a few urlbar classes using sphinx-js. r=mcheang
This does the following:

* Add the urlbar root directory to the list of sphinx-js directories
* Add three new rst files for the automatically generated API docs for
  UrlbarController, UrlbarInput, and UrlbarView
* Add a new top-level section to the urlbar's index.rst for these three docs
* Tweak two JSDocs in UrlbarSearchOneOffs so that sphinx-js doesn't complain

This should be a good starting place for integrating automatically generated API
docs into the urlbar docs, and we can iterate on it from here.

Differential Revision: https://phabricator.services.mozilla.com/D139780
2022-03-11 17:51:18 +00:00
Mark Banner 8bb4667fae Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-11 16:41:29 +00:00
Suhaib Mujahid bc51aee8f3 Bug 1759015: Update Contributors’ Quick Reference to incloud a new task selector. r=sylvestre DONTBUILD CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D140790
2022-03-11 08:14:43 +00:00
Butkovits Atila 87efe4b5e2 Backed out changeset d876a95afe78 (bug 1759015) for causing failures at browser_preserveTabPipIconOverlay.js. CLOSED TREE 2022-03-11 12:52:05 +02:00
Suhaib Mujahid c64e23879a Bug 1759015: Update Contributors’ Quick Reference to incloud a new task selector. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140790
2022-03-11 08:14:43 +00:00
smolnar e89faa903f Backed out changeset 5018856d8fee (bug 1758474) for causing node eslint failure. CLOSED TREE 2022-03-10 11:58:45 +02:00
Mark Banner fe937b78bd Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-10 09:25:28 +00:00
Tim Giles e3aca3b88a Bug 1740037 - Migrate "Chrome Test" MDN doc to Firefox Source Docs. r=jmaher,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140220
2022-03-09 19:13:03 +00:00
Sylvestre Ledru 7932ce0b6d no bug - doc: document the bug pipeline r=overholt DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140629
2022-03-09 16:45:04 +00:00
Alexis Beingessner ec10d290e7 Bug 1755602 - consistently use minidump-stackwalk instead of minidump_stackwalk. r=glandium
Inconsistency confuses some of our tools. As part of this, I:

* Updated some docs to point to rust-minidump
* Added a fallback to mozcrash.py to try both versions
* Make mozcrash.py use --brief output when the local mdsw is used
* Remove the renaming hack from build-minidump-stackwalk.sh

This isn't as simple as a sed because we still have breakpad in tree
for minidump-analyzer. I did my best to replace the right strings.

Differential Revision: https://phabricator.services.mozilla.com/D138971
2022-03-09 16:44:42 +00:00
Mitchell Hentges 1d06e45585 Bug 1756224: Update references to perfdocs linter to explicitly set path r=sparky
Ideally, the `perfdocs` linter suggestion to `--fix` issues would take
into account the `paths` that were provided, rather than printing the
sure-fire "lint and fix all" solution.

Actually, on further consideration, theoretically such a recommendation
should appear at the `./mach lint` level, and not be linter-specific. Oh
well, that's a future improvement :)

-----

This patch updates the `perfdocs` documentation and suggestions to
successfully operate in the same manner that they did before
bug 1753701.

Differential Revision: https://phabricator.services.mozilla.com/D139159
2022-03-09 15:52:49 +00:00
Csoregi Natalia 3bbe5b075b Backed out changeset e665e278f4ac (bug 1730515) for causing issues on search functionality. a=backout 2022-03-04 20:04:18 +02:00
Sylvestre Ledru 20c1a08cd9 Bug 1730515 - FX doc: Use google search instead of sphinx search r=firefox-source-docs-reviewers,ahal DONTBUILD
sphinx search is pretty bad...

Differential Revision: https://phabricator.services.mozilla.com/D128022
2022-03-03 08:25:29 +00:00
Mike Hommey 545e5d16a9 Bug 1756534 - Update builders to rustc 1.59. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D139353
2022-02-25 08:27:04 +00:00
Chris Peterson 4c1f824528 Bug 1756504 - Remove cpp-virtual-final linter, a minor style check that doesn't diagnose real bugs. r=firefox-static-analysis-reviewers,sylvestre
In bug 1436263, I added a cpp-virtual-final.yml linter to warn about virtual function declarations that included more than one virtual function specifier `virtual`, `final`, or `override`.

I think we should remove this linter now because:

* It's just a style check and doesn't diagnose a real bug. Including more than one virtual function specifier (`virtual`, `final`, or `override`) is harmless and unambiguous, just unnecessary extra code.
* It has caused some engineer frustration because this style check caused their changeset to be backed out of autoland. Backing out and fixing these style issues are not a good use of sheriffs' or engineers' time.
* It doesn't catch all virtual/final/override style issues because:
  * It can't analyze virtual function definitions that span multiple lines.
  * It doesn't check for `virtual void Foo() override` because  there are over 6000 cases already, so our code will never follow this style check consistently.

Differential Revision: https://phabricator.services.mozilla.com/D139454
2022-02-24 02:14:39 +00:00
Sylvestre Ledru c6ad81bd80 no bug - fx docs: reference the quick reference doc from the setup pages r=marco DONTBUILD
The setup page is referenced from:

https://www.mozilla.org/en-US/about/governance/policies/commit/

Differential Revision: https://phabricator.services.mozilla.com/D139296
2022-02-21 15:57:35 +00:00
Sylvestre Ledru 0f69196034 no bug - fx doc review: remove duplicate content r=marco
Differential Revision: https://phabricator.services.mozilla.com/D138524
2022-02-11 18:50:54 +00:00
Haik Aftandilian 25b935f2aa Bug 1754609 - Add #mac-reviewers to reviews.rst r=mac-reviewers,mstange DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D138374
2022-02-10 16:58:36 +00:00
Tim Giles 875c819715 Bug 1740027 - Migrate "Test Verification" MDN doc to Firefox Source Docs. r=jmaher
Imported from: https://raw.githubusercontent.com/mdn/archived-content/main/files/en-us/mozilla/qa/test_verification/index.html
Previous URL: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Test_Verification
Rendered version of previous documentation: https://web.archive.org/web/20210531181724/https://developer.mozilla.org/en-US/docs/Mozilla/QA/Test_Verification

Followed instructions at https://firefox-source-docs.mozilla.org/tools/moztreedocs/mdn-import.html

Differential Revision: https://phabricator.services.mozilla.com/D138059
2022-02-08 19:28:37 +00:00
Cristian Tuns ccc93f6faf Bug 1753426 - Fix lint failure r=fix CLOSED TREE 2022-02-07 08:32:10 -05:00
Sylvestre Ledru 909f96f128 Bug 1753127 - NSPR doc: Fix warnings and links r=kaie DONTBUILD
and remove the old doc
docs/nspr/porting_nspr_to_unix_platforms.rst

Differential Revision: https://phabricator.services.mozilla.com/D137979
2022-02-07 12:05:48 +00:00
Kai Engert e7eabe08f4 Bug 1753127 - Additional NSPR docs from www and MDN archives. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D137751
2022-02-07 12:05:48 +00:00
Sylvestre Ledru caaedeee98 Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D137741
2022-02-03 18:34:58 +00:00
Sylvestre Ledru 72a3999f74 Bug 1753127 - NSPR doc: fix some links + cosmetic changes r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D137740
2022-02-03 18:34:57 +00:00
Sylvestre Ledru 5e8728c4ac Bug 1753127 - NSPR doc: add a listing page r=kaie DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D137772
2022-02-03 17:52:23 +00:00
Sylvestre Ledru 14e205a735 Bug 1753127 - NSPR doc: fix the typos, warnings and nbsp; r=kaie
Depends on D137612

Differential Revision: https://phabricator.services.mozilla.com/D137650
2022-02-02 17:19:51 +00:00
Sylvestre Ledru 16b9c75459 Bug 1753127 - NSPR doc: move the doc into docs/nspr UPGRADE_NSS_RELEASE r=kaie,bbeurdouche
Depends on D137611

Differential Revision: https://phabricator.services.mozilla.com/D137612
2022-02-02 17:19:51 +00:00
Sylvestre Ledru b30245fd89 Bug 1753127 - NSPR doc: fix some links in the various part of the doc UPGRADE_NSS_RELEASE r=bbeurdouche
Depends on D137590

Differential Revision: https://phabricator.services.mozilla.com/D137607
2022-02-02 17:19:50 +00:00
Anastasios Bithas ea71af5809 Bug 1650197 - Add an extension to autolink bug xxxxxxx strings in docs to bugzilla hyperlinks r=sylvestre DONTBUILD
An extension is created that uses SphinxTransform to convert bug xxxxxxx strings that exist in docs to reference links that redirect to the appropriate bug in bugzilla

Differential Revision: https://phabricator.services.mozilla.com/D137385
2022-01-31 15:12:40 +00:00
Shane Hughes b023d4c351 Bug 1751668 - Add more information to Quick Reference doc. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D136709
2022-01-31 10:25:25 +00:00
Mitchell Hentges 168707a1e5 Bug 1746286: Don't recommend adding "Mach" to your PATH r=ahal
This can cause issues when Mach from sourcetree A fails when used in
sourcetree B because an expected file is missing.

Differential Revision: https://phabricator.services.mozilla.com/D133951
2022-01-13 21:39:39 +00:00
David Parks 1195985bf3 Bug 1696382: Add IPC in-tree docs r=nika,gerard-majax,ipc-reviewers
Includes docs for IPDL actors and protocols.

Differential Revision: https://phabricator.services.mozilla.com/D121871
2022-01-13 00:10:20 +00:00
James Graham f76ad255a6 Bug 1748845 - Add a custom mechanism to make some docs warnings fatal, r=ahal,firefox-source-docs-reviewers,sylvestre
The idea is to capture the warnings in a temporary file, and then
apply a set of regex to find any that should be treated as fatal.

This allows us to fix warnings one type at a time, and prevents us
regressing the warnings that are already fixed.

The "reference target not count" warning is added to the initial
forbidden list, so we can ensure we don't end up with internal links
pointing to nowhere.

Differential Revision: https://phabricator.services.mozilla.com/D135389
2022-01-11 10:48:23 +00:00
James Graham e31c095050 Bug 1748845 - Update source-relative links in performance docs, r=firefox-source-docs-reviewers,sylvestre
These were broken since we adopted MyST.

Differential Revision: https://phabricator.services.mozilla.com/D135386
2022-01-11 10:48:22 +00:00
James Graham ba41d62bb9 Bug 1748845 - Update source-relative links in rust docs, r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D135384
2022-01-11 10:48:21 +00:00
Chris H-C 1efbbf8bd5 Bug 1748904 - Fix use of now-obsolete eval_rst directives in docs r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D135252
2022-01-06 20:21:24 +00:00
Mitchell Hentges 92a19e0eb9 Bug 1740123: Allow invoking Mach outside of MozillaBuild r=glandium
Assuming that the `MOZILLABUILD` environment variable is set, allow
invoking Mach from non-MozillaBuild terminals.

Note that MozillaBuild still needs to be installed, and the
`MOZILLABUILD` environment variable will have to be set.

For future reference: when I tried setting this up with Windows
Store's Python 3.9, I encountered issues when running binaries installed
via `pip`: it would fail with `abort: failed to load Python DLL
python3x.dll`.

Differential Revision: https://phabricator.services.mozilla.com/D133936
2022-01-06 06:49:47 +00:00
Sylvestre Ledru 0078fdfb98 Bug 1721475 - Linux setup doc: add python3-pip in the list of packages r=firefox-build-system-reviewers,mhentges DONTBUILD
Depends on D134954

Differential Revision: https://phabricator.services.mozilla.com/D134955
2022-01-03 20:03:04 +00:00
Sylvestre Ledru 1662821416 Bug 1721478 - Linux setup doc: add curl in the list of packages r=firefox-build-system-reviewers,mhentges DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D134954
2022-01-03 20:03:04 +00:00
Mark Hammond 5f4fff5ef8 Bug 1745683 - add documentation for the webext-storage implementation. r=rpl,firefox-source-docs-reviewers,ahal,bdk DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D133595
2021-12-29 03:53:00 +00:00
alwu 7436bfd966 Bug 1747341 - add 'media-playback-reviewers'. r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D134588
2021-12-23 08:48:59 +00:00
championshuttler 1878ff8955 Bug 1746839 - Rename the basename in firefox source docs.r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D134270
2021-12-20 10:20:23 +00:00
championshuttler a3dd4bd705 Bug 1746782 - Support myst parser and remove recommanmark.r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D134242
2021-12-20 09:45:44 +00:00
Mike Hommey 73230b8c3e Bug 1744234 - Bump minimum Rust version to 1.57. r=firefox-build-system-reviewers,andi
Also update the table of Firefox requirements. It's worth noting that I
actually upgraded to 1.57 earlier than I should have (too close to
freeze), but what is done is done.

Differential Revision: https://phabricator.services.mozilla.com/D134124
2021-12-17 08:37:39 +00:00
James Graham d0c8a06bc6 Bug 1657366 - Move wpt README to firefox-source-docs, r=karlcow
Add gecko-specific wpt docs to firefox-source-docs. This is instead of
the prior setup where we put the generic upstream docs on
firefox-source-docs and the gecko-specific documentation isn't
presented at all. It also avoids the problem where the upstream docs
don't build in the Firefox setup due to configuration differences.

Differential Revision: https://phabricator.services.mozilla.com/D133898
2021-12-16 15:44:15 +00:00
Valentin Gosu e8090c4a5d Bug 1740030 - Migrate "Writing xpcshell-based unit tests" MDN doc to Firefox Source Docs r=mbucher
Imported From: https://raw.githubusercontent.com/mdn/archived-content/main/files/en-us/mozilla/qa/writing_xpcshell-based_unit_tests/index.html
Previous URL: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests
Rendered version of previous documentation: https://web.archive.org/web/20210601152246/https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests

Followed instructions at https://firefox-source-docs.mozilla.org/tools/moztreedocs/mdn-import.html

Differential Revision: https://phabricator.services.mozilla.com/D132718
2021-12-08 15:18:02 +00:00
Vincent Couvert 4f99e85adc Bug 1742287 - Ride along: remove old path. r=mhentges,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132297
2021-12-06 20:09:02 +00:00
Emilio Cobos Álvarez c9d4405306 Bug 1743310 - Remove paint flashing. r=gfx-reviewers,lsalzman
It's only meaningfully read in two places:

 * WebRender fallback code.
 * Some widget DEBUG-only code, which on Linux is ifdef'd and on Windows does
   some rather sketchy things like sleeping for 30ms

So I think it should be ok to remove, since WR fallback has its own flashing
pref as well, IIUC.

Differential Revision: https://phabricator.services.mozilla.com/D132313
2021-11-30 11:46:08 +00:00
James Graham ef13df7c57 Bug 1743230 - Temporarily stop building wpt docs due to bustage. CLOSED TREE r=ahal
The upstream use of jsdoc doesn't seem to work trivially in our setup and
is causing bustage. Just stop building those docs for now rather than backing
out the whole sync.

Differential Revision: https://phabricator.services.mozilla.com/D132405
2021-11-29 21:14:57 +00:00
Ben Hearsum 2516d45fce Bug 1742998: Improve documentation of MSIX packaging and development. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D132161
2021-11-26 21:25:30 +00:00
Vincent Couvert e0bbd80ba3 Bug 1742287 - Fix Windows configuration files path (missing backslashes) and make paths highlighted. r=firefox-build-system-reviewers,mhentges DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131730
2021-11-22 16:43:33 +00:00
Sylvestre Ledru 1e47dd5d4f Bug 1738988 - Add support for trojan source detection in mozlint r=linter-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131086
2021-11-19 08:37:28 +00:00
Bobby Holley 02e9792c14 Bug 1740616 - Modify the C++ style guide to prefer unsigned types and CheckedInt. r=glandium DONTBUILD
This commit resolves the question posed in [1], largely on the basis of
the rationale put forth by emilio [2].

The reasons cited for using signed types boil down to (1) taking
advantage of UB optimizations, (2) more tractable dynamic overflow
analysis, and (3) increased chance of the surrounding logic identifying
and rejecting overflowed values.

Emilio points out that (1) is not a durable advantage. I see some value
in (2) and (3), but I see more value in consistency with existing code
and clear communication of semantic intent to the reader.

[1] https://groups.google.com/a/mozilla.org/g/dev-platform/c/-h_2cz5APmY/
[2] https://groups.google.com/a/mozilla.org/g/dev-platform/c/-h_2cz5APmY/m/NPdl2uIhAgAJ

Differential Revision: https://phabricator.services.mozilla.com/D130928
2021-11-16 19:38:01 +00:00
Sylvestre Ledru 551a6b105b Bug 1714788 - doc: Fix 'undefined label: firefox status flags' r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Depends on D131095

Differential Revision: https://phabricator.services.mozilla.com/D131096
2021-11-16 07:59:49 +00:00
Sylvestre Ledru dedafe8aea Bug 1740890 - doc: Silent a recommonmark warning r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131047
2021-11-16 07:59:48 +00:00
Sylvestre Ledru 2eaffc586b Bug 1714788 - doc: Remove the image - not available r=firefox-source-docs-reviewers,championshuttler DONTBUILD
'WARNING: image file not readable: public/images/sumo-flag.png'

Differential Revision: https://phabricator.services.mozilla.com/D131088
2021-11-16 07:59:45 +00:00
Mitchell Hentges 90694028ba Bug 1740167: Update Windows setup docs to use VS 2022 r=glandium
* Recommend the Build Tools over the full Community IDE install
* Bump Windows 10 SDK, C++ ATL version
* Remove "Game development with C++" workload, because it doesn't seem
  to be required anymore - I'm leaning on review and natural
  developer-testing to confirm this assumption.

Differential Revision: https://phabricator.services.mozilla.com/D130773
2021-11-15 22:49:42 +00:00
Sylvestre Ledru 782a59628e Bug 1682547 - Document how to merge two patches r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D130969
2021-11-11 13:25:30 +00:00
Nils 3c79233da8 Bug 1740294: Fix typo "then then" -> "then" r=mhentges
Instances of the typo that have been imported from other repositories have been left unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D130561
2021-11-09 17:36:40 +00:00
Jan Odvarko 16402859b4 Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (connect docs to toc + css) r=nchevobbe,ahal
Differential Revision: https://phabricator.services.mozilla.com/D129798
2021-11-03 10:45:52 +00:00
Myeongjun Go a2e121e262 Bug 1674220 - [perfdocs] Enumerate Talos tests using PerfDocs r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D128037
2021-11-02 19:11:06 +00:00
OnuohaOluebube 5ff974a055 Bug 1460100 - Added ESLint rule to prevent use of nsIScriptableUnicodeConverter r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D129668
2021-11-01 16:56:25 +00:00
Andi-Bogdan Postelnicu 80fddabd67 Bug 1738598 - sunset Coverity in Firefox.
Differential Revision: https://phabricator.services.mozilla.com/D129779
2021-10-31 17:18:02 +00:00
Sylvestre Ledru 530d0ebc9b no bug - doc: use https:// for valgrind.org r=jseward DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D129283
2021-10-22 17:09:59 +00:00
Gijs Kruitbosch f9929798b5 Bug 1736003 - tweak security patch landing guidance, r=dveditz DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D128585
2021-10-19 22:48:26 +00:00
Tooru Fujisawa d3871de00b Bug 1735747 - Use mozilla-unified as mercurial bundle document example. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D128464
2021-10-14 09:19:19 +00:00
Nihanth Subramanya e6d5cae88b Bug 1731780 - Reject .only() chained onto add_task in tests. r=Gijs,mythmon,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128027
2021-10-13 21:26:40 +00:00
Tooru Fujisawa 411190c9c7 Bug 1735058 - Use absolute path to mozilla-unified after possible restart of shell. r=mhentges,glandium
bootstrap.py may ask the restart of shell to reflect the change to login script.
Given the step 2 lets user to move to c:/mozilla-source instead of home,
the document should explicitly specify the absolute path in step 3.

Differential Revision: https://phabricator.services.mozilla.com/D128024
2021-10-13 06:42:08 +00:00
Tooru Fujisawa 2a69e3d3d6 Bug 1735307 - Move "rm bootstrap.py" into bootstrap step. r=glandium,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D128184
2021-10-13 06:42:07 +00:00
Agi Sferro 2bd64785fc Bug 1571899 - Use google-java-format via spotless to enforce Java formatting. r=ahal,owlish
This change adds a new lint `android-format` which enforces formatting of Java
code using google-java-format.

To run the lint simply run:

./mach lint -l android-format

This command also support automatically fixing all errors running by adding
--fix:

./mach lint -l android-format --fix

This change also removes all the formatting-related checkstyle checks which are
now implicitly enforced by the formatter.

Differential Revision: https://phabricator.services.mozilla.com/D127734
2021-10-11 18:11:55 +00:00
Tooru Fujisawa 665bb4ba2e Bug 1734983 - Use mozilla-unified in Building Firefox On Windows doc. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D128010
2021-10-09 10:43:15 +00:00
Sylvestre Ledru fdbbc054cf Bug 1734831 - fx doc: explain how to run gtest + remove the link to MDN r=gcp DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127955
2021-10-08 19:54:40 +00:00
Sylvestre Ledru 9911098c80 Bug 1734831 - fx doc: import the gtest doc from mdn archive + refresh r=gcp DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127950
2021-10-08 19:53:53 +00:00
Markus Stange e438bb47ac Bug 1734460 - Make these profiler docs refer to the Upload button (which no longer says Publish) correctly. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D127699
2021-10-07 16:48:52 +00:00
Sylvestre Ledru e28b9db1e6 Bug 1731542 - Remove infer from the list of code quality tools r=andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127634
2021-10-06 10:57:38 +00:00
Jackson Popkin 7f087b3bb2 Bug 1733845: Fix Gecko Logging doc links r=nika,sylvestre DONTBUILD
Gecko logging documentation moved earlier this year. Some docs and comments
still refer to the old URL, which now 404s.

Differential Revision: https://phabricator.services.mozilla.com/D127369
2021-10-05 21:00:33 +00:00
James Teh 0240b39c82 Bug 1732592: Create in-tree accessibility documentation and add Document Accessibility Lifecycle as our first page. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D126855
2021-09-30 21:52:54 +00:00
Paul Zuehlcke 9c9e66ecc8 No bug - Added documentation for the anti-tracking-reviewers and permissions-reviewers groups. r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127142
2021-09-30 18:55:35 +00:00
Sylvestre Ledru ae9b671737 no bug - doc: move the text on the same line to fix some weird presentation r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D126073
2021-09-20 09:02:35 +00:00
Mike Hommey a346591234 Bug 1730680 - Update minimum supported rust version to 1.53.0. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D125630
2021-09-15 08:10:09 +00:00
Chris Peterson 339c7d8961 Bug 1729598 - Remove now-unused MustUseChecker and MOZ_MUST_USE_TYPE attribute. r=static-analysis-reviewers,andi
Depends on D125504

Differential Revision: https://phabricator.services.mozilla.com/D125505
2021-09-15 05:10:51 +00:00
Michael Comella be77ae1fd6 Bug 1729053 - add links to Engineering Show and Tell. r=jaws,firefox-source-docs-reviewers,sylvestre
I feel these productivity tips will remain helpful in the future and
having them in our documentation will make them more discoverable.

Differential Revision: https://phabricator.services.mozilla.com/D124477
2021-09-08 19:45:05 +00:00
Simon Giesecke 78c7565ba4 Bug 1677549 - Add some guidelines on include directives and header files to the coding style. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D97916
2021-09-08 12:56:01 +00:00
Mike Hommey 4e47a99c0d Bug 1729383 - Advertize MOZ_PARALLEL_BUILD=n rather than MOZ_MAKE_FLAGS=-jn in docs. r=firefox-build-system-reviewers,mhentges
Both work, but the former is preferred. Also remove MOZ_MAKE_FLAGS
in the mozconfig example for msan, because it's irrelevant.

Differential Revision: https://phabricator.services.mozilla.com/D124726
2021-09-08 00:10:21 +00:00