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

91578 Коммитов

Автор SHA1 Сообщение Дата
Ciure Andrei 2c62d81ee6 Backed out changeset 1911a0d1e751 (bug 1545345) for causing CallbackObject.cpp bustages CLOSED TREE 2020-03-27 21:47:15 +02:00
Paul Adenot 2982eebd03 Bug 1624322 - When muting an input device, don't turn it off if the output is also being used. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D68084

--HG--
extra : moz-landing-system : lando
2020-03-27 18:41:14 +00:00
Paul Adenot 89a38e5204 Bug 1624322 - Add a method to get the default device for a side in CubebDeviceEnumerator. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D68083

--HG--
extra : moz-landing-system : lando
2020-03-27 18:41:07 +00:00
Paul Adenot a01d0898a9 Bug 1624322 - Add the raw group ID to MediaDevice. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D68082

--HG--
extra : moz-landing-system : lando
2020-03-27 18:40:57 +00:00
Cosmin Sabou 79929c6462 Backed out changeset ad4847d17298 (bug 1551306) for causing build bustages. CLOSED TREE 2020-03-27 20:24:17 +02:00
Kartikaya Gupta 7d2c8af30b Bug 1622360 - Remove SLGuidAndRenderRoot and convert remaining uses to ScrollableLayerGuid. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D68400

--HG--
extra : moz-landing-system : lando
2020-03-27 17:44:21 +00:00
sonakshi 145046fde2 Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68235

--HG--
extra : moz-landing-system : lando
2020-03-27 17:57:10 +00:00
JulianWels b9a66ff272 Bug 1622028 - Log failed upgrades for HTTPS Only Mode. r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D68026

--HG--
extra : moz-landing-system : lando
2020-03-27 17:09:15 +00:00
Andrew Sutherland 40755c31a8 Bug 1545345 - Improve worker shutdown. r=baku,smaug
Differential Revision: https://phabricator.services.mozilla.com/D65132

--HG--
extra : moz-landing-system : lando
2020-03-27 17:36:20 +00:00
Emilio Cobos Álvarez 266c1d0b6c Bug 1528305 - Don't show an error page for unknown protocols for page-triggered navigations that replace a document. r=mattwoodrow
Pages apparently do this to try to open to native apps, and that on Firefox
causes an error page to be shown if the app is not installed, which is pretty
bad.

Differential Revision: https://phabricator.services.mozilla.com/D68471

--HG--
extra : moz-landing-system : lando
2020-03-27 17:20:14 +00:00
Oana Pop Rus 679f10ce5f Backed out changeset 9d3487044f9a (bug 1622028) for build bustages in nsHTTPSOnlyStreamListener.h on a CLOSED TREE 2020-03-27 17:47:07 +02:00
JulianWels 8d65d4a658 Bug 1622028 - Log failed upgrades for HTTPS Only Mode. r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D68026

--HG--
extra : moz-landing-system : lando
2020-03-27 14:35:33 +00:00
Andrea Marchesini 9ea9920b65 Bug 1503787 - Make WindowExecutionReady assertions MOZ_ASSERT only, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D68538

--HG--
extra : moz-landing-system : lando
2020-03-27 14:46:35 +00:00
Simon Giesecke 0cc5c6e63f Bug 1052940 - Make Maybe<T> only declare copy/move operations if T is copyable/movable. r=froydnj,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D68172

--HG--
extra : moz-landing-system : lando
2020-03-27 14:10:45 +00:00
Mihai Alexandru Michis abb8915aa3 Backed out 3 changesets (bug 1624322) for causing bustages in media/MediaManager.cpp
CLOSED TREE

Backed out changeset bafcf7076dc0 (bug 1624322)
Backed out changeset f6dcb0ce3a5e (bug 1624322)
Backed out changeset 1ce0a5921f1c (bug 1624322)

--HG--
extra : rebase_source : fab2836f3ff047844a0cac8b1663f097813dec17
2020-03-27 16:30:02 +02:00
Mihai Alexandru Michis c1256a18a6 Backed out changeset d91e4acdd63c (bug 1551306) for causing bustages in request::InitBitsRequest
CLOSED TREE
2020-03-27 16:12:47 +02:00
Paul Adenot 247c78b71a Bug 1624322 - When muting an input device, don't turn it off if the output is also being used. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D68084

--HG--
extra : moz-landing-system : lando
2020-03-27 14:16:34 +00:00
Paul Adenot 98e5745c85 Bug 1624322 - Add a method to get the default device for a side in CubebDeviceEnumerator. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D68083

--HG--
extra : moz-landing-system : lando
2020-03-27 14:16:29 +00:00
Paul Adenot f052193d19 Bug 1624322 - Add the raw group ID to MediaDevice. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D68082

--HG--
extra : moz-landing-system : lando
2020-03-27 14:16:27 +00:00
sonakshi b5f7fb3be7 Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68235

