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

760533 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 03a8e9fbe6 Bug 1696531: use python3 for xpcshell tests, r=bhearsum
Depends on D111647

Differential Revision: https://phabricator.services.mozilla.com/D109728
2021-06-14 15:31:42 +00:00
Andrew Halberstadt 0919caf74a Bug 1696531 - Remove erroneous encoding of subprocess arg in 'mozcrash', r=bhearsum
The 'subprocess.list2cmdline' function fails if you pass in a byte-string on
Python 3, and mozcrash is explicitly encoding that value, so I believe it will
always be an exception when this code path is hit.

I'm a bit surprised because mochitest also calls into this function and has been
running with Python 3 for months now. Since xpcshell and mochitest are the only
things using this and both will be on Python 3, we don't need to worry about
maintaining Python 2 compatibility here.

Depends on D109731

Differential Revision: https://phabricator.services.mozilla.com/D117658
2021-06-14 15:31:42 +00:00
Andrew Halberstadt 225e877c2b Bug 1696531: fix dmd.py and related tools to support python 3, r=bhearsum
Depends on D109729

Differential Revision: https://phabricator.services.mozilla.com/D109731
2021-06-14 15:31:42 +00:00
Andrew Halberstadt 3e6d6103de Bug 1696531: fix fake adb process to support python2 and 3, r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D109729
2021-06-14 15:31:41 +00:00
Andrew Halberstadt 40b5206cf7 Bug 1696531 - [xpcshell] Fix some py3 related issues in toolkit/modules/subprocess/test/xpcshell/test_subprocess.js, r=bhearsum
Depends on D110546

Differential Revision: https://phabricator.services.mozilla.com/D109730
2021-06-14 15:31:41 +00:00
Myeongjun Go c322da5c7c Bug 1714122 - [perfdocs] Add the run-on-projects settings to the perfdocs test task list r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D116941
2021-06-14 15:14:05 +00:00
Jan-Erik Rediger 0ffdb0d0b3 Bug 1713398 - Implement the Glean custom distribution. r=chutten
Also includes an upgrade to glean_parser.
Enables GIFFT as well, mapping between Glean's custom distribution and
Firefox Telemetry's linear or exponential histograms directly.

Differential Revision: https://phabricator.services.mozilla.com/D117420
2021-06-14 15:11:05 +00:00
Emilio Cobos Álvarez d28e1b36bf Bug 1715748 - Expose text selection foreground / background colors to chrome code. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D117417
2021-06-14 15:01:26 +00:00
Emilio Cobos Álvarez a8f090b432 Bug 1715748 - Add an internal -moz-system-color() function to expose both light and dark system colors. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D117416
2021-06-14 15:01:25 +00:00
Kate Hudson 703b986ebe Bug 1714595 - Allow about:home startup cache to be toggled via Nimbus. r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D116853
2021-06-14 14:48:00 +00:00
Mark Banner 40f6a4b111 Bug 1705374 - Update expected url in browser_searchEngine_behaviors.js. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D117660
2021-06-14 15:10:59 +00:00
Butkovits Atila a129011aae Backed out changeset 27149a6f3ca9 (bug 1661516) for causing build bustages on nsMenuPopupFrame.cpp. CLOSED TREE 2021-06-14 17:59:09 +03:00
stransky 4da0695dac Bug 1661516 [Wayland] Don't use context menu shift in nsMenuPopupFrame::SetPopupPosition(), r=jhorak
- Clear mAdjustOffsetForContextMenu at nsMenuPopupFrame when running on Wayland and use move-to-rect to produce the offset.
- Implement nsWindow::WaylandPopupIsContextMenu()
- Use mBonuds directly in NativeMoveResizeWaylandPopupCallback() instead of Gtk query.
- Add some more loggin and code polishing.

Differential Revision: https://phabricator.services.mozilla.com/D117283
2021-06-14 14:32:09 +00:00
Jon Coppeard e436a16c30 Bug 1715759 - Add a pref to control allocation site based pretrening r=jandem
This doesn't change the state of this feature which currently enabled, but will
allow us to disable it easily if necessary.

