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
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
- 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
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
`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
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
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
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
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
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
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