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

722986 Коммитов

Автор SHA1 Сообщение Дата
Ted Campbell 1585781cef Bug 1659107 - Factor out XDRSourceExtent method. r=arai
This will be reused by the Stencil XDR code later.

Differential Revision: https://phabricator.services.mozilla.com/D87071
2020-08-19 22:26:46 +00:00
Ted Campbell 3790ec21f7 Bug 1659107 - Move js::SourceExtent to SharedStencil.h. r=arai
This data structure is the same between ScriptStencil and BaseScript forms so
it belongs in SharedStencil.h. Avoid pulling in CompileOptions.h by passing
lineno/column explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D87070
2020-08-19 22:26:42 +00:00
Michael Kaply 67918a825e Bug 1293458 - Add the ability to fetch bookmarks by parent GUID. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D86585
2020-08-19 21:52:32 +00:00
Emma Malysz 61e739f4eb Bug 1653389, show error if page range input is invalid r=fluent-reviewers,sfoster,flod
Matches scale naming format.

Differential Revision: https://phabricator.services.mozilla.com/D87396
2020-08-19 22:17:03 +00:00
Emma Malysz d5e112fc03 Bug 1653389, validate page range setting r=sfoster,mstriemer,fluent-reviewers,flod
Creates two input elements for the start and end range.

Differential Revision: https://phabricator.services.mozilla.com/D85349
2020-08-19 22:17:00 +00:00
Chun-Min Chang bb6528a673 Bug 1658982 - P2: mach vendor rust r=cubeb-reviewers,kinetik
Depends on D87618

Differential Revision: https://phabricator.services.mozilla.com/D87619
2020-08-19 21:22:23 +00:00
Chun-Min Chang 7d7fad9888 Bug 1658982 - P1: Update cubeb-coreaudio to 91a7bb5 r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D87618
2020-08-19 21:22:20 +00:00
James Teh 9a38047a36 Bug 1659641: Remove redundancy from the label for the video controls volume slider. r=fluent-reviewers,Gijs
The fact that this control is a slider is communicated through its role.
Having the word "slider" in the label is thus redundant and results in unnecessary verbosity for screen reader users.

Differential Revision: https://phabricator.services.mozilla.com/D87401
2020-08-19 21:57:06 +00:00
James Teh 5038ab2404 Bug 1496851 part 3: Don't expose the buffering bar as a progress bar for a11y. r=MarcoZ,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87220
2020-08-19 21:56:45 +00:00
James Teh eb7b38c282 Bug 1496851 part 2: Improve a11y of the position scrubber in the video controls. r=MarcoZ,fluent-reviewers,Gijs
1. Label it.

2. Expose the position and duration as its value text.
    The raw numeric value exposed previously wasn't meaningful to users.

3. Hide the progressBar for a11y.
    While the scrubber and progressBar are visually combined, they are exposed as entirely separate controls for a11y.
    As well as duplicating information, progress bars are automatically reported by screen readers even if they aren't focused, which intrudes on the audio being played.

4. Remove tabindex="-1" on the progressBar.
    A progress element isn't focusable by default.
    tabindex="-1" makes it programmatically focusable (but not tabbable).
    This isn't interactive, so there's no reason for this to be programmatically focusable.
    Moreover, this is now aria-hidden and aria-hidden elements should never be focusable.

Differential Revision: https://phabricator.services.mozilla.com/D87400
2020-08-19 21:56:32 +00:00
James Teh 65f7ebfae4 Bug 1496851 part 1: Enable videocontrols to use Fluent. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87399
2020-08-19 21:56:17 +00:00
James Teh 3f51028817 Bug 1659625: Expose DOMLocalization interface to UA widgets. r=zbraniecki,smaug
This is needed in order for UA widgets to use Fluent.

Differential Revision: https://phabricator.services.mozilla.com/D87389
2020-08-18 11:29:08 +00:00
Kirk Steuber b641fbf577 Bug 1658711 - Ensure that the PostUpdate task is called reliably r=mhowell
The PostUpdate task must always be called as the unelevated user, even if we didn't use the service, in order to ensure that we register the WDBA. Additionally, the PostUpdate task should always be run synchronously so that the elevated and unelevated PostUpdate tasks are guaranteed to run in order. This is important since the elevated PostUpdate unregisters the task and the unelevated PostUpdate re-registers it.