Differential Revision: https://phabricator.services.mozilla.com/D117441
2021-06-14 14:22:57 +00:00
Butkovits Atila 7c8d046c02 Bug 1549875 - disable browser_mouseButtonVariation on Linux_64_opt for frequent failures. r=intermittent-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D117625
2021-06-14 14:22:04 +00:00
Butkovits Atila c24b84d8bc Bug 1659193 - disable browser_readerMode_with_anchor.js on Mac_qr for frequent failures. r=intermittent-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D117624
2021-06-14 14:21:15 +00:00
Andrei Oprea 067d61915c Bug 1714060 - Lazy instances of NimbusFeatures don't resolve ready() as fast r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D116617
2021-06-14 14:15:53 +00:00
Mike Kaply 4959a7dc51 Bug 1715777 - Hide individual developer menuitems if devtools disabled by policy. r=emalysz?
Differential Revision: https://phabricator.services.mozilla.com/D117548
2021-06-14 14:04:44 +00:00
Andreas Farre 966f9def62 Bug 1705689 - Don't update the tab state if the browsing context has been replaced. r=kashav
Differential Revision: https://phabricator.services.mozilla.com/D117266
2021-06-14 13:48:49 +00:00
Emilio Cobos Álvarez ef49f60672 Bug 1716135 - Annotate some fuzz for macOS+webrender+widget.non-native-theme.webrender=false.
Differential Revision: https://phabricator.services.mozilla.com/D117649
2021-06-14 13:40:48 +00:00
Kimberly Sereduck 139dc6cc23 Bug 1527170: Talos profiler markers lack some useful data;r=perftest-reviewers,sparky
add test names to dromaeo profile markers

Differential Revision: https://phabricator.services.mozilla.com/D117294
2021-06-14 13:28:29 +00:00
André Bargull d8c152ef04 Bug 1714933 - Part 7: Updating ICU requires a clobber. r=tcampbell
Depends on D116973

Differential Revision: https://phabricator.services.mozilla.com/D116974
2021-06-14 13:13:07 +00:00
André Bargull 7947722693 Bug 1714933 - Part 6: Remove guards around previous ICU draft APIs. r=tcampbell
`udtitvfmt_formatToResult` and `udtitvfmt_formatCalendarToResult` were both
promoted to stable in ICU 69, so we can remove the `U_HIDE_DRAFT_API` for this
code.

Depends on D116972

Differential Revision: https://phabricator.services.mozilla.com/D116973
2021-06-14 13:13:06 +00:00
André Bargull 7637b831d9 Bug 1714933 - Part 5: Bump minimum required ICU version to 69.1. r=tcampbell
Change the system requirement to ICU 69 in order to remove some conditional
code in the next patch.

Depends on D116971

Differential Revision: https://phabricator.services.mozilla.com/D116972
2021-06-14 13:13:06 +00:00
André Bargull cbd4a303ca Bug 1714933 - Part 4: Update expected test results. r=tcampbell
Updating to CLDR 39 means a couple of format strings have changed, update the
expected results accordingly.

unicode-bcp47-locale-ids-language-mappings.js:
Replace "no -> nb" mapping with "tl -> fil" mapping, because CLDR 39 removed
the "no -> nb" mapping [1,2]. Use the "tl -> fil" mapping as the replacement,
because it is only present in CLDR, but not in the IANA language data registry.

[1] https://unicode-org.atlassian.net/browse/CLDR-2698
[2] https://unicode-org.atlassian.net/browse/CLDR-14493

Depends on D116969

Differential Revision: https://phabricator.services.mozilla.com/D116971
2021-06-14 13:13:05 +00:00
André Bargull b2321a1175 Bug 1714933 - Part 3: Update numbering systems, measurement units, language tags, and time zone data. r=tcampbell
Re-run
```
./make_intl_data.py numbering
./make_intl_data.py units
./make_intl_data.py langtags
./make_intl_data.py tzdata
```

