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

707273 Коммитов

Автор SHA1 Сообщение Дата
Karl Tomlinson 989d1fc6db Bug 1625372 permit ForceShutDown() on a realtime graph r=padenot
Depends on D74812

Differential Revision: https://phabricator.services.mozilla.com/D74813
2020-05-12 08:43:11 +00:00
Karl Tomlinson 3e139c32e0 Bug 1625372 remove unnecessary DestroyNonRealtimeInstance() call from AudioDestinationNode::DestroyMediaTrack() r=padenot
DestroyMediaTrack() is called only on Unlink or destruction of the AudioDestinationNode.
If there are no references to the AudioDestinationNode, then the graph's last stream
will be destroyed and the graph will shut down itself.

Differential Revision: https://phabricator.services.mozilla.com/D74812
2020-05-12 08:42:38 +00:00
Karl Tomlinson 53bf89e445 Bug 1625372 request interrupt of AudioWorklet JS on force shutdown r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D71915
2020-05-12 07:10:51 +00:00
James Teh 535261ca3d Bug 1637474 part 2: Disconnect accSelection IEnumVARIANT and IAccessibleRelation objects when their associated Accessible is shut down. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D75000
2020-05-13 05:55:02 +00:00
James Teh ca670d92d5 Bug 1637474 part 1: Provide a way to associate COM objects with an AccessibleWrap so they will be disconnected from remote clients when the Accessible shuts down. r=MarcoZ
To improve performance for cross-process COM, we disable COM garbage collection in content processes for calls from our parent process.
However, this means we don't receive Release calls from in-process a11y clients.
For an Accessible, we get around this by explicitly disconnecting remote clients when the Accessible shuts down.
This doesn't cover COM objects which aren't interfaces of an Accessible; i.e. where the object has a different IUnknown to the Accessible.
This patch adds AccessibleWrap::AssociateCOMObjectForDisconnection to allow these objects to be tracked.
Tracked objects are then disconnected when the Accessible shuts down.

Differential Revision: https://phabricator.services.mozilla.com/D74999
2020-05-13 05:52:42 +00:00
Csoregi Natalia 9f074fab9b Backed out changeset 4309266ff43d (bug 1629291) for frequent assertion failures on ErrorResult.h. CLOSED TREE 2020-05-13 10:23:18 +03:00
Csoregi Natalia e1467af8c0 Backed out 2 changesets (bug 1584935) for accessibility failures on e.g. accessible/tests/mochitest/tree/test_tabbrowser.xhtml CLOSED TREE
Backed out changeset 91e7137acba3 (bug 1584935)
Backed out changeset 28e2781f3026 (bug 1584935)
2020-05-13 09:41:36 +03:00
Csoregi Natalia 8ee8d24231 Backed out changeset fbceeeb4aa7d (bug 1634923) for assertion failures on nsRFPService.cpp. CLOSED TREE 2020-05-13 08:27:11 +03:00
Masayuki Nakano b75955132b Bug 1627175 - part 16: Move `WSRunScanner::GetNextWSNodeInner()` to `HTMLEditUtils` r=m_kato
It looks for next leaf content or next block element for finding "end reason
node" of `WSRunScanner`.  Especially for clearing the latter case, this
patch renames it to `GetNextLeafContentOrNextBlockElement()`.

Differential Revision: https://phabricator.services.mozilla.com/D74804
2020-05-12 15:43:06 +00:00
Jared Wein 6ed4e65f8b Bug 1636820 - Don't request dialog strings for OS authentication on Linux since the feature isn't supported there yet. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D74698
2020-05-13 05:11:36 +00:00
Lina Cambridge d2af2ad1c8 Bug 1636365 - Add more docs for `BridgedEngine`, and remove `BridgedTracker`. r=markh,rfkelly
Now that we have a `Tracker` base class without persistence, we can
have bridged engines subclass it directly.

Differential Revision: https://phabricator.services.mozilla.com/D74375
2020-05-13 03:56:55 +00:00
Lina Cambridge 6245c3b363 Bug 1636365 - Split out persistence from `Tracker` into `LegacyTracker`. r=markh,rfkelly
The tracker base class currently does two things: bump the score in
response to observer notifications, and store a list of changed IDs.
The bookmarks, form autofill, and now bridged trackers need to hack
around this to opt out of persistence, since they handle change
tracking in the storage layer.

This commit keeps the score logic in `Tracker`, but moves all the
persistence code into an intermediate `LegacyTracker` class, and
changes all engines that need persistence to inherit from it.

