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

722888 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara fd6c09249f Backed out 14 changesets (bug 1652884) for VideoFrameConverter related failures CLOSED TREE
Backed out changeset 28c4e8c373f0 (bug 1652884)
Backed out changeset 658ba8f39abe (bug 1652884)
Backed out changeset 8e67fe040e4a (bug 1652884)
Backed out changeset 6f5833203763 (bug 1652884)
Backed out changeset 569ff85dfc2e (bug 1652884)
Backed out changeset eaa171643447 (bug 1652884)
Backed out changeset 6b37b60b6662 (bug 1652884)
Backed out changeset 438cce7456fb (bug 1652884)
Backed out changeset e6ed13952b67 (bug 1652884)
Backed out changeset e0b1266231bf (bug 1652884)
Backed out changeset 32f4aae2b5fe (bug 1652884)
Backed out changeset 76b4abccd61b (bug 1652884)
Backed out changeset 9010365ffa66 (bug 1652884)
Backed out changeset 763f39eb5c13 (bug 1652884)
2020-08-19 22:21:31 +03:00
Scott 7ae2069352 Bug 1660030 - Add pref to enable locale only based decision for newtab stories. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D87626
2020-08-19 18:44:16 +00:00
Cosmin Sabou 05ab468b46 Backed out changeset 388c153da388 (bug 1656296) for causing default process leaks. CLOSED TREE 2020-08-19 21:58:03 +03:00
Emilio Cobos Álvarez 8326e2b745 Bug 1660048 - Simplify some of the "is date or time" checks into a CreatesDateTimeWidget() member. r=smaug
Depends on D87623

Differential Revision: https://phabricator.services.mozilla.com/D87624
2020-08-19 18:19:08 +00:00
Emilio Cobos Álvarez 325d955f89 Bug 1660048 - Remove dom.forms.color and dom.forms.datetime. r=smaug,marionette-reviewers,whimboo
They're enabled in all configurations and there's no plan to change
this. With it, dom.experimental_forms is also useless, so we can remove
it too.

Differential Revision: https://phabricator.services.mozilla.com/D87623
2020-08-19 18:24:06 +00:00
lougeniac64 16418eddeb Bug 1657463 - Allow users to delete their data when signing out r=markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D86065
2020-08-19 04:55:51 +00:00
Sean Feng d56cd8ac1d Bug 1659849 - Enable <dialog> to fix some automation test failures r=emilio
Some <dialog> related tests are failing on Beta because this
element is not enabled, enabling them to make the test pass.

Differential Revision: https://phabricator.services.mozilla.com/D87609
2020-08-19 16:46:21 +00:00
Steve Fink 69083483a5 Bug 1607970 - Switch from jsid to PropertyKey as the base type r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D59958
2020-08-19 18:05:22 +00:00
Steve Fink 7b302bcff7 Bug 1607970 - Fix missing debuginfo problems in optimized gcc compile of gdb-tests r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D59956
2020-08-19 18:05:20 +00:00
Steve Fink 19dee18170 Bug 1607970 - [gdb tests] compile without optimization with clang to fix test failures due to inadequate debuginfo r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D59948
2020-08-19 18:05:17 +00:00
Sebastian Streich b578e23a52 Bug 1656296 - Pass Blocked Downloads to the DownloadsUI r=ckerschb,Gijs
***

***
Added Better Testing

Differential Revision: https://phabricator.services.mozilla.com/D85439
2020-08-19 17:58:57 +00:00
Hubert Boma Manilla 75bcf1cab2 Bug 1658146 - Stop request blocking for no valid reason r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D87569
2020-08-19 14:13:48 +00:00
Jan-Ivar Bruaroey 66e25e78e0 Bug 1652884 - Be ready to mute cameras while mobile is in the background r=agi,pehrsons
(more work needed).

Differential Revision: https://phabricator.services.mozilla.com/D87539
2020-08-19 17:53:55 +00:00
Andreas Pehrson 6c5ce9547e Bug 1652884 - Make disabled tracks, that haven't seen a frame, black. r=jib
This affects HTMLMediaElement and MediaRecorder, which are the only implementors
of NotifyEnabledStateChanged.