to update numbering systems, measurement units, language tags, and time zone data.

Also remove the "US/Pacific-New" link from `otherICULegacyLinks()` because it
is no longer needed. Output from `./make_intl_data.py tzdata` with the link
still present:
```
Info: Link 'US/Pacific-New -> America/Los_Angeles' can be removed from otherICULegacyLinks()
```

Depends on D116968

Differential Revision: https://phabricator.services.mozilla.com/D116969
2021-06-14 13:13:05 +00:00
André Bargull d165d44525 Bug 1714933 - Part 2: Update in-tree ICU to release 69.1. r=tcampbell
Update to ICU 69.1 by running "update-icu.sh" with "maint/maint-69" as the target.

Differential Revision: https://phabricator.services.mozilla.com/D116968
2021-06-14 13:12:59 +00:00
André Bargull f440c76e64 Bug 1714933 - Part 1: Update ICU patches. r=tcampbell
Generate the WASI patch from bug 1706949 to apply cleanly on ICU 69.

Differential Revision: https://phabricator.services.mozilla.com/D116967
2021-06-14 13:12:58 +00:00
Kagami Sascha Rosylight 2acf39c5b0 Bug 1713334 - Part 5: Allow caret to be at the end of text node r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D117024
2021-06-14 13:08:34 +00:00
Kagami Sascha Rosylight ca55613fb3 Bug 1713334 - Part 4: Always select the text node r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D117474
2021-06-14 13:08:33 +00:00
Kagami Sascha Rosylight 237a6dbabc Bug 1713334 - Part 3: Assume TextEditor always have a text node r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D117023
2021-06-14 13:08:33 +00:00
Kagami Sascha Rosylight 760acf8789 Bug 1713334 - Part 2: Initialize TextEditor always with a text node r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D117022
2021-06-14 13:08:32 +00:00
Kagami Sascha Rosylight b327288d9d Bug 1713334 - Part 1: Keep a text node inside text controls even if empty r=masayuki,Jamie
Doing so prevents confusion when detecting selection change.

Differential Revision: https://phabricator.services.mozilla.com/D116303
2021-06-14 13:08:32 +00:00
Mark Banner d590feeeee Bug 1705374 - Add new Amazon search engines and reorganise existing ones. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D113398
2021-06-14 13:05:02 +00:00
Mark Banner 7e49795b30 Bug 1693821 - Update tracking regexps for search ad telemetry. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D109636
2021-06-14 13:05:02 +00:00
ffxbld 13e469a9fb No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D117636
2021-06-14 13:05:01 +00:00
Lasse 05a2d4bf17 Bug 1710381 - Stop using this argument in ChromeUtils.import for importing modules in toolkit/components/telemetry/tests/unit/. r=Standard8,chutten
We also expanded the EXPORTED_SYMBOLS lists of some .jsm files, because otherwise we got the error that these symbols were undefined.

Differential Revision: https://phabricator.services.mozilla.com/D116208
2021-06-14 13:03:57 +00:00
Jonathan Kew c8f1e2a4ec Bug 1711479 - Adjust css-values/ex-unit-001 test to avoid dependency on locally-installed font lookup. r=emilio
The test here used a face with `src: local(Arial);`, while the reference file used `font-family: Arial, sans-serif`;
but these may not reliably result in the same behavior. The `@font-face` rule looks up a specific *face*,
and if that face is not found, the test will fall back to the browser's default font; but the reference might
get a *different* result if, for example, a fontconfig alias/substitution rule is present that maps Arial to
a different sans-serif than the browser's default.

So instead of trying to use a local font lookup to provide the metrics contrast with Ahem, this patch specifically
loads a second font resource (in both the testcase and reference) to provide consistent behavior.