`ignoreAll` is more interesting. We want new-style stores to emit
observer notifications with change sources, so that the tracker knows
to ignore changes made by Sync. Ignoring all observer notifications
during a sync is a blunter version of this. But, not every new store
supports change sources, so we reimplement `ignoreAll` manually for
ones that don't.

Differential Revision: https://phabricator.services.mozilla.com/D74374
2020-05-13 03:56:53 +00:00
Chris Peterson 25823f1866 Bug 1634923 - Remove ESR version spoofing's special case for Firefox versions < 78. r=ethan
Differential Revision: https://phabricator.services.mozilla.com/D73559
2020-05-12 22:24:40 +00:00
Botond Ballo 7edf1f57a9 Bug 1637113 - Apply the offset from the canvas frame to the scroll frame before the layout-to-visual transform. r=tnikkel
This offset is essentially the layout scroll offset, so it's in layout coordinates.

Differential Revision: https://phabricator.services.mozilla.com/D74997
2020-05-13 02:18:36 +00:00
Andreea Pavel c62226beed Merge mozilla-central to autoland on a CLOSED TREE 2020-05-13 06:46:05 +03:00
Andreea Pavel 6b0d25d0b2 Merge autoland to mozilla-central a=merge 2020-05-13 06:41:56 +03:00
Jean-Yves Avenard c71e92e9b2 Bug 1592488 - P11.1 Add missing header. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D75003
2020-05-13 03:33:55 +00:00
Razvan Maries e218f74304 Backed out 2 changesets (bug 1633101) for perma failures at test_getUserMedia_basicAudio_loopback.html. CLOSED TREE
Backed out changeset b85aebbd6fcc (bug 1633101)
Backed out changeset fd6537bc153f (bug 1633101)
2020-05-13 03:47:10 +03:00
sotaro 053b47c11a Bug 1637129 - Remove obsoleted comment from GPUVideoTextureHost::EnsureWrappedTextureHost() r=jrmuizel
Two VideoBridgeParents (one within the GPU process, one from RDD) are already supported. Then the comment is obsoleted.

Differential Revision: https://phabricator.services.mozilla.com/D74792
2020-05-13 00:12:36 +00:00
Logan Smyth c218b3011f Bug 1637288 - Allow the development build of react to use innerHTML. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D74967
2020-05-12 22:19:53 +00:00
Andrew Halberstadt 7a9b6ba99b Bug 1637305 - [mozversioncontrol] Don't use bytes in HGRepository.working_directory_clean, r=rstewart a=try-push-fix
Differential Revision: https://phabricator.services.mozilla.com/D74880
2020-05-12 16:49:24 +00:00
Sebastian Hengst 211cd02676 Backed out 3 changesets (bug 1636495) for crashes when e.g. a url gets pasted into Slack (bug 1637243). a=backout
Backed out changeset 4cbaef432cb8 (bug 1636495)
Backed out changeset 87f9a3035dd8 (bug 1636495)
Backed out changeset cb0d2a799a63 (bug 1636495)
2020-05-12 16:01:28 +02:00
Sebastian Hengst ff55bf0ffc Backed out 12 changesets (bug 1634135) for causing crashes e.g. when urls get pasted in Slack (bug 1637243). a=backout
Backed out changeset ee1018a8611a (bug 1634135)
Backed out changeset 0081b4c73633 (bug 1634135)
Backed out changeset 4eda5acc8e1f (bug 1634135)
Backed out changeset d8f770d123f2 (bug 1634135)
Backed out changeset 3f680457842f (bug 1634135)
Backed out changeset f3b9c956fa85 (bug 1634135)
Backed out changeset b3b82e1cda7f (bug 1634135)
Backed out changeset 9dddfd577a3d (bug 1634135)
Backed out changeset ba01ceb63cf3 (bug 1634135)
Backed out changeset f53110858cb9 (bug 1634135)
Backed out changeset 49b9d6a8a3a5 (bug 1634135)
Backed out changeset a73e5ff68480 (bug 1634135)
2020-05-12 16:00:06 +02:00
Jean-Yves Avenard e574b42ad5 Bug 1592488 - P13. Add TailDispatchingTarget class. r=bholley
This wraps the current thread such that a call to Dispatch will be done as direct task dispatch instead so that the task will be run in the current event loop.
This allows for have similar (but not identical to) the microtask semantics of JS promises

