This reverts commit 6056567c3e.
Revert "Bug 1958081 - [devtools] Migrate object inspector to the new JS objects test framework. r=devtools-reviewers,nchevobbe"
This reverts commit 8cbc65e7b5.
Revert "Bug 1958081 - [devtools] Introduce a test framework to ease testing all possible JavaScript types against various codebases. r=frontend-codestyle-reviewers,devtools-reviewers,nchevobbe,Standard8" for causing xpc failures at test_javascript_logging.js
This reverts commit ddcbf73cd8.
Update the origin metadata loading logic to detect and reject unexpected
reserved data. If unexpected data is present, the metadata file is treated as
incompatible, and restoration is triggered to ensure a consistent and valid
state.
This change protects both older and newer builds:
- Older builds won’t misinterpret new metadata written by newer builds
(although the chance of that is quite low).
- Newer builds won’t incorrectly trust metadata files that were upgraded, then
used by an older build, and used again, which is more likely and could lead
to subtle or serious inconsistencies.
Differential Revision: https://phabricator.services.mozilla.com/D246936
Verified by running the tests with `./mach test` and
`--setpref=javascript.options.property_error_message_fix=false` (Beta)
`--setpref=javascript.options.property_error_message_fix=true` (Nightly)
Differential Revision: https://phabricator.services.mozilla.com/D248310
The existing `check_android_tools` helper only locates executables. I've added
a new `check_file` template that can search for any file type (e.g. `.jar`).
Differential Revision: https://phabricator.services.mozilla.com/D248328
This function was added in the previous commit and we should make use
of it everywhere, but we do so separately from the other changes.
Differential Revision: https://phabricator.services.mozilla.com/D248311
This is the final name of the feature (per UX) so move the string to
a non-preview .ftl file and remove the now empty preview .ftl file.
Differential Revision: https://phabricator.services.mozilla.com/D248289
The eventual goal is to enable using the new IR pipeline code, but this
commit simply switches over to the new version. The main change is that
UniFFI is back to using askama as the template engine, since rinja
project has been merged back in.
Differential Revision: https://phabricator.services.mozilla.com/D247843
This reverts commit 1faeaa00f5.
Revert "Bug 1959727 - Implement ShadowRoot.setHTML and share more code. r=emilio"
This reverts commit 3a84b03088.
Revert "Bug 1959727 - Add the sanitizer option to parseHTMLUnsafe. r=emilio" for causing wpt failures in Document-parseHTMLUnsafe.html
This reverts commit 17ced5ec89.
XPIs can then be placed within testing/mochitest/extensions, and
these will automatically be installed and enabled when running
the mochitests on try.
Differential Revision: https://phabricator.services.mozilla.com/D248092
When an extension does not have the contextMenus or menus permission,
it is not possible to have extension-defined context menus on an
extension's action button. The actionContextMenu() call would never
add menu items in this case.
As the bug report shows, trying to call actionContextMenu() can throw
an error when the ext-menus.js module has not been loaded. To avoid
this error, verify that the extension has the permission to add menus.
Because ext-menus.js is declared with `"events": ["startup"]`, the
module is guaranteed to be loaded if an extension has the permissions.
Differential Revision: https://phabricator.services.mozilla.com/D248154
Initializing the ExperimentManager or RemoteSettingsExperimentLoader
outside the main process could cause a bunch of problems, since we
cannot actually trigger enrollments from content processes. Explicitly
prevent those scenarios so that we do not end up causing unexpected
behaviour.
Differential Revision: https://phabricator.services.mozilla.com/D248129