--HG--
extra : moz-landing-system : lando
2020-03-27 14:05:02 +00:00
Mirko Brodesser 8429b643fd Bug 1624633: part 9) Move `FindRangeData`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D68225

--HG--
extra : moz-landing-system : lando
2020-03-27 11:05:48 +00:00
Mirko Brodesser d9c76a1049 Bug 1624633: part 8) Move `GetCommonEditingHostForAllRanges`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D68224

--HG--
extra : moz-landing-system : lando
2020-03-27 11:05:43 +00:00
Mirko Brodesser fc0da7632c Bug 1624633: part 7) Move `MaybeAddRangeAndTruncateOverlaps`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D68223

--HG--
extra : moz-landing-system : lando
2020-03-27 11:26:25 +00:00
Mirko Brodesser d3d7707457 Bug 1624633: part 6) Annotate `nsRange::RegisterSelection` with `MOZ_CAN_RUN_SCRIPT`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D68222

--HG--
extra : moz-landing-system : lando
2020-03-27 11:11:02 +00:00
Mirko Brodesser 85ed1dee2a Bug 1624633: part 5) Move `HasEqualRangeBoundariesAt`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D68221

--HG--
extra : moz-landing-system : lando
2020-03-27 11:03:57 +00:00
Mirko Brodesser c49f43f86f Bug 1624633: part 4) Move `GetIndicesForInterval`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D68220

--HG--
extra : moz-landing-system : lando
2020-03-27 11:19:50 +00:00
Mirko Brodesser f3da4b161b Bug 1624633: part 3) Move `FindInsertionPoint`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D68219

--HG--
extra : moz-landing-system : lando
2020-03-27 11:25:16 +00:00
Mirko Brodesser 0cfb1530f5 Bug 1624633: part 2) Move `Selection::RemoveRangeInternal` to `StyledRanges::RemoveRangeAndUnregisterSelection`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D68218

--HG--
extra : moz-landing-system : lando
2020-03-27 11:02:37 +00:00
Mirko Brodesser 803698911f Bug 1624633: part 1) Move `Selection::mRanges` to `StyledRanges` struct. r=hsivonen
This allows methods operating on the ranges to be moved to that struct.

To see where this leads to, consider the following reviews.

Differential Revision: https://phabricator.services.mozilla.com/D68217

--HG--
extra : moz-landing-system : lando
2020-03-27 11:21:25 +00:00
Paul Adenot 28cbf5bab3 Bug 1565464 - Update test_audioWorkletGlobalScopeRegisterProcessor.html with new error messages and error type. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D67326

--HG--
extra : moz-landing-system : lando
2020-03-27 10:51:05 +00:00
Paul Adenot a8b1a92375 Bug 1565464 - Allow not having a parameterDescriptor getter in an AudioWorkletProcessor. r=karlt
https://github.com/WebAudio/web-audio-api/issues/2171

Differential Revision: https://phabricator.services.mozilla.com/D65154

--HG--
extra : moz-landing-system : lando
2020-03-27 10:50:23 +00:00
Paul Adenot 02b0f626e1 Bug 1565464 - Accept any iterable for parameterDescriptors in AudioWorkletGlobalScope.registerProcessor(). r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D65003

--HG--
extra : moz-landing-system : lando
2020-03-27 10:50:08 +00:00
Jeff Gilbert 0e2a962631 Bug 1624944 - Uniform data uploads should accept SharedArrayBuffers. r=webidl,hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D68508

--HG--
extra : moz-landing-system : lando
2020-03-27 08:37:28 +00:00
Csoregi Natalia 8526066f54 Backed out changeset 8aeb06899b10 (bug 1528305) for failures on test_location_href_unknown_protocol.html. CLOSED TREE 2020-03-27 08:07:32 +02:00
Csoregi Natalia cb7b1f507b Backed out changeset e608cbaf20d4 (bug 1545345) for assertion failures on WorkerPrivate.cpp. CLOSED TREE 2020-03-27 07:55:21 +02:00
Andrew Sutherland 2c52fdcd48 Bug 1545345 - Improve worker shutdown. r=baku,smaug
Differential Revision: https://phabricator.services.mozilla.com/D65132

--HG--
extra : moz-landing-system : lando
2020-03-13 18:22:37 +00:00
Karl Tomlinson d13eef7aff Bug 1581896 allow AudioWorklet on release-or-beta behind a pref r=smaug
AudioWorklets are now functional for most use cases, and so it's time to allow
people to experiment.

PaintWorklets are not ready.

Differential Revision: https://phabricator.services.mozilla.com/D68320

--HG--
extra : moz-landing-system : lando
2020-03-27 03:09:06 +00:00
Emilio Cobos Álvarez 453c627cea Bug 1528305 - Don't show an error page for unknown protocols for page-triggered navigations that replace a document. r=mattwoodrow
Pages apparently do this to try to open to native apps, and that on Firefox
causes an error page to be shown if the app is not installed, which is pretty
bad.

