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

763820 Коммитов

Автор SHA1 Сообщение Дата
Stefan Zabka 1d98ea9a16 Bug 1719838 - Assert that OriginAttributes are pristine in PopulateFromSuffix. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D120381
2021-07-21 12:10:58 +00:00
Niklas Goegge a2a0eb99b1 Bug 1551886: Check the parent scheme for NullPrincipals via the precusor principal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D119977
2021-07-21 10:57:12 +00:00
Gijs Kruitbosch a5bac38c6e Bug 1719598 - fix unicode handling of file extensions in nsExternalHelperAppService, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D120218
2021-07-21 10:50:20 +00:00
Antonin LOUBIERE 202b09af6c Bug 490136 - fix last tab re-opening after the close with session restore. r=Gijs
If one closes the last tab with the session restore enabled, it will re-open after restart.
Fix that by closing completely the tabs before the stop of the browser.

Differential Revision: https://phabricator.services.mozilla.com/D118270
2021-07-21 10:28:02 +00:00
Iulian Moraru 72e3ccbe6a Backed out changeset 5412920e7030 (bug 1716562) for causing bc failures on browser_topsites_section.js. CLOSED TREE 2021-07-21 13:46:55 +03:00
Emilio Cobos Álvarez 4f696bd524 Bug 1721370 - Undo the behavior change from bug 1720703. r=annevk
Making <source> display: none is not web compatible. <track> could
probably stay, your call, but other browsers also don't do this so
perhaps we should just change the spec...

Differential Revision: https://phabricator.services.mozilla.com/D120454
2021-07-21 10:03:53 +00:00
Edgar Chen af2f2867e6 Bug 1721349 - Move mSubmitter from HTMLFormSubmission to FormData and make it participate in cycle collection; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D120334
2021-07-21 09:52:20 +00:00
Henrik Skupin d0d88df9b5 Bug 1713784 - [remote] Implement basic support for session.new command. r=webdriver-reviewers,jdescottes,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D119731
2021-07-21 09:45:06 +00:00
Henrik Skupin dcc9585eba Bug 1713784 - [remote] Implement "sendError" for WebDriverBiDi connection. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D120304
2021-07-21 09:45:06 +00:00
Henrik Skupin 10c712a65e Bug 1721327 - [remote] Share Marionette's assertion module with WebDriver BiDi. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D120303
2021-07-21 09:45:06 +00:00
Andrei Oprea ae3fd8d195 Bug 1716562 - Use a pref for each property in the value field of an experiment r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D118000
2021-07-21 09:38:08 +00:00
Andrei Oprea d847f161ec Bug 1719513 - Increase targeting attribute timeout to account for network requests r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D120329
2021-07-21 08:45:31 +00:00
Sebastian Hengst 0c7c654248 Bug 1718274 - adjust rule to continue to prevent GTest from running on DevEdition. DONTBUILD
Bug 1715515 switch Windows to run DevEdition with WebRender enabled which
added the '-qr' prefix to the platform and accidentally enabled GTest for it.

Differential Revision: https://phabricator.services.mozilla.com/D120450
2021-07-21 08:43:15 +00:00
Alexandre Poirot 48c02c41f1 Bug 1721364 - [devtools] Fix devtools/client/framework/test/browser_toolbox_window_title_frame_select.js with server side targets. r=nchevobbe
We weren't emitting window-ready in case of iframe switching,
leading to some breakage in walker actor not updating correctly when using the iframe dropdown.

Differential Revision: https://phabricator.services.mozilla.com/D120339
2021-07-21 08:24:01 +00:00
Alex Ionescu e491861e7b Bug 1721152 - vismet jobs are not triggered on s7 r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D120328
2021-07-21 07:26:44 +00:00
nchevobbe b5f1a3988d Bug 1721123 - Expose AbortController in Sandbox. r=smaug.
AbortController can be used to remove multiple event listeners
in a single call, and that's a pattern the DevTools team want to
start using.
As some of DevTools code run in a Sandbox, we couldn't instantiate
AbortController there so far.
This patch exposes the AbortController in the Sandbox so instances
can be created.

Differential Revision: https://phabricator.services.mozilla.com/D120193
2021-07-21 06:02:20 +00:00
Masayuki Nakano 7448c66839 Bug 1721323 - Move some tests under `editor/libeditor/tests` which mainly test spellchecker behavior to `editor/spellchecker/tests` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D120421
2021-07-21 05:39:16 +00:00
Nicolas Chevobbe eb0d1b8507 Bug 1721375 - [devtools] Remove WebConsoleFront getString method. r=bomsy.
The method isn't related to the webconsole actor, so we can remove it, and
alongside with it, the longString method and _longStrings
property which are no longer useful.
The only customer of this switches to the shared `getLongStringFullText` method
instead.