Differential Revision: https://phabricator.services.mozilla.com/D87509
2020-08-18 22:40:28 +00:00
Bogdan Tara 30eb420e4a Backed out 14 changesets (bug 1652884) for test_peerConnection_trackDisabling.html failures CLOSED TREE
Backed out changeset f83951453e94 (bug 1652884)
Backed out changeset fc697986d538 (bug 1652884)
Backed out changeset 20a10128b5e1 (bug 1652884)
Backed out changeset c99c32323c76 (bug 1652884)
Backed out changeset 991e8975f03d (bug 1652884)
Backed out changeset 9e9511e32cdd (bug 1652884)
Backed out changeset 605c1ac3081a (bug 1652884)
Backed out changeset dd6edf636659 (bug 1652884)
Backed out changeset 74a2f5a9eea2 (bug 1652884)
Backed out changeset b9f419aed12d (bug 1652884)
Backed out changeset 84e82e25929f (bug 1652884)
Backed out changeset 876dbad27af5 (bug 1652884)
Backed out changeset 8f60e3af2a19 (bug 1652884)
Backed out changeset de7537bda499 (bug 1652884)
2020-08-20 01:13:29 +03:00
James Willcox 1ea4dc253d Bug 1633322 - Consider content handling for `onTouchEventForResult` r=geckoview-reviewers,botond,agi,esawin
Differential Revision: https://phabricator.services.mozilla.com/D86384
2020-08-19 21:31:46 +00:00
Botond Ballo 176a6fb1f9 Bug 1633322 - Add an input block callback facility to allow senders of input events to receive a delayed notification of whether the event was processed by the root APZC. r=kats
This facility is only implemented for in-process senders of
input events (i.e. not for GPU process setups).

Differential Revision: https://phabricator.services.mozilla.com/D79931
2020-08-19 21:31:47 +00:00
Botond Ballo 6a80e2975c Bug 1633322 - Turn APZEventResult::mHandledByRootApzc into a Maybe. r=kats,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D79930
2020-08-18 21:14:32 +00:00
Botond Ballo 619b447463 Bug 1633322 - Combine APZEventResult::mTargetIsRoot and mHitRegionWithApzAwareListeners into a single flag. r=kats,geckoview-reviewers,snorp
GeckoView uses these flags for the same purpose: to determine
whether or not to allow certain effects, such as pull to refresh
or dynamic toolbar movement, that should be limited to cases
where an event manipulates the root scrollable.

In a subsequent patch, we will enhance the API between APZ and
GeckoView such that in cases where we don't know for sure whether
an event will manipulate the root scrollable until it is
dispatched to content, we tell GV the answer asynchronously.
This is easier if there is only one flag to report.

Differential Revision: https://phabricator.services.mozilla.com/D79929
2020-08-18 21:14:35 +00:00
Kevin Jacobs d343e2c8e6 Bug 1655105 - land NSS NSS_3_56_BETA1 UPGRADE_NSS_RELEASE, r=jcj
2020-08-19  Kevin Jacobs  <kjacobs@mozilla.com>

	* tests/libpkix/certs/PayPalEE.cert:
	Bug 1659792 - Update libpkix tests with unexpired PayPal cert. r=jcj

	The in-tree `PayPalEE.cert `expired today. This patch replaces it
	with a current copy that expires on 12 Jan 2022.

	CI breakage before patch: https://treeherder.mozilla.org/#/jobs?repo
	=nss&revision=2890f342de631bf6774ac747515a8b5736e20d3f CI with the
	fix applied: https://treeherder.mozilla.org/#/jobs?repo=nss-
	try&revision=bd28f21d8acbcb15502bd4fc606fc9c0ed09c810

	[52c965eaffa1] [NSS_3_56_BETA1]

2020-08-18  Kevin Jacobs  <kjacobs@mozilla.com>

	* tests/interop/interop.sh:
	Bug 1659814 - Pull updated tls-interop for dependency fix. r=jcj

	[70376af425ae]

	* automation/release/nspr-version.txt:
	Bug 1656519 - NSS 3.56 should depend on NSPR 4.28. r=kaie

	[2890f342de63]

Differential Revision: https://phabricator.services.mozilla.com/D87648
2020-08-19 21:02:09 +00:00
Agi Sferro 6c2e9aa154 Bug 1660049 - Broadcast application-{background,foreground} to content processes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87646
2020-08-19 20:46:29 +00:00
Nika Layzell a60ef2778d Bug 1660091 - Lock fission.autostart on Android, r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D87654
2020-08-19 20:47:29 +00:00
Rob Lemley 8841e58687 Bug 1659385 - Only build defaultagent localization file if required. r=mhowell
Keep L10n repacks from trying to include defaultagent_localized.ini when it's
not needed. Thunderbird L10n repacks fail because this file is not present.

Differential Revision: https://phabricator.services.mozilla.com/D87622
2020-08-19 18:52:03 +00:00
Jan-Ivar Bruaroey b0175d3263 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 19:30:59 +00:00
Andreas Pehrson 6c6ea99dac Bug 1652884 - Make disabled tracks, that haven't seen a frame, black. r=jib
This affects HTMLMediaElement, MediaRecorder and RTCPeerConnection, which are
the 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.

Depends on D87127