Differential Revision: https://phabricator.services.mozilla.com/D68471

--HG--
extra : moz-landing-system : lando
2020-03-27 00:06:25 +00:00
Jan Varga d371cf7402 Bug 1624880 - Fix quota/test/unit/upgrades tests when LSNG is disabled by default; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D68211

--HG--
extra : moz-landing-system : lando
2020-03-26 19:20:56 +00:00
Mike Conley c7a68782d0 Bug 1621684 - Add tests for the ProcessPriorityManager. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D67550

--HG--
extra : moz-landing-system : lando
2020-03-26 20:11:10 +00:00
Mike Conley eaccc7871f Bug 1621684 - Take an audio-playing wakelock when using WebAudio. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D67544

--HG--
extra : moz-landing-system : lando
2020-03-26 08:02:05 +00:00
David Parks b39107855d Bug 1620453: Force Windows plugin wmode to be direct, opaque or transparent r=aklotz
This code always intended to force wmode to be one of these modes (bug 1340276) but was not robust to unexpected wmode values (e.g. "default").  Unexpected values are now promoted to "direct".

Differential Revision: https://phabricator.services.mozilla.com/D66477

--HG--
extra : moz-landing-system : lando
2020-03-19 21:08:45 +00:00
alwu 739d7649db Bug 1620113 - part7 : revert the workaround in 'browser_media_control_stop_timer.js'. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D67715

--HG--
extra : moz-landing-system : lando
2020-03-26 19:07:28 +00:00
alwu c9b9fc5151 Bug 1620113 - part6 : modify test. r=chunmin
As D66857 changes the timing of dispatch notification `main-media-controller-playback-changed`, which was dispatched asynchorously after playback state change via the mechanism of `MediaEventSource`.

Now this notification would be dispatched directly after we change the main controller's playback state, so we have to modify this test to ensure that we receive `main-media-controller-playback-changed` correctly.

Differential Revision: https://phabricator.services.mozilla.com/D67069

--HG--
extra : moz-landing-system : lando
2020-03-21 01:04:40 +00:00
alwu 8aa0e2f1db Bug 1620113 - part5 : add test. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D66858

--HG--
extra : moz-landing-system : lando
2020-03-25 14:44:25 +00:00
alwu 8d9163651d Bug 1620113 - part4 : update main controller when controller changes its playback state to playing. r=chunmin
The main controller is the only controller that can receive media control keys among all other controllers registered to the service, and it should always be the last controller which is playing.

Therefore, we would maintain a list which sorts the controllers based on the order of playing controller, and the last one (last playing controller) would be the main controller.

For example, if the controller A starts first, then B starts, B should be the main controller. But if A restarts later then A should become the main controler again.

Differential Revision: https://phabricator.services.mozilla.com/D66857

--HG--
extra : moz-landing-system : lando
2020-03-25 14:42:53 +00:00
alwu 3e6d700352 Bug 1620113 - part3 : rename function names to explicitly mention that they're used for main controller. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D66856

--HG--
extra : moz-landing-system : lando
2020-03-21 01:04:27 +00:00
alwu 18fec441a6 Bug 1620113 - part2 : replace nsTArray with LinkedList. r=chunmin
When we remove a controller from the list of controllers, which is a `nsTarray`, the array needs to be reconstructed if the removed controller is not the first or last element of the array.

Eg. If we have a list of controllers, [A, B, C, ....., Z] and in some situation we would like to reoroder it to [A, C, D, ......, Z, B]. If we use nsTArray, then doing this kinds of reorder is expensive because it can't arbitrarily move the element back and forth, but the linked list can.

So we replace the `nsTArray` with `LinkedList`, then this operation would become `O(1)` which could improve the performance

Differential Revision: https://phabricator.services.mozilla.com/D66855

--HG--
extra : moz-landing-system : lando
2020-03-26 19:02:25 +00:00
Emilio Cobos Álvarez 6a92c2e81d Bug 1623837 - Don't prevent focus switching for disabled form controls. r=masayuki,NeilDeakin
Otherwise the user can select, but if you're in an iframe the iframe won't be
correctly focused.

This also matches other browsers, see:

  data:text/html,<input autofocus><input disabled value=abc>
  data:text/html,<input autofocus><button disabled>Foo</button>

And so on. This effectively undoes bug 375008. We could make this more targeted
somehow, but I don't think it's worth it.

Differential Revision: https://phabricator.services.mozilla.com/D67597

--HG--
extra : moz-landing-system : lando
2020-03-26 18:23:36 +00:00
Noemi Erli 9dc61d1cf7 Bug 1610850 -Fix lint failure a=lint-fix 2020-03-26 20:29:47 +02:00