Differential Revision: https://phabricator.services.mozilla.com/D120354
2021-07-21 05:13:16 +00:00
Sandor Molnar 77256682a1 Backed out 7 changesets (bug 1720215, bug 1717645, bug 1717051) for causing win debug build bustages. CLOSED TREE
Backed out changeset fb9919b26f30 (bug 1717051)
Backed out changeset 605651561f2a (bug 1717051)
Backed out changeset d1333fe69cf4 (bug 1717051)
Backed out changeset b75dcb922521 (bug 1720215)
Backed out changeset e43fb9c6cd0f (bug 1717645)
Backed out changeset eab19a103b56 (bug 1717645)
Backed out changeset 7864e8241d77 (bug 1717645)
2021-07-21 07:47:18 +03:00
Gerald Squelart e7e9ae90ae Bug 1721110 - profiler_current_thread_id() now returns ProfilerThreadId - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D120225
2021-07-21 04:16:59 +00:00
Gerald Squelart 7bc3116790 Bug 1721110 - baseprofiler::profiler_current_thread_id() now returns BaseProfilerThreadId - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D120224
2021-07-21 04:16:59 +00:00
Gerald Squelart 0e7895310f Bug 1721110 - profiler_current_process_id() now returns ProfilerProcessId - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D120223
2021-07-21 04:16:58 +00:00
Gerald Squelart 723be2ec1e Bug 1721110 - baseprofiler::profiler_current_process_id() now returns BaseProfilerProcessId - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D120222
2021-07-21 04:16:58 +00:00
Gerald Squelart 72f0855bfa Bug 1721110 - Introduce BaseProfilerProcessId and BaseProfilerThreadId - r=florian
These classes should replace the `int` type that is currently used to store process and thread ids. The next patches will start using them. Advantages:
- Prevent type mismatches, e.g., giving a process id (or other number) to a function expecting a thread id.
- Prevent nonsensical arithmetic operations.
- Make the unspecified id more abstract, so it's more obvious and portable.
- Make conversions to/from numbers (for display or storage) more visible.
- Allow future changes of APIs using them less risky.
- Allow future changes of the ids themselves (e.g., to be able to use bigger underlying types on some platforms, or even the opaque std:🧵:id type.)

Differential Revision: https://phabricator.services.mozilla.com/D120221
2021-07-21 04:16:57 +00:00
Gerald Squelart a966352bcd Bug 1721110 - {,Base}ProfilerUtils.h with process&thread functions taken from {,Base}ProfilerState.h - r=florian
This new header isolates the process and thread functions that should be available in all builds, and in most other profiler headers.
Non-MOZ_GECKO_PROFILER implementations return ids 0 (unspecified process/thread). `profiler_is_main_thread()` returns false, it's arbitrary but consistent with `0` (it makes little sense to use it there anyway.)

Differential Revision: https://phabricator.services.mozilla.com/D120220
2021-07-21 04:16:57 +00:00
Gerald Squelart 171c2eed5f Bug 1721110 - {,Base}ProfilerState.h improvements: Sprinkle nodiscard's and more - r=florian
The next patch will extract parts of these headers into a separate file, so it's best to do this clean-up now, to best preserve history.
- Add [[nodiscard]] to all functions that return something. (There are no cases where that returned value could really be ignored.)
- Hide scProfilerMainThreadId in a "detail" namespace, to emphasize that it's an implementation detail that the user shouldn't access directly.
- Combine tightly-nested namespaces start/end into single lines, it's more readable.

Differential Revision: https://phabricator.services.mozilla.com/D120219
2021-07-21 04:16:56 +00:00
Jeff Muizelaar 132a09618b Bug 1721515 - qcms: Remove some now unneeded unstable features. r=aosmond
These were used by our local NEON intrinsics implementation.
We don't need them anymore.

Differential Revision: https://phabricator.services.mozilla.com/D120420
2021-07-21 01:42:38 +00:00
Mike Hommey 5332e829be Bug 1720829 - Upgrade binutils to 2.36.1. r=firefox-build-system-reviewers,andi,mhentges
The only difference in the resulting Firefox builds is the removal of
section symbols from the symbol table, which doesn't matter.

We however keep binutils 2.31.1 for the base-toolchain-clang builds
because clang 5.0's lld doesn't handle the DWARF v3 output from the new
binutils's as when using -no-integrated-as.

