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

724823 Коммитов

Автор SHA1 Сообщение Дата
Denis Palmeiro b53dc3619e Bug 1662435 - Assert request is not already in another list before appending to bytecode cache queue. r=smaug
Add a safety check before appending a request to the bytecode cache queue to see if it already exists in another list.

Differential Revision: https://phabricator.services.mozilla.com/D88984
2020-09-01 17:14:32 +00:00
Ricky Stewart df4289ddcc Bug 1662130 - Walk back new `inherit-from-parent-environment` logic in `virtualenv` handling r=ahal
This logic is meant to expose packages from a globally-installed Python to be used by the in-`objdir` `virtualenv`s, so for example we don't have to figure out how to install `zstandard` (or other Python packages with native code that may or may not have prebuilt wheels for any given platform) in those `virtualenv`s. Bug 1660351 augmented that logic to work within the requirements of bug 1660353. This worked mostly, but is causing builds to unconditionally break on Arch Linux, caused a couple test failures, and in general is just introducing other weird behaviors downstream, and issues with the resultant `PYTHONPATH`s are hard to diagnose and fix.

In the long-term we'll have to permanently solve the `zstandard` problem and pave the way for other Python packages with native code as well, but that's not an urgent need.

The ultimate goal is to completely remove `inherit-from-parent-environment`, but we can't do that until bug 1659539 is solved.

Partially reverts bugs 1660351. Entirely reverts bug 1660353, restoring that file to as it was before that patch.

Differential Revision: https://phabricator.services.mozilla.com/D89001
2020-09-01 16:54:27 +00:00
Butkovits Atila 7b340f9684 Backed out 15 changesets (bug 1612824, bug 1661234, bug 1619926, bug 1612380, bug 1559530, bug 1642990) for Xpc failures. CLOSED TREE
Backed out changeset 426d017d7e46 (bug 1642990)
Backed out changeset 84ab4021d403 (bug 1559530)
Backed out changeset 82a8305543e5 (bug 1559530)
Backed out changeset 38832c1185b8 (bug 1559530)
Backed out changeset f16918c10a6b (bug 1661234)
Backed out changeset 3a13258fbd51 (bug 1661234)
Backed out changeset abf8d8b24845 (bug 1612824)
Backed out changeset 7dfeb065a385 (bug 1619926)
Backed out changeset bc9d3e210fe7 (bug 1619926)
Backed out changeset 786164c461ae (bug 1619926)
Backed out changeset d89793e9d17d (bug 1619926)
Backed out changeset d665885bc912 (bug 1619926)
Backed out changeset 9260b6620943 (bug 1619926)
Backed out changeset af69a4896f2f (bug 1619926)
Backed out changeset b9cd6b7047b9 (bug 1612380)
2020-09-01 21:03:23 +03:00
Butkovits Atila 925221149f Backed out 7 changesets (bug 1651705) as requested by Aklotz. CLOSED TREE
Backed out changeset 60730e8394ae (bug 1651705)
Backed out changeset c441ae751191 (bug 1651705)
Backed out changeset c289f06ceba2 (bug 1651705)
Backed out changeset d4491ef94b3e (bug 1651705)
Backed out changeset 1cca90ffab83 (bug 1651705)
Backed out changeset 9b1ce53e6472 (bug 1651705)
Backed out changeset a31251ba4566 (bug 1651705)
2020-09-01 20:39:15 +03:00
Bogdan Tara 175f238a05 Backed out changeset 14502dd9ab37 (bug 1661350) for browser_aboutwelcome_multistage.js failures CLOSED TREE 2020-09-01 20:02:16 +03:00
Gijs Kruitbosch a4f51cac34 Bug 1658202 - move flushes caused by closing the stream away from the main thread, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D88731
2020-09-01 00:14:26 +00:00
Gijs Kruitbosch 0cfd62dcbc Bug 1658202 - move writes from onDataAvailable away from the main thread, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D88730
2020-09-01 07:18:38 +00:00
Andrew Halberstadt d82c6de5d5 Bug 1662427 - Backout 7c48fc6f04e3 for causing tasks with 'push-interval' optimizations to stop running on central,
Differential Revision: https://phabricator.services.mozilla.com/D89004
2020-09-01 16:38:15 +00:00
Cristina Coroiu 8eaafae8fd Backed out 2 changesets (bug 1661514) for lint failure on a CLOSED TREE
Backed out changeset 8e58c88f756b (bug 1661514)
Backed out changeset aef89f9a8031 (bug 1661514)
2020-09-01 19:34:12 +03:00
Sylvestre Ledru 5ee2fbd7cb Bug 1661514 - Reformat some python files with black 20.8b1 r=rstewart
# ignore-this-changeset