This use case is going to become more common as users will be able to globally
mute cameras before requesting one. While muted, the camera is off and no frames
will flow. The old logic for showing disabled video tracks as black relied on a
frame appearing that could be turned black.

With this patch in this case we will create a frame if none has been seen yet,
and it will have a hardcoded size.

Differential Revision: https://phabricator.services.mozilla.com/D87128
2020-08-19 12:48:09 +00:00
Andreas Pehrson 751b31f054 Bug 1652884 - Add state for camera muting to MediaManager. r=jib
This allows newly created window listeners, in MediaManager instances where the
cameras have already been muted, to get the right state.

Differential Revision: https://phabricator.services.mozilla.com/D87127
2020-08-19 02:40:29 +00:00
Andreas Pehrson 262d04f090 Bug 1652884 - Make MediaPipelineTransmit listen for track enabled state changes from the graph. r=jib
Previously it listened for them on main thread, as notified by the
MediaStreamTrack it was transmitting directly. With this patch it
listens for them through the TrackListener in the graph, and will
get notified when any track prior to the MediaStreamTrack's main
track in the graph changes enabled state as well.

Depends on D86926.

Differential Revision: https://phabricator.services.mozilla.com/D86931
2020-08-19 02:40:10 +00:00
Andreas Pehrson a35c31b985 Bug 1652884 - Keep a disabled video track black until new frames arrive after enabling. r=jib
Before this patch, re-enabling a camera track would first render an old frame
(from when it got disabled), then when the camera has started anew, render the
new frames.

With the patch, the black frame from disabling remains until the camera has
started and is sending new frames.

Differential Revision: https://phabricator.services.mozilla.com/D86926
2020-08-19 11:41:58 +00:00
Andreas Pehrson 153f7d04e4 Bug 1652884 - Maintain direct listener disabled state also when adding/removing to source tracks.
r=karlt

This follows on the same logic ForwardedInputTrack is using.

Note that this patch was reviewed out of band at
https://phabricator.services.mozilla.com/D86925#inline-497307

Depends on D86925

Differential Revision: https://phabricator.services.mozilla.com/D87581
2020-08-19 11:42:13 +00:00
Andreas Pehrson 0764afe22d Bug 1652884 - Propagate disabled mode to consumer tracks in the graph. r=karlt
This enables a use case where MediaManager disables a MediaStreamTrack's input
track, and all listeners of NotifyEnabledStateChanged on the MediaStreamTrack's
main track will get notified.

There can be 1 input track for N MediaStreamTracks, so this simplifies how many
tracks will need to be tracked by MediaManager and explicitly disabled in the
graph.

Depends on D86072

Differential Revision: https://phabricator.services.mozilla.com/D86925
2020-08-19 12:11:38 +00:00
Jan-Ivar Bruaroey 13898b8081 Bug 1652884 - Mute new cam tracks on start when window has cameras UA muted, to avoid JS circumventing mute. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D86072
2020-08-19 14:18:54 +00:00
Jan-Ivar Bruaroey 7ea5227cb0 Bug 1652884 - Produce black on UA camera mute. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D86071
2020-08-19 14:03:35 +00:00
Jan-Ivar Bruaroey f5e002a857 Bug 1652884 - Rename MediaTrack::SetEnabled to SetDisabledTrackMode. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D86070
2020-08-19 14:03:32 +00:00
Jan-Ivar Bruaroey f3fd0b5d66 Bug 1652884 - Test combination of disabling track & muting camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84268
2020-08-19 14:03:26 +00:00
Jan-Ivar Bruaroey 67fdc2c0a2 Bug 1652884 - Test that mute/unmute track events fire from UA muting camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84243
2020-08-19 14:03:17 +00:00
Jan-Ivar Bruaroey a27d031cb6 Bug 1652884 - Test browser muting/unmuting of camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84223
2020-08-19 14:28:34 +00:00
Jan-Ivar Bruaroey 31c3ad60ff Bug 1652884 - Add observer messages to mute/unmute all camera tracks. r=pehrsons
Add UA (user agent) muting, a spec-supported feature that somewhat mirrors
track enabling/disabling, except only the browser controls it. The effect
on track sinks is additive: must be unmuted and enabled for there to be
output.