Differential Revision: https://phabricator.services.mozilla.com/D69995
2020-05-12 10:45:23 +00:00
Jean-Yves Avenard 4e734f2a51 Bug 1592488 - P12. Run MozPromise's IPDL callbacks via direct tasks when the promise is resolved. r=nika
Fix intermittent issues due to races.

We now run the MozPromise generated by the IPDL bindings to run their callbacks via a direct task dispatch.
This avoids a full trip to the back of the event queue for each additional asynchronous step when using MozPromise.
A consequence to this change is that each IPDL actor's thread must have an AbstractThread allocated if IPDL MozPromises are used.

It prevents unexpected racy behaviours when combining MozPromise with the other Resolve/Reject IPDL async declaration which was have lead to processing the events out of order.

Differential Revision: https://phabricator.services.mozilla.com/D71593
2020-05-12 10:45:20 +00:00
Jean-Yves Avenard 4738ae3ddd Bug 1592488 - P11. Ensure an AbstractThread exists for each WorkerThread. r=baku
As with P9; in order to be able to use MozPromise and direct task dispatching we need an AbstractThread to exist.

Differential Revision: https://phabricator.services.mozilla.com/D74675
2020-05-13 02:00:57 +00:00
Jean-Yves Avenard dde81db3d7 Bug 1592488 - P9. Make a DOMCacheThread an AbstractThread. r=baku
This is a step towards bug 1119864. However, at this stage we only need the cache thread to support direct task dispatch so that we can have IPDL MozPromise acting in a similar fashion to JS promise.

Differential Revision: https://phabricator.services.mozilla.com/D74637
2020-05-13 00:12:19 +00:00
Jean-Yves Avenard bbe6a0bfb5 Bug 1592488 - P8. Ensure AbstractThread exists with STS thread. r=valentin,necko-reviewers
This is necessary to ensure we can use IPC MozPromise with this target thread that requires direct tasks dispatch.

Differential Revision: https://phabricator.services.mozilla.com/D74595
2020-05-12 10:43:35 +00:00
Jean-Yves Avenard 706444a711 Bug 1592488 - P7. Ensure an AbstractThread exists with RemoteDecoder manager thread. r=mattwoodrow
This is necessary to ensure we can use IPC MozPromise that requires direct tasks dispatch.

Differential Revision: https://phabricator.services.mozilla.com/D74594
2020-05-12 10:43:27 +00:00
Jean-Yves Avenard da1020f3cf Bug 1592488 - P6. Ensure an AbstractThread exists with RemoteWorkerService thread. r=nika
This is necessary to ensure we can use IPC MozPromise that requires direct tasks dispatch.

Differential Revision: https://phabricator.services.mozilla.com/D74593
2020-05-12 10:43:19 +00:00
Jean-Yves Avenard 2a740519c6 Bug 1592488 - P5. Ensure an AbstractThread exists with BackgroundThread. r=nika
This is necessary to ensure we can use IPC MozPromise that requires direct tasks dispatch.

Differential Revision: https://phabricator.services.mozilla.com/D74592
2020-05-12 10:43:07 +00:00
Jean-Yves Avenard 020f963e30 Bug 1592488 - P4. Ensure an AbstractThread exists for the Compositor Thread. r=mattwoodrow
This is required for MozPromise's direct task dispatch to work.
It only needs to exist in the nsIThread.

Differential Revision: https://phabricator.services.mozilla.com/D74165
2020-05-12 10:42:59 +00:00
Jean-Yves Avenard ecf59bcb19 Bug 1592488 - P3. Update AbstractThread comment to reflect current mode of operation. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D74591
2020-05-12 10:42:52 +00:00
Jean-Yves Avenard ab7618f0d9 Bug 1592488 - P2. Add MozPromise::Private::UseDirectTaskDispatch. r=bholley
If set, the callback will be dispatched via a direct task.
Direct tasks are run via the current thread's tail dispatcher.
This mechanism is only available if both the caller and the target are on the same thread and an AbstractThread is available

Differential Revision: https://phabricator.services.mozilla.com/D71592
2020-05-12 10:42:44 +00:00
Jean-Yves Avenard 68431ed26f Bug 1592488 - P1. Add MozPromise::Private::UseSynchronousTaskDispatch. r=bholley
If set, the callback will be run synchronously when the promise is resolved or rejected.