Depends on D88711

Differential Revision: https://phabricator.services.mozilla.com/D88712
2020-08-31 17:06:22 +00:00
Iain Ireland 113e513083 Bug 1661861: Generate arguments rectifier for trial inlining r=jandem
We don't have to store a separate return offset for trial inlining, because the rectifier code after returning from the call is exactly the same. Post-bailout, inline frames will return into the normal non-inline code.

Differential Revision: https://phabricator.services.mozilla.com/D88694
2020-08-31 12:51:14 +00:00
Sylvestre Ledru 7b9bcc2a8b Bug 1661514 - Update to black 20.8b1 r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D88711
2020-08-31 17:05:08 +00:00
Marco Bonardo 05dde8785e Bug 1632318 - Left / Right Arrow key navigation in the one-off search buttons breaks convention (should move caret, not select one-off). r=adw
Differential Revision: https://phabricator.services.mozilla.com/D88536
2020-09-01 13:28:00 +00:00
Florian Quèze 2bfae616c0 Bug 1547769 - add --packaged parameter on |mach run| to run a packaged build, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D88620
2020-08-31 05:31:29 +00:00
Tom Ritter 6769e886bf Bug 1612054 - Remove sWebExtensionsRemoteWasEverDisabled because the Web Extension process cannot be toggled mid-session anymore r=mixedpuppy,ckerschb
Bug 1502525 removed the ability for the Web Extension process to be toggled mid-session.
We don't need this weird edge-case feature anymore.

Differential Revision: https://phabricator.services.mozilla.com/D88883
2020-09-01 15:25:49 +00:00
Jonathan Kew d6c6010967 Bug 1662466 - Remove failure annotation for grid-gap-007.html on Win7/opt, as it seems to perma-pass now. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D88993
2020-09-01 15:31:22 +00:00
emcminn 70fa39bdfd Bug 1661350 - Add tests for long and short zaps r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D88485
2020-09-01 15:21:11 +00:00
Gregory Mierzwinski aca274c5c5 Bug 1662278 - Enable naming simplification on HTTP/3 live site tests. r=tarek
Depends on D88917

Differential Revision: https://phabricator.services.mozilla.com/D88918
2020-09-01 14:56:08 +00:00
Gregory Mierzwinski 756d14a209 Bug 1662278 - Simplify mozperftest metric names. r=tarek
This patch adds two new options to mozperftest. The --simplify-names argument can be provided to enable simplification of metric names and the --simplify-exclude option allows users to select which metrics to skip in the simplification. A bug relating to setting the default of a list option is also fixed here.

Differential Revision: https://phabricator.services.mozilla.com/D88917
2020-09-01 15:29:41 +00:00
Gregory Mierzwinski b2e2d7432f Bug 1662278 - Fix test_visualmetrics local linux failure. r=tarek
This fixes a local failure in mozperftest by mocking the find_node_executable function in the visual-metrics tests. It is not needed for those tests.

Depends on D88915

Differential Revision: https://phabricator.services.mozilla.com/D88916
2020-09-01 14:57:19 +00:00
Gregory Mierzwinski ae98f6130b Bug 1662278 - Pin black to version 19.10b0. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D88915
2020-09-01 15:09:44 +00:00
Corentin Arnould 5ebce138c9 Bug 1614009 - Updated mochitest. r=padenot
Depends on D84321