Fire mute/unmute events on JS, and observably set track.muted independent
of track.enabled (reusing existing infrastructure already in use by
RTCPeerConnection tracks).

Low-level: add mDeviceMuted and SetMutedFor() modeled after mDeviceEnabled
and SetEnabledFor() as parallel device state for both camera and microphone for
symmetry and maintenance.

High-level: Only expose messages to mute/unmute camera at the moment, since
that is what is immediately required for Android in bug 1564451.

Differential Revision: https://phabricator.services.mozilla.com/D84222
2020-08-19 14:03:09 +00:00
Simon Giesecke cfd7d0ea9c Bug 1659923 - Avoid unnecessary copies around Base64Encode. r=xpcom-reviewers,necko-reviewers,froydnj,valentin
This also adds some more variants of Base64Encode and Base64EncodeAppend.

Differential Revision: https://phabricator.services.mozilla.com/D87559
2020-08-19 17:45:16 +00:00
Severin 85f182245d Bug 1659860 - pref on pmgr doorhanger updates in non-nightly;r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D87519
2020-08-19 17:34:04 +00:00
Sam Foster 39bbdaf2ce Bug 1653607 - Add margins, color mode controls to the print UI. r=emalysz,fluent-reviewers,mstriemer,flod
* New PrintSettingSelect element for the margin and color-mode picker
* The destination-picker and color-mode picker now extend the PrintSettingSelect
* Drive-by change to have numCopies info use the PrintSettingNumber for consistency & code reuse
* Margin presets are retrieved from a defaultSettings object which is the settings for the current printer without the user pref values

Differential Revision: https://phabricator.services.mozilla.com/D86849
2020-08-19 17:23:18 +00:00
Cosmin Sabou 20b4e6503e Backed out changeset 621e0372d5a8 (bug 1659219) for mochitest failures on test_autofill_https_downgrade.html. CLOSED TREE 2020-08-19 20:40:50 +03:00
Henrik Skupin de474a283e Bug 1654628 - [marionette] Port WebDriver:SwitchToFrame and WebDriver:SwitchToParentFrame to JSWindowActor. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D84708
2020-08-19 17:24:24 +00:00
Henrik Skupin 7dad18b103 Bug 1654628 - [marionette] Ease handling of browsing contexts and current window. r=marionette-reviewers,maja_zf
With this patch a couple of changes are made to generally make it easier
to handle browsing contexts, and the current window. Basically this includes:

Since bug 1652932 landed the driver class keeps a reference
to the currently selected browsing context in content. As such
there is no need anymore to retrieve it from the framescript
each and every time. As side-effect this also removes the
async requirement and makes code better to read.

Similar handling for the browsing context exists for chrome scope,
which is also cached now, and no longer has to be retrieved via
the current window. With specifically this change "getCurrentURL"
for chrome scope correctly reports the location of the top-browsing
context, and not from the current one.

In the early days of Marionette a feature has been added to
work with embedded xul:browser elements. Those elemenets outside
of the tab browser have been tracked with "curFrame". Given that
until now there wasn't a single case to handle that, and the
code path is basically untested, it will be removed for now.