Differential Revision: https://phabricator.services.mozilla.com/D71591
2020-05-12 10:53:48 +00:00
Jared Wein 2fe007a4ac Bug 1634538 - Add BLEtokenCredentialProvider.dll to the DLL blocklist for causing crashes while opening the Windows Hello authentication prompt. r=tkikuchi
Differential Revision: https://phabricator.services.mozilla.com/D73342
2020-05-12 19:00:19 +00:00
Lars T Hansen 809fb1d527 Bug 1635091 - Renumber the SIMD opcodes. r=rhunt
Renumbers the SIMD opcodes in accordance with the latest proposal,
dropping the legacy shuffle opcode.  Fixes a few binary tests.

Differential Revision: https://phabricator.services.mozilla.com/D74216
2020-05-13 02:14:33 +00:00
Ryan Hunt 52cb54f7c7 Bug 1635534 - Update reference-types test import. r=lth
There are two bulk-memory-operation tests that were marked as failing as that
spec hasn't been updated for the reference-types changes yet. I will re-enable
them as soon as bulk-memory-operations is updated, we should still have test
coverage in reference-types for the time being.

Differential Revision: https://phabricator.services.mozilla.com/D74695
2020-05-13 02:14:33 +00:00
Ryan Hunt 0a7b098471 Bug 1635534 - Update wat to 1.0.17. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D74694
2020-05-13 01:50:49 +00:00
Ryan Hunt 66f70858cd Bug 1635534 - Update jit-tests. r=lth
This commit updates the jit-tests for the change to ref.null/is_null, removal
of nullref, and removal of `funcref <: anyref`.

Most changes are syntactic to include the type on `ref.null/is_null`. There are
several tests of subtyping that had to be inverted to test that `funcref </: anyref`.

Differential Revision: https://phabricator.services.mozilla.com/D73966
2020-05-13 01:49:50 +00:00
Ryan Hunt e220dc9300 Bug 1635534 - Rename anyref to externref in JS-API. r=lth
This commit renames all user-exposed references of anyref to externref. The
codebase continues to use 'anyref' until there is suitable chance to make the
switch over.

Differential Revision: https://phabricator.services.mozilla.com/D73965
2020-05-13 01:47:59 +00:00
Ryan Hunt 1bcd9d3325 Bug 1635534 - Improve error message for type mismatches. r=lth
This commit changes the error message for a type mismatch to include the type
index, if there is one.

Differential Revision: https://phabricator.services.mozilla.com/D73963
2020-05-13 01:47:32 +00:00
Ryan Hunt c234576d7e Bug 1635534 - Remove subtype relationship from funcref/anyref. r=lth
This commit changes the subtyping algorithm so that:
```
T <: T
optref T <: anyref
optref T <: optref U (if U prefix T)
```

Notably, we're not allowing `funcref <: anyref` conditionally on GC types being
enabled as that complicates testing quite a bit. V8 is also not intending to
have `funcref <: anyref` in their MVA so this would align us with them.

Differential Revision: https://phabricator.services.mozilla.com/D73961
2020-05-13 01:47:09 +00:00
Ryan Hunt aff95eabcd Bug 1635534 - Use reftype immediate on ref.null/ref.is_null. r=lth
The ref.null and ref.is_null instructions now take a reftype as a parameter.
This is encoded immediately after the instruction in the usual way for value
types. The only real change is to validation here.

Differential Revision: https://phabricator.services.mozilla.com/D73959
2020-05-13 02:15:12 +00:00
Ryan Hunt 965a00aa6c Bug 1635534 - Remove the nullref type. r=lth
This commit does not stand entirely alone, the nullref type is still left
dangling in the ref.null validation and in the subtyping code. The next
two commits will fix that.

Differential Revision: https://phabricator.services.mozilla.com/D73957
2020-05-13 02:15:04 +00:00
longsonr 8e8e982151 Bug 935056 - Don't apply minimum font sizes to SVG text. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D74581
2020-05-13 02:13:03 +00:00
Jeff Walden e06a83198f Bug 1634738.
Differential Revision: https://phabricator.services.mozilla.com/D74984
2020-05-12 22:35:25 +00:00
Geoff Lankow 0688ffdef2 Bug 1618535 - Add missing `#include "nsIDocShell.h"` to unbreak the Thunderbird build r=baku
Differential Revision: https://phabricator.services.mozilla.com/D74753
2020-05-12 07:11:11 +00:00
Yura Zenevich 2d0b0bc893 Bug 1636490 - rely on garbage collection rather than disabling via UI when testing accessibility panel. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D74411
2020-05-11 17:45:54 +00:00
Akshitha 48a5a640b4 Bug 1550836 - update the Reader Mode design for photon r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33792
2020-05-12 23:18:12 +00:00