Differential Revision: https://phabricator.services.mozilla.com/D84322
2020-09-01 15:09:57 +00:00
Joel Maher fbcc60fd8b Bug 1661351 - migrate rest of windows 10 web-platform-tests to hardware. r=bc
migrate rest of windows 10 web-platform-tests to hardware

Differential Revision: https://phabricator.services.mozilla.com/D88989
2020-09-01 15:18:19 +00:00
James Willcox 665c0bd32e Bug 1659681 - Avoid crash in ~SharedSurace_SurfaceTexture() when GLContext is lost r=sotaro,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D88889
2020-09-01 13:00:39 +00:00
Corentin Arnould 27494fab83 Bug 1614009 - Removed non-spec exception throwing on CopyToChannel. r=padenot,webidl,smaug
Also removed those in CopyFromChannel and changed parameters' name to fit the spec.

Differential Revision: https://phabricator.services.mozilla.com/D84321
2020-09-01 15:09:47 +00:00
Emilio Cobos Álvarez 8a9cac4917 Bug 1662277 - Make IntersectionObserver entries have the same timestamp as other timestamp-returning things during the "update the rendering steps". r=sefeng
This is per spec, see the link in the test. I wouldn't see much point on
doing this for IntersectionObserver on its own, see:

  https://bugzilla.mozilla.org/show_bug.cgi?id=1518999#c28

Though I see the point of doing this for the paint timing API, and I
guess for consistency we should do it here too.

Differential Revision: https://phabricator.services.mozilla.com/D88926
2020-09-01 15:02:54 +00:00
Andrew Creskey 2022d49cf4 Bug 1661807 - Remove the Reference Browser startup tests r=sparky
We had thought ReferenceBrowser tests would be useful in isolating Fenix startup regressions.
However the startup of the Reference Browser is not directly comparable to Fenix and so we have not used these tests.

Differential Revision: https://phabricator.services.mozilla.com/D88666
2020-09-01 14:33:01 +00:00
Gregory Mierzwinski 2162c8d40b Bug 1661329 - Remove raptor power tests from CI. r=perftest-reviewers,Bebe
This patch removes all raptor power-usage-only tests from CI. It also removes all resource usage testing done on raptor from Fenix.

Differential Revision: https://phabricator.services.mozilla.com/D88516
2020-09-01 10:17:43 +00:00
Gregory Mierzwinski 4b323916f8 Bug 1661329 - Add power-usage tests to CI. r=perftest-reviewers,Bebe
This patch adds three power-test-specific tests to CI for idle, idle-bg, and speedometer.

Differential Revision: https://phabricator.services.mozilla.com/D88492
2020-09-01 10:19:07 +00:00
Gregory Mierzwinski 4e902a393d Bug 1661329 - Add idle and idle-bg power usage tests to raptor-browsertime. r=perftest-reviewers,Bebe
This patch adds the idle and idle-bg tests to raptor-browsertime. To make these work, a new browsertime script was built which handles waiting on a given page url, as well as backgrounding the application.

Differential Revision: https://phabricator.services.mozilla.com/D88491
2020-09-01 10:02:55 +00:00
Gregory Mierzwinski 4977c1b191 Bug 1661329 - Add power testing capability to raptor-browsertime. r=perftest-reviewers,Bebe
This patch adds the ability to measure power usage from browsertime in raptor. The method used for gathering/storing power usage information here is different from raptor. In this case, we report the power usage information within the same perfherder-data blob as the technical information and it will all be saved within a single perfherder-data.json file.