Differential Revision: https://phabricator.services.mozilla.com/D116452
2021-06-14 12:32:38 +00:00
Jonathan Kew c7f53b643f Bug 1711479 - Remove metadata annotations for Linux-specific WPT failures that are fixed by more accurate 'ex' computation. r=emilio
We have a couple of tests that fail on tryserver on certain platforms (though they pass for me locally),
apparently because the glyph measurements used to support the various glyph-related metrics may be
affected by resolution and/or hinting settings. So these are annotated as fuzzy for now.

If we undertake a reimplementation of font metrics to better harmonize behavior across platforms
(a longstanding wish!), perhaps we'll be able to eliminate these discrepancies.

Differential Revision: https://phabricator.services.mozilla.com/D116282
2021-06-14 12:32:38 +00:00
Jonathan Kew f1137ae725 Bug 1711479 - Add the extended (two-value) font-size-adjust syntax to various WPT tests. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D116280
2021-06-14 12:32:37 +00:00
Jonathan Kew 553fdd24fc Bug 1711479 - Support various metrics (not only ex-height) as the basis for font-size-adjust calculations in the gfx font implementations. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D115211
2021-06-14 12:32:37 +00:00
Jonathan Kew 00a8f91ec3 Bug 1711479 - Implement CSS support for the optional adjustment-basis metric keywords for the font-size-adjust property (enabled on Nightly only for now). r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D115596
2021-06-14 12:32:36 +00:00
Hubert Boma Manilla 9e0da20ee6 Bug 1707555 - [devtools] Use thread configuration actor for all thread options r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D116340
2021-06-14 12:27:42 +00:00
Jon Coppeard 911e57f58b Bug 1714141 - Remove unused 'producer' condition variable r=sfink
This is unused since the internal thread pool has its own now.

Differential Revision: https://phabricator.services.mozilla.com/D117162
2021-06-14 12:24:47 +00:00
Jon Coppeard 1dbfb3f3fe Bug 1714141 - Use dispatch callback for internal thread pool r=sfink
We can use the dispatch task callback for the internal thread pool too,
removing some code specific to the latter.

Differential Revision: https://phabricator.services.mozilla.com/D117161
2021-06-14 12:24:47 +00:00
Jon Coppeard b18beb7e7f Bug 1714141 - Move internal thread pool into a new class r=sfink
Mostly this moves the code over to a new InternalThreadPool class in a new
source file. The initialization and shutdown code had to change a little
to make this work.

Differential Revision: https://phabricator.services.mozilla.com/D117160
2021-06-14 12:24:46 +00:00
Jon Coppeard bf5f56a33d Bug 1714141 - Make helper thread accessors private and remove only external use r=sfink
These are going to be removed.

Differential Revision: https://phabricator.services.mozilla.com/D117159
2021-06-14 12:24:46 +00:00
Christoph Kerschbaumer ec0b95a521 Bug 1716278: Update PBM portion of test toolkit/components/extensions/test/xpcshell/test_ext_webRequest_incognito.js to work with https-first enabled r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D117630
2021-06-14 11:43:55 +00:00
Alexandre Lissy 59f1595f14 Bug 1651133 - Double-check the build ID to avoid spurious about:restartrequired r=jld
Differential Revision: https://phabricator.services.mozilla.com/D115593
2021-06-14 10:33:19 +00:00
André Bargull b670c58fd4 Bug 1715532: Remove some unnecessary const_cast and static_cast. r=jonco
js/src/frontend/Stencil.cpp:
`codeStencil()` was previously accepting a non-const reference, but has since
then been updated to accept a const reference. Therefore we no longer need the
`const_cast`.

js/src/gc/Zone.cpp:
`r.front().key()` returns a non-const pointer, so the `const_cast` is a no-op.

js/src/jit/WarpSnapshot.h:
The code was probably copied from `CompilerGCPointer`, but for `WarpGCPtr` we
don't need the `static_cast`.

js/src/vm/NativeObject.h and js/src/vm/GeneratorObject.cpp:
Make `NativeObject::getDenseElements()` a `const` method, so we don't need the
`const_cast`.

Differential Revision: https://phabricator.services.mozilla.com/D117299
2021-06-14 10:24:04 +00:00