Differential Revision: https://phabricator.services.mozilla.com/D120053
2021-07-21 00:19:57 +00:00
Boris Chiou df3e4e4f9e Bug 1679794 - Downgrade MOZ_ASSERT to NS_WARNING_ASSERTION for the resolved non-auto-insets block size on abs-positioned elements. r=dholbert
This is an known issue for nscoord because we don't have a better way to
distinguish between the unresolved size and the resolved super large size.
Using NS_WARNING_ASSERTION is the current acceptable way.

Differential Revision: https://phabricator.services.mozilla.com/D119470
2021-07-21 00:07:27 +00:00
Emma Malysz baea2ccdb8 Bug 1721105, use zoom factor for screenshots shortcut r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D120257
2021-07-20 23:51:13 +00:00
Andrew McCreight 3726aae8d4 Bug 1719998 - Don't use lookupForAdd in GetOrCreateProxyObject. r=peterv,jonco
Differential Revision: https://phabricator.services.mozilla.com/D119699
2021-07-20 23:42:00 +00:00
Eden Chuang 65018bcd9d Bug 1720410 - Unregister SW when reach navigation fault threshold. r=dom-worker-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D119878
2021-07-20 23:35:11 +00:00
Sandor Molnar 798b93a069 Backed out changeset 733ddb26d3b2 (bug 1719598) for causing xpc failures in test_getFromTypeAndExtension. CLOSED TREE 2021-07-21 02:08:16 +03:00
Mitchell Hentges 9d2879a48a Bug 1717051: Move global mach dependencies to requirements definition r=ahal
After removing `optional` in Bug 1712804, we need to add a variant back
here because there's fallible dependencies. However, I've tweaked the
re-introduction of the feature to require a specific repercussion
message as well. This seemed like a decent tradeoff - the developer
becomes aware that the failure is bad, it has repercussions, but it's
not a blocking issue. Additionally, since we're printing pip's output,
the developer will be able to see the underlying error causing the
warning.

I also added comment functionality to requirements definitions to allow
adjacent documentation of why some requirements are fallible. (Related:
I'm looking forward to `mach_bootstrap` not needing to parse
requirements definitions. Almost there!)

Note that we'll temporarily lose the "pinned" nature of the
three moved dependencies until dependency locking is implemented
for Mach requirements definitions. Also note that the pinned
`zstandard_requirements.txt` can't be removed like the other
files because it still has a dangling usage.

Finally, in preparation for review: I didn't make
`PypiOptionalSpecifier` extend `PypiSpecifier` because I figured that
the benefit of flexibility (easier to allow implementations to diverge
without needing to untangle an inheritance relationship) was larger than
the cost of needing to add properties to both specifiers.
If we wanted re-use, I'd probably have `PypiOptionalSpecifier` _contain_
 a `PypiSpecifier`, but then you have to reach deeper into the object to
 get data, so *shrug*.

Differential Revision: https://phabricator.services.mozilla.com/D119835
2021-07-20 22:22:53 +00:00
Mitchell Hentges f4c722d4cf Bug 1717051: Only use stdlib for installing pip packages r=ahal
`_install_pip_package()` may be run from `populate()`, which
is invoked from a child Python process that doesn't
have in-tree Python modules in its sys.path.

An alternate solution would be to add in-tree modules
to the sys.path, but that seemed more costly than
simply using `tempfile` and `shutil`.

Differential Revision: https://phabricator.services.mozilla.com/D119834
2021-07-20 22:22:53 +00:00
Mitchell Hentges d92ed529bc Bug 1717051: Remove obsolete python module paths r=ahal
The three removed paths don't exist in-repo, and after a cursory glance
they don't appear to be populated dynamically.

Note that the removal of the `six` path for WPT is different: it's
technically just incorrect, and should amended to point to
`$WPT/tools/third_party/six`. However, Python only allows a single
instance of a library to exist in import scope, and we're already
consuming `six` from the Firefox-wide vendored 3rd-party libs.

Differential Revision: https://phabricator.services.mozilla.com/D119825
2021-07-20 22:22:53 +00:00
Mitchell Hentges b34427450f Bug 1720215: Remove MACOSX_DEPLOYMENT_TARGET virtualenv workaround r=firefox-build-system-reviewers,andi
Now that the upstream Python bug has been resolved since Python 3.4 (at
the latest), we can safely remove the environment variable workaround.

Differential Revision: https://phabricator.services.mozilla.com/D119687
2021-07-20 22:22:52 +00:00
Mitchell Hentges c958faf669 Bug 1717645: Fix up_to_date for Python 3.6 r=ahal
Python 3.6 doesn't support the `capture_output` option, so use
`stdout=subprocess.PIPE` instead.