Differential Revision: https://phabricator.services.mozilla.com/D88490
2020-09-01 13:30:31 +00:00
Gregory Mierzwinski 7101f264ef Bug 1650879 - Upgrade browsertime to v9.4.0. r=tarek,perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D88324
2020-09-01 14:01:18 +00:00
Olli Pettay ed8b9c6e71 Bug 1662201 - Update history ID to mach the docshell ID of the SHEntry, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D88885
2020-09-01 14:47:13 +00:00
Aaron Klotz 2e9a6ef484 Bug 1651705: Part 7 - Update MediaSessionSupport to work with NativeWeakPtr; r=geckoview-reviewers,agi
This patch is similar to part 4 but for MediaSessionSupport.

Conversions over to `NativeWeakPtr` are pretty straight forward thanks to the
type system. Basically we take a `NativeWeakPtr`, call `Access()` on it, and
if the accessor is truthy, then we call whatever methods we need to call.

Creation of new pointers is done using `NativeWeakPtrHolder::Attach()` and
detaching of strong references is done by `NativeWeakPtr::Detach()`.

Differential Revision: https://phabricator.services.mozilla.com/D88088
2020-09-01 14:34:54 +00:00
Aaron Klotz 6a34c1e45b Bug 1651705: Part 6 - Update Android a11y to work with `NativeWeakPtr`; r=eeejay
This patch is similar to part 4 but for Android a11y.

Conversions over to `NativeWeakPtr` are pretty straight forward thanks to the
type system. Basically we take a `NativeWeakPtr`, call `Access()` on it, and
if the accessor is truthy, then we call whatever methods we need to call.

Creation of new pointers is done using `NativeWeakPtrHolder::Attach()` and
detaching of strong references is done by `NativeWeakPtr::Detach()`.

Differential Revision: https://phabricator.services.mozilla.com/D87365
2020-09-01 14:34:37 +00:00
Aaron Klotz 84f766366c Bug 1651705: Part 5 - GeckoEditableSupport updates to support `NativeWeakPtr`; r=m_kato,geckoview-reviewers
This patch is similar to part 4 but for `GeckoEditableSupport`.

Conversions over to `NativeWeakPtr` are pretty straight forward thanks to the
type system.  Basically we take a `NativeWeakPtr`, call `Access()` on it, and
if the accessor is truthy, then we call whatever methods we need to call.

Creation of new pointers is done using `NativeWeakPtrHolder::Attach()` and
detaching of strong references is done by `NativeWeakPtr::Detach()`.

Differential Revision: https://phabricator.services.mozilla.com/D87364
2020-09-01 14:34:29 +00:00
Aaron Klotz 9f91f22103 Bug 1651705: Part 4 - Convert nsWindow to use NativeWeakPtr; r=geckoview-reviewers,agi
These conversions are pretty straight forward thanks to the type system.
Basically we take a `NativeWeakPtr`, call `Access()` on it, and if the
accessor is truthy, then we call whatever methods we need to call.

Creation of new pointers is done using `NativeWeakPtrHolder::Attach()` and
detaching of strong references is done by `NativeWeakPtr::Detach()`.

Differential Revision: https://phabricator.services.mozilla.com/D87363
2020-09-01 14:34:26 +00:00
Aaron Klotz be23c566ee Bug 1651705: Part 3 - Move nested classes out of nsWindow, switch over to NativeWeakPtr in those class definitions; r=geckoview-reviewers,agi
* Having `AndroidView` and `GeckoViewSupport` as nested classes inside of
  `nsWindow` make it impossible to forward declare them. We move those classes
  into their own headers. We also move `WindowEvent` into its own header.

* We remove the old `NativePtr` and `WindowPtr` implementations from `nsWindow`
  and convert the class definitions in this patch to use the new `NativeWeakPtr`.

* `GeckoViewSupport` had a unique quirk where it was owned by `nsWindow`
  instead of its Java counterpart. To make `GeckoViewSupport`'s ownership work
  like the other classes that use `NativeWeakPtr` (and to substantially simplify
  the implementation of `NativeWeakPtr` itself), I have reversed that: now
  `nsWindow` holds a `NativeWeakPtr` to `GeckoViewSupport`, while
  `GeckoViewSupport` is owned by its Java counterpart and holds a strong ref to
  the `nsWindow`.

