It will stop creating a text_env section, which in turn will work around
the linking problems on no-opt builds on arm64 mac.
Differential Revision: https://phabricator.services.mozilla.com/D137902
Python 3.10 prints a warning when it sees `distutils` used, so let's
avoid using `distutils` in the "common Mach code" that runs on every
Mach call.
Note that this change will also fix the `SetuptoolsDeprecationWarning`
that shipped on `setuptools>=58.3.0`, since our usage of `distutils` was
calling a `setup.py install` under the hood.
Differential Revision: https://phabricator.services.mozilla.com/D137499
Tweaks `./mach lint` behaviour to always fall back to only linting files
that have changed according to VCS - previously, this only happened if
no linter was provided.
Adjusts "am I at $topsrcdir" check to use `pathlib` to avoid mismatches
due to inconsistent capitalization or slash direction.
Updates CI references to explicitly provide `*` as the path to avoid
the only-lint-files-changed restriction.
Differential Revision: https://phabricator.services.mozilla.com/D137870
This adds a round trip from double -> float -> double because
CSSRect is float but it should be ok because most users of gfxRect (RectDouble)
should be using Rect instead anyways.
Differential Revision: https://phabricator.services.mozilla.com/D137811
* I overlooked that some `window.open` feature names are different from
barprop names.
* Adding "resizable" will regress the maximize button prblem. But it was
broken even before bug 1564738 and fixing it requires changes to session
data. The current session data do not contain enough information to restore
the maximize button state correctly. I'll file a follow-up bug about this.
* I renamed the test file because it is no longer limited to tab visibility.
Differential Revision: https://phabricator.services.mozilla.com/D137838
Some versions of Mesa, including what we currently use on CI, need more
stack memory than what we currently provide on the compositor thread
order to pass the WebGL test suite in out-of-process mode. This patch
increases the limit and re-enables the previously broken tests.
(Testing on Try found that the threshold was somewhere between 384k and
448k, but because this depends on a third-party library and content
controlled input, I'm giving it 512k so we have some safety margin.)
Differential Revision: https://phabricator.services.mozilla.com/D137787
The failing test is the only one that verifies reload scenarios with respect to history metadata interactions.
I haven't been able to find a solution to this intermittent, I am remove the specific test that's failing and creating a bug to test reload scenarios.
Differential Revision: https://phabricator.services.mozilla.com/D137477
The main difference between `OSXBootstrapperLight` and `OSXBootstrapper`
is that the "light" one doesn't install utilities via `brew`.
However, these utilities are all optional for builds (`watchman`,
`terminal-notifier`, etc).
Since arm macOS + Rosetta + brew installs are failing (because brew is
complaining that the "ARM prefix" is being used in a Rosetta context),
the solution provided by this patch is to avoid using `brew` in this
case.
Differential Revision: https://phabricator.services.mozilla.com/D137661
- Implements 7 intrinsic functions
- These intrinsics are only enabled for x86/x86-64 platform and for
privileged extensions
- These intrinsics should never be accessible to web-pages
-- Added corresponding mochitest
Differential Revision: https://phabricator.services.mozilla.com/D136430
We don't use unions in the bindings, and rust is very picky with what
you can put on untagged unions, so disable them for now.
Differential Revision: https://phabricator.services.mozilla.com/D137837
Due to a Selection API's bug, `Selection::Modify` may move selection into
native anonymous subtree. Although it should be fixed in the side, but
`HTMLEditor` should make range boundaries climb up to outside native anonymous
subtrees.
Depends on D137526
Differential Revision: https://phabricator.services.mozilla.com/D137527