Differential Revision: https://phabricator.services.mozilla.com/D120027
2021-07-20 22:22:52 +00:00
Mitchell Hentges 6ae508148e Bug 1717645: Check virtualenv pths are up-to-date r=ahal
It's possible for a virtualenv to have an incorrect list of directories
to add to the sys.path, such as the following cases:
* Its creation got cancelled halfway through
* The list of pths changed in a new revision
* It got modified by an external tool

By validating the list of provided pths against the list of required
pths, we can ensure that the virtualenv is more dependably up-to-date.

Differential Revision: https://phabricator.services.mozilla.com/D119686
2021-07-20 22:22:51 +00:00
Mitchell Hentges d11e0a94e8 Bug 1717645: Resolve nested virtualenv requirements up-front r=ahal
This simplifies consumer logic, since they get the parsed list of pypi
and pth requirements, as well as the list of input files that were
parsed.

One benefit of this simplification is that we no longer
recursively create VirtualenvManagers.

Note that mach_bootstrap cannot (yet) take advantage
of `ParseMachEnvRequirements` because of a dependency cycle:
* `mach_bootstrap` must set up the `sys.path` to import
  `ParseMachEnvRequirements`.
* `mach_bootstrap` would want `ParseMachEnvRequirements` to
  determine which paths to add to the `sys.path`.

Differential Revision: https://phabricator.services.mozilla.com/D119685
2021-07-20 22:22:51 +00:00
Gijs Kruitbosch 89a04cb023 Bug 1719598 - fix unicode handling of file extensions in nsExternalHelperAppService, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D120218
2021-07-20 22:20:59 +00:00
Agi Sferro 52ba1458a2 Bug 1709640 - Remove unused variables in android/confvars.sh r=nalexander,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D114371
2021-07-20 22:19:17 +00:00
Agi Sferro c94b53a7e6 Bug 1709640 - Label Android build jobs for 4.1. r=nalexander
Not sure how it happened (probably copy-paste?) but a lot of Android jobs are
marked for "Android 4.0" (API 14) or "Android 4.2" (API 18) while really they
are all for Android 4.1 (API 16). This patch fixes that.

Differential Revision: https://phabricator.services.mozilla.com/D117050
2021-07-20 22:19:17 +00:00
Agi Sferro 8fc4964dd1 Bug 1709640 - Add GeckoView Lite build variant. r=jmaher,aklotz,mhentges,glandium
This patch adds a new GeckoView build variant dubbed "lite". We are in the
process of adding some optional dependencies to GeckoView that are needed by
Fenix (like Glean and Nimbus) which are likely not going to be used by anyone
else at Mozilla. To avoid bloating third party consumers, we provide a
geckoview-lite build that doesn't contain any optional dependency.

The min SDK version of GeckoView (non-lite) is being increased to 21 to match
Glean's min SDK. Given that Fenix's min SDK version is already 21 and that the
lite version's min SDK is still at 16 this change is safe to do and will not
incur in any loss of usability.

Differential Revision: https://phabricator.services.mozilla.com/D114370
2021-07-20 22:19:17 +00:00
Agi Sferro e8f6769032 Bug 1718341 - Download Android AVD from TL job artifact. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119542
2021-07-20 22:19:16 +00:00
Agi Sferro 83fffa1198 Bug 1718341 - Update Android cmdtools to 4.0. r=nalexander,glandium
The SDK Tools version we're currently using is deprecated and was last released
in 2017. It's time for an upgrade!

Differential Revision: https://phabricator.services.mozilla.com/D119226
2021-07-20 22:19:16 +00:00
Agi Sferro 43e1e251c7 Bug 1718341 - Remove redundant override in MobileAndroidBootstrapper. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119998
2021-07-20 22:19:15 +00:00
Agi Sferro 4391056abd Bug 1718341 - Prewarm AVD before packaging r=nalexander
The very first time an Android AVD starts it runs some one time jobs to
properly set up the AVD.

To avoid running the setup every time we run tests in automation, we can boot
the AVD before packaging it so that the testing jobs can use a "prewarmed" AVD
instead.

Differential Revision: https://phabricator.services.mozilla.com/D119225
2021-07-20 22:19:15 +00:00
Agi Sferro 59a13bd422 Bug 1718341 - Initialize XVFB during SDK packaging. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D119224
2021-07-20 22:19:15 +00:00
Agi Sferro e0e133ae7b Bug 1718341 - Use generated emulator when running WR Android jobs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119222
2021-07-20 22:19:14 +00:00