* `GeckoViewSupport` no longer inherits from `SupportsWeakPtr`, since using it
  with `NativeWeakPtr` provides stronger and safer guarantees.

Differential Revision: https://phabricator.services.mozilla.com/D87362
2020-09-01 14:34:18 +00:00
Aaron Klotz b81093d5cb Bug 1651705: Part 2 - Create NativeWeakPtr to safely access native objects owned by Java objects across multiple threads; r=geckoview-reviewers,agi
* We rename the existing `NativePtr` struct to `NativePtrTraits`, as that is
  more descriptive of what that code actually does;
* We introduce `NativeWeakPtr` as a smart pointer type that holds a pointer
  to an object and allows its access in a thread-safe way. See comments.
* We replace some explicit uses of template types with type deduction via
  `auto` and `decltype(auto)`. This allows for more use of forward declarations.

Differential Revision: https://phabricator.services.mozilla.com/D87361
2020-09-01 14:34:01 +00:00
Aaron Klotz d9c7fd9289 Bug 1651705: Part 1 - Make JNIObject.mHandle volatile; r=geckoview-reviewers,snorp
Given the access patterns involved on the native side, I think it is safest
to ensure that this field is access atomically by the VM.

Differential Revision: https://phabricator.services.mozilla.com/D87360
2020-09-01 14:33:52 +00:00
Aaron Klotz 14408edb59 Bug 1662313: Add a wait on a selectionchange event to test_resizers_resizing_elements to prevent race condition in test; r=masayuki DONTBUILD
Wait for `selectionchange` to ensure that input events have been processed
before verifying a target's bounds.

Differential Revision: https://phabricator.services.mozilla.com/D88936
2020-09-01 04:46:04 +00:00
Bogdan Tara bce6a28762 Backed out 2 changesets (bug 1614009) for webaudio related bustage CLOSED TREE
Backed out changeset e05106d5d786 (bug 1614009)
Backed out changeset c3832cde86d2 (bug 1614009)
2020-09-01 17:40:17 +03:00
Jared Wein e23bfe721b Bug 1657459 - Remove context menu from print preview browser. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D88944
2020-09-01 03:18:30 +00:00
Emilio Cobos Álvarez 6a183a94f4 Bug 1660774 - Masks shouldn't be suppressed for print. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D88899
2020-09-01 13:43:54 +00:00
Bogdan Tara 591813bd88 Backed out changeset 071c8c9a91f1 (bug 1662201) for docshell related bustage CLOSED TREE 2020-09-01 16:54:28 +03:00
Corentin Arnould cefe440352 Bug 1614009 - Updated mochitest. r=padenot
Depends on D84321

Differential Revision: https://phabricator.services.mozilla.com/D84322
2020-07-31 14:21:43 +00:00
Corentin Arnould 199e56325a Bug 1614009 - Removed non-spec exception throwing on CopyToChannel. r=padenot,webidl,smaug
Also removed those in CopyFromChannel and changed parameters' name to fit the spec.

Differential Revision: https://phabricator.services.mozilla.com/D84321
2020-09-01 13:37:12 +00:00
André Bargull 5c6157aab2 Bug 1660409 - Part 4: Transpile ArrayJoin. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D88565
2020-09-01 13:06:06 +00:00
Jan Varga 78228ee48f Bug 1662077 - QM: Replace ToResultInvoke with MOZ_TO_RESULT_INVOKE where possible; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D88786
2020-08-31 14:51:29 +00:00
André Bargull 508ed229f6 Bug 1662073 - Part 8: Add `getShared` accessor to RegExp object. r=iain
Add a `getShared` accessor to RegExpObject to retrieve a previously assigned
`RegExpShared` object. And then replace two calls to the fallible
`RegExpObject::getShared()` method with the new accessor. This way we can
avoid calling a fallible method whose return value is ignored.

Depends on D88795

Differential Revision: https://phabricator.services.mozilla.com/D88796
2020-09-01 12:27:29 +00:00