Differential Revision: https://phabricator.services.mozilla.com/D84707
2020-08-19 13:43:52 +00:00
Mark Striemer 5c558250f9 Bug 1660013 - Include .pdf extension when saving as PDF on macOS and linux r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D87602
2020-08-19 16:33:29 +00:00
Gijs Kruitbosch 3bf91e4532 Bug 1440677 - accept spaces and tabs in Content-Disposition header filename parameters because all the other browsers do, r=annevk,valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D87130
2020-08-19 16:10:20 +00:00
Tom Tung f3e1fbf443 Bug 1609625 - Align the name of key for TimeStamp errors; r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D87610
2020-08-19 16:33:09 +00:00
Tim Huang 587066cac4 Bug 1659762 - Extend telemetry probe 'tracking_protection_shield' to release channel. r=chutten,xeonchen
Differential Revision: https://phabricator.services.mozilla.com/D87465
2020-08-19 07:56:53 +00:00
Agi Sferro 52adf9f9c4 Bug 1659553 - Define charset in all mobile html tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D87340
2020-08-19 16:20:23 +00:00
Michael Cooper ff83a641c9 Bug 1659842 - Make normandy.liveTelemetry accessible from consolidated targeting r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D87521
2020-08-19 10:31:51 +00:00
Tom Tung e116198cc4 Bug 1609625 - Deal with recorded time duration if it across sleep/wake; r=dom-workers-and-storage-reviewers,sg,janv
Depends on D83305

Differential Revision: https://phabricator.services.mozilla.com/D83524
2020-08-18 07:31:24 +00:00
Tom Tung 93f8af72df Bug 1609625 - Remove the probe for tracking time duration on initializing repositories and add a probe for tracking time duration on loading quota; r=dom-workers-and-storage-reviewers,sg,janv
Depends on D83304

Differential Revision: https://phabricator.services.mozilla.com/D83305
2020-08-18 07:53:15 +00:00
Jan Varga 246bfa7db7 Bug 1659962 - Add additional MOZ_ARG_* macros; r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D87579
2020-08-19 14:31:40 +00:00
Jan Varga 8773058b99 Bug 1659909 - ToResultInvoke should also work with RefPtr/nsCOMPtr on win32; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D87556
2020-08-19 14:34:06 +00:00
Mark Striemer d7e93fa211 Bug 1659463 - Include spin button for print zoom setting r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D87344
2020-08-19 14:18:42 +00:00
Jamie Nicol 456abf2772 Bug 1647797 - Add geckoview-junit tests for onPaintStatusReset. r=agi,geckoview-reviewers
Add test paintStatusReset() to ContentDelegateTest, which asserts that
onPaintStatusReset() is called after GeckoSession.setActive(false).

Add test capturePixelsSessionDeactivatedActivated() to ScreenshotTest, which
asserts that capturePixels() is successful if called when the session is
deactivated then reactivated, after waiting for the onPaintStatusReset() and
onFirstContentfulPaint() callbacks.

Differential Revision: https://phabricator.services.mozilla.com/D87463
2020-08-19 15:25:26 +00:00
longsonr e3b924526e Bug 1659783 - Fix use pointing to image elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D87571
2020-08-19 15:25:39 +00:00
Julian Descottes b34da59978 Bug 1642295 - Stop and start resource listening when switching targets r=ochameau
Depends on D86964

Differential Revision: https://phabricator.services.mozilla.com/D86965
2020-08-19 15:27:22 +00:00
Julian Descottes 8aecb1e6df Bug 1642295 - Enable server side resource watching by default r=ochameau
Depends on D86963

Just for reference for now, since this is incompatible with target switching.

Differential Revision: https://phabricator.services.mozilla.com/D86964
2020-08-19 14:08:40 +00:00
Julian Descottes 09373e81c9 Bug 1642295 - Do not check property order in WebConsole stub tests r=nchevobbe
Depends on D86962

Differential Revision: https://phabricator.services.mozilla.com/D86963
2020-08-19 14:08:39 +00:00
Julian Descottes e9bb161639 Bug 1642295 - Fold clearCachedMessage from ConsoleServiceListener into WebConsoleActor r=nchevobbe
Depends on D86961

Differential Revision: https://phabricator.services.mozilla.com/D86962
2020-08-19 14:08:37 +00:00
Julian Descottes 3507a935c3 Bug 1642295 - Fix shouldHandleMessage signature in platform-message DevTools resource r=nchevobbe
Depends on D86960

Differential Revision: https://phabricator.services.mozilla.com/D86961
2020-08-19 14:08:36 +00:00