Differential Revision: https://phabricator.services.mozilla.com/D87128
2020-08-19 20:35:36 +00:00
Andreas Pehrson 5c9f35a9e6 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 19:30:57 +00:00
Andreas Pehrson 1fcd058234 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 19:30:56 +00:00
Andreas Pehrson c33a60774c 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 19:30:55 +00:00
Andreas Pehrson 19d29b33b2 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 19:30:59 +00:00
Andreas Pehrson bf9cda4197 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 19:30:55 +00:00
Jan-Ivar Bruaroey 26ccfce366 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 19:30:51 +00:00
Jan-Ivar Bruaroey 4943c93806 Bug 1652884 - Produce black on UA camera mute. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D86071
2020-08-19 19:30:51 +00:00
Jan-Ivar Bruaroey 9aec15aa0d Bug 1652884 - Rename MediaTrack::SetEnabled to SetDisabledTrackMode. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D86070
2020-08-19 19:30:50 +00:00
Jan-Ivar Bruaroey 085f0fe3e1 Bug 1652884 - Test combination of disabling track & muting camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84268
2020-08-19 19:30:49 +00:00
Jan-Ivar Bruaroey 14d93f2803 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 19:30:48 +00:00
Jan-Ivar Bruaroey 5a903e491c Bug 1652884 - Test browser muting/unmuting of camera. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84223
2020-08-19 19:30:47 +00:00
Jan-Ivar Bruaroey 56ba99fa77 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 19:30:46 +00:00
emcminn bad8e75946 Bug 1659711 - Match fade for light and dark mode privacy screens r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D87638
2020-08-19 20:36:19 +00:00
Mark Striemer e075211be5 Bug 1653317 - Use TabDialogBox for tab modal print UI r=Gijs,pbz
Differential Revision: https://phabricator.services.mozilla.com/D86597
2020-08-19 20:04:52 +00:00
Mike Hommey 790f20eebd Bug 1659902 - Account for the larger page size on arm64 mac for ReadOnlyPage. r=mccr8
Eventually we'll have to adjust on x86_64 mac too if we want to be able
to run some tests under Rosetta, but let's leave that for another day.

Differential Revision: https://phabricator.services.mozilla.com/D87549
2020-08-19 18:06:49 +00:00
Mike Hommey bfb7f8610c Bug 1657135 - make arm64 xptcstubs handle both aapcs and apple stack conventions. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D87049
2020-08-19 13:45:30 +00:00
Nathan Froyd 771807a37c Bug 1657135 - make aarch64 assembly glue suitable for compiling with macOS r=glandium,xpcom-reviewers,nika
Depends on D87007

Differential Revision: https://phabricator.services.mozilla.com/D87008
2020-08-18 07:27:31 +00:00
Mike Hommey b63339255b Bug 1657135 - make arm64 xptcinvoke handle both aapcs and apple stack conventions r=xpcom-reviewers,nika,froydnj
ARM has a common calling standard for all operating systems running on
ARM64, and Apple platforms almost follow it, except for a few rules which
aren't relative to xptcall, plus one significant exception: arguments
spilled to the stack only occupy the space they need to.  So in the common
calling standard, a `uint16_t` would occupy eight bytes when it is passed on
the stack, whereas on Apple platforms, it only occupies two bytes.

Original patch by @froydnj.

Differential Revision: https://phabricator.services.mozilla.com/D87007
2020-08-19 00:01:22 +00:00
Nathan Froyd 968a2e4064 Bug 1657135 - unify integer and floating-point argument allocation r=xpcom-reviewers,nika
Through some sleight-of-hand, we can treat argument allocation in aarch64's
xptcinvoke exactly the same for integer and floating-point arguments.  This
change isn't so important now, but it centralizes the allocation of stack
slots, which is important for making this code handle Apple's calling
conventions.

Depends on D87005

Differential Revision: https://phabricator.services.mozilla.com/D87006
2020-08-19 04:06:29 +00:00
Nathan Froyd 83607c3e88 Bug 1657135 - compile the correct files for xptcall on arm64 macOS r=glandium,xpcom-reviewers,nika
These files will all compile, but things will break at runtime because the
convention for stack arguments is slightly different on Darwin.  We'll fix
that in the next patch or two.

Depends on D87004

Differential Revision: https://phabricator.services.mozilla.com/D87005
2020-08-18 07:25:16 +00:00
Nathan Froyd 68e1fa98db Bug 1657135 - add appropriate Apple-specific syntax bits in aarch64 C stubs r=xpcom-reviewers,nika
These changes are consistent with what we do in other
files (xptcstubs_arm.cpp) and also make everything compile.

Differential Revision: https://phabricator.services.mozilla.com/D87004
2020-08-18 05:53:53 +00:00
Tooru Fujisawa fce9eae61d Bug 1659884 - Rewind asm.js module. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D87541
2020-08-19 19:52:08 +00:00
Martin Stransky 95f2d6add8 Bug 1658885 [Linux] Use window sizes to get window CSD extents, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D86919
2020-08-19 19:13:44 +00:00
Glenn Watson 7aba1426fd Bug 1659676 - Simplify WR hit-test API. r=kats,kvark,nical
Specifically:
 - Remove hit test tag from common display item properties.
 - Simplify WR bindings to use hit-test items exclusively.
 - Remove support for transparent rectangles to be hit-test items.
 - Remove support for any primitive to be a hit-test item.

Differential Revision: https://phabricator.services.mozilla.com/D87421
2020-08-19 15:05:30 +00:00
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