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

602547 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard df79cae335 Bug 1409664 - P13. Report the Apple's H264 decoder is hardware accelerated when not yet initialized. r=bryce
Summary:
We can't create a H264 VT decoder until we have all SPS/PPS NALs, which makes it tricky to generate when we only want to check if H264 is supported.
On mac, we can reasonable assume that hardware acceleration is always supported (though on a mac pro 2013 that isn't the case or hackintosh with nvidia cards).

Depends on D1625

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1626
2018-07-03 11:45:20 -07:00
Jean-Yves Avenard 0c1b59ee76 Bug 1409664 - P12. Don't attempt to play non-supported AAC sampling rate. r=padenot
Summary:
We know those sampling rate aren't supported and cause initialization errors later.

Depends on D1624

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1625
2018-07-03 11:45:20 -07:00
Jean-Yves Avenard d346b32eb9 Bug 1409664 - P11. Add GetTracksInfo method to all MediaDecoder instances. r=bryce
Summary:
Allows to build an array ot TrackInfo built from the mimetype provided. This will allow to create dummy decoder to check that if they are supported and how well the decoder will perform.

Depends on D1623

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1624
2018-07-03 11:45:20 -07:00
Jean-Yves Avenard ad801ddb59 Bug 1409664 - P10. Extend MediaExtendedMIMEType to know about audio configuration. r=bryce
Summary:
Addtionally, change the framerate to be of type double and allow to create a MediaExtendedMIMEType based on the new dom VideoConfiguration and AudioConfiguration object.

Depends on D1622

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1623
2018-07-03 11:45:19 -07:00
Jean-Yves Avenard d586f6f943 Bug 1409664 - P9. Remove AutoTaskQueue and its use r=bryce
Summary:
TaskQueue no longer requires an explicit call to BeginShutdown() as such we no longer have a need for AutoTaskQueue.

Depends on D1621

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1622
2018-07-03 11:45:19 -07:00
Jean-Yves Avenard 1fc1c669ce Bug 1409664 - P8. Make explicit shutdown of TaskQueue optional. r=gerald
Summary:
With this change TaskQueue no longer requires an explicit call to BeginShutdown(). The taskqueue will automatically shutdown once it's now longer referenced.

Depends on D1620

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1621
2018-07-03 11:45:18 -07:00
Jean-Yves Avenard 84177fa544 Bug 1409664 - P7. Remove unused TaskQueue method. r=gerald
Summary:
Depends on D1619

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1620
2018-07-03 11:45:18 -07:00
Jean-Yves Avenard f44bc2efdb Bug 1409664 - P6. Remove flac in ogg preference. r=bryce
Summary:
Let's always enable it.

Depends on D1618

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1619
2018-07-03 11:45:17 -07:00
Jean-Yves Avenard e2c6515b25 Bug 1409664 - P5. Fix comment. r=bryce
Summary:

Depends on D1617

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1618
2018-07-03 11:45:17 -07:00
Jean-Yves Avenard 24fc82476b Bug 1409664 - P4. Provide basic MediaCapabilities support. r=bryce
Summary:
The information returned is identical to
1- canPlayType() for file
2- MediaSource.isTypeSupported for media-source
3- MediaRecorder.isTypeRecorder() for recordings.

Depends on D1616

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1617
2018-07-03 11:45:16 -07:00
Jean-Yves Avenard b3aec00d77 Bug 1409664 - P3. Allow audio/webm container type in MediaRecorder. r=bryce
Summary:

Depends on D1614

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1616
2018-07-03 11:45:16 -07:00
Jean-Yves Avenard c55b6749ae Bug 1409664 - P2. Add ScreenLuminance objects and friends to Screen. r=bz
Summary:
As per https://wicg.github.io/media-capabilities/#idl-index

Depends on D1613

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1614
2018-07-03 11:45:15 -07:00
Jean-Yves Avenard 83a8e7725c Bug 1409664 - P1. Add MediaCapabilities skeleton IDL. r=bz
Summary:
As per https://wicg.github.io/media-capabilities/#idl-index

Placed behind user pref media.mediacapabilities.enabled that is disabled by default

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1613
2018-07-03 11:45:15 -07:00
Olli Pettay fc03dffd3c Bug 1472421 - nsRange should use composeddoc so that it works in shadow DOM, r=mrbkap 2018-07-03 21:15:32 +03:00
Jason Laster e94b727beb Bug 1472768 - Update Debugger Frontend v68. r=jdescottes 2018-07-03 14:12:01 -04:00
James Teh d4ef733244 Bug 1472137 - Prevent mutex reentry in mscom::Interceptor::Create if GetInitialInterceptorForIID fails. r=aklotz
If GetInitialInterceptorForIID fails, the live set lock is not released in most cases, but the newly created Interceptor will be destroyed.
The Interceptor's destructor tries to acquire the live set lock again, but that causes a deadlock, since reentry is no longer allowed for a mutex after bug 1364624.
GetInitialInterceptorForIID now ensures the live set lock is always released  on failure, thus preventing the deadlock.

MozReview-Commit-ID: z0Q7JLnJXQ

--HG--
extra : amend_source : 0b9837e5500754b5782e72337fc59b7904c5e29c
2018-07-02 15:17:12 +10:00
Noemi Erli a56e695e87 Backed out changeset 2d12737168b1 (bug 1472421) for mochitest failures on test_range_bounds 2018-07-03 19:11:04 +03:00
Noemi Erli 33704bae93 Bug 1446760 - Disable browser_dbg-stepping.js for frequent failures on Windows r=jmaher
--HG--
extra : rebase_source : 64a99f4dafa8f39d782e87a12f33d7ee5eb47079
2018-07-03 18:55:56 +03:00
Noemi Erli cd487768ea Bug 1455033 - Disable css3-background-origin-padding-box.html for frequent failures on Linux r=jmaher
--HG--
extra : rebase_source : da8b7ee32a0d7f5b82b38b497656433cf3d00cd3
2018-07-03 18:25:21 +03:00
James Willcox 729e4f6b34 Bug 1472832 - Use notifyAll() in GeckoBackgroundThread r=droeh
Without this we deadlock if more than one thread is waiting
in getHandler().

MozReview-Commit-ID: GCB7haz7Lwb
2018-07-03 10:31:21 -05:00
James Willcox 7c810f0888 Bug 1471254 - Add Android package name to crash reports r=droeh
This will allow us to determine which app is crashing for
crashes that come from GeckoView. I've also renamed the
AndroidProcessName field to Android_ProcessName for consistency.

MozReview-Commit-ID: JL1u7VVxbSx
2018-07-03 10:31:21 -05:00
James Willcox 006a5517b0 Bug 1470731 - Don't try to unbind child process service if we aren't bound r=droeh
MozReview-Commit-ID: GYy1utiAa5v
2018-07-03 10:31:21 -05:00
Olli Pettay a1288b6db5 Bug 1472428 - HTMLMediaElement should use IsInComposedDoc, r=cpearce 2018-07-03 18:13:17 +03:00
Olli Pettay 10eef3d077 Bug 1472422 - nsContentUtils should use IsInComposedDoc, r=mrbkap 2018-07-03 18:09:56 +03:00
Olli Pettay cf007c3999 Bug 1472424 - BrowserElementParent should use IsInComposedDoc, r=mrbkap 2018-07-03 18:08:19 +03:00
Olli Pettay d14590cada Bug 1472647 - nsPluginInstanceOwner::GetURL should use GetComposedDoc, r=mrbkap 2018-07-03 18:07:22 +03:00
Olli Pettay a5cf31373f Bug 1472425 - PointerEventHandler should use IsInComposedDoc, r=mrbkap 2018-07-03 18:06:29 +03:00
Olli Pettay ca2e080d26 Bug 1472651 - BoxObject::GetPresShell should use GetComposedDoc, r=mrbkap
--HG--
extra : rebase_source : 1cf9fba47c5276c3606b886c63ff0a7d84ebb4c0
2018-07-03 17:58:26 +03:00
Olli Pettay 50136cf862 Bug 1472650 - nsCSSRendering::ShouldPaintBoxShadowInner should use GetComposedDoc, r=emilio
--HG--
extra : rebase_source : 2d484667820757943eae22543770409df27f0027
2018-07-03 17:57:11 +03:00
Olli Pettay f2292aa23e Bug 1472432 - Use IsInComposedDoc in nsXULTooltipListener, r=mrbkap
--HG--
extra : rebase_source : cf645c6f107a90f4b4d7b04ccc8aa7706376f011
2018-07-03 17:52:17 +03:00
Olli Pettay 50ab1c422a Bug 1472570 - Use GetComposedDoc in nsBaseDragService, r=mrbkap
--HG--
extra : rebase_source : 78ada86c138960ed09b63d1755e7fb6fd5773cb3
2018-07-03 17:51:02 +03:00
Gijs Kruitbosch 9396488809 Backed out changeset be11a3290029 (bug 1469916) for test orange involving `Not enough arguments [nsIWebBrowserPersist.saveURI]` 2018-07-03 15:45:13 +01:00
Olli Pettay 7c2962923a Bug 1472421 - nsRange should use composeddoc so that it works in shadow DOM, r=mrbkap
--HG--
extra : rebase_source : 4c9d60f3f1ceeede2fc4e9caa438cd340afd9c91
2018-07-03 17:26:40 +03:00
Jeff Gilbert a574f2ae1f Bug 1469376 - Initial stubs for WebGPU sketch API. - r=kvark,qdot
MozReview-Commit-ID: 3MZLQDNpHBk

--HG--
extra : rebase_source : 4495aae52f283286ecafcc3217811d306097b9b6
2018-06-13 10:43:48 -07:00
Daisuke Akatsuka 19a456b691 Bug 1472684: Hide info bar and guides from highlighter. r=gl
MozReview-Commit-ID: AAchCYg0d61

--HG--
extra : rebase_source : 7d95cae3bdec07fabba719a66a37d02b2e40fe59
2018-07-04 10:50:12 +09:00
Matt Woodrow 70d97b231e Bug 1473137 - Convert mOpacityIndices into a stack-based vector with preallocated storage to avoid allocations. r=jnicol
MozReview-Commit-ID: Gi5z3YaH7kY

--HG--
extra : rebase_source : 9213eea1f5886e23977935b8efdad58e2195cfbc
2018-07-03 18:58:35 -04:00
Daisuke Akatsuka ba800e3517 Bug 1472859 - Part 2: Add test for same colors and currentcolor. r=gl
MozReview-Commit-ID: KRnajXPdwSq

--HG--
extra : rebase_source : 11b257753ef21bfe6a822ed5dd4859a3a2dadb8d
2018-07-03 16:22:46 +09:00
Daisuke Akatsuka d1deefa106 Bug 1472859 - Part 1: Avoid crashing which is in case the all values of keyframes are same. r=gl
MozReview-Commit-ID: Bz60drhwohf

--HG--
extra : rebase_source : 32663181e498b1f46a0b498ac5ee75303f50c578
2018-07-03 16:22:28 +09:00
Brindusan Cristian 4a5a62d50e Backed out 2 changesets (bug 1472580) for browser chrome LeakSanitizer failures.
Backed out changeset d3d4619e8133 (bug 1472580)
Backed out changeset 4913ce5ab6cb (bug 1472580)
2018-07-04 03:53:39 +03:00
Bobby Holley a4d6a5ba57 Bug 1431285 - Cap the number of style threads at six. r=emilio
MozReview-Commit-ID: 3qI1mIvDn8j

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

--HG--
extra : moz-landing-system : lando
2018-07-03 23:47:48 +00:00
Dustin J. Mitchell 7a41f4be8d Bug 1472776: add a 'cancel' action to cancel one task; r=tomprince
MozReview-Commit-ID: E3MTcM4TR7e

--HG--
extra : rebase_source : 41b56b8c5cc0cbafeae81582c47148f24ffbbce7
2018-06-27 15:01:40 +00:00
Brindusan Cristian 911da838e3 Backed out changeset 3eed69f0be08 (bug 1470329) for web-platform failures on /css/css-contain/contain-size-breaks-001.html. CLOSED TREE 2018-07-04 01:26:31 +03:00
shindli 5cc2efce78 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-04 01:01:25 +03:00
Gregory Szorc 1843095b29 Bug 1471028 - Detect Node.js in configure; r=glandium
The intent is for the build system to soon require Node.js to build
Firefox. But we aren't ready to make Node.js a build requirement
just yet.

The goal of this commit is to implement configure detection for
Node.js so that we can a) work out detection bugs b) give people a
means to validate system compatibility *before* we throw the switch to
require Node.js.

This commit introduces configure logic for finding a Node.js
executable, resolving its version, and validating its suitability.

By default, if Node.js cannot be found or there is an error resolving
its version, we print some warning messages and move on.

If --enable-nodejs is used (not the default), errors are raised
if Node.js cannot be found or its version isn't suitable.

Once we require Node.js, the added code can likely be simplified.
When writing the code, I went out of my way to make failures as
non-fatal as possible. e.g. normally we'd say that failures to run
`node --version` would be fatal. I'm purposefully trying to not have
this configure check break anyone's environment, even if failure
occurs. Again, the goal is to introduce the configure checks first
in a non-fatal way such that we can debug failures so the flag day
transition is simpler.

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

--HG--
extra : moz-landing-system : lando
2018-07-03 21:24:58 +00:00
Chris Pearce ab7c639f4f Bug 1472580 - Test that starting play from tab audio indicator overrides block autoplay. r=mconley
MozReview-Commit-ID: 6RB09cd1PHP

--HG--
extra : rebase_source : 8d487d3706dee08100d6f89043a3c404f88d8ed3
2018-06-25 13:25:34 +12:00
Chris Pearce e3bb1953b3 Bug 1472580 - Gesture activate documents which are played via the tab audio indicator. r=mconley
(This patch was first presented for review in bug 1463919, I've split it off
into its own bug here).

If the user opens a tab in the background, and that tab tries to play media,
we'll delay playing that media until the tab is brought to the foreground.
But the user can explicitly start playback of such delayed media by clicking
the "play" icon we show in the tab indicator. Then if autoplay is disabled,
we'll block the play (unless the origin is whitelisted). This is bad, as the
user has clearly indicated intent to play media in this tab.

So this patch "gesture activates" the root content document when the tab audio
indicator play button is pressed. This means the block autoplay logic will
behave as if there's been a user gesture in the tab (mouse click or keypress),
and not block the play. Gesture activation state is per document, so it does
not persist across document loads.

MozReview-Commit-ID: 3pgrADRrJqt
***
fix

--HG--
extra : rebase_source : 3290571b61cfed5653cd75c859c8520ef5c8ee2f
2018-07-04 09:32:22 +12:00
Tim Huang 8342872016 Bug 1470156 - Part 1: Adding a test case for reassuring mozilla::OriginAttributes::CreateSuffix won't be crashed with invalid characters in firstParty domain. r=baku,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D1845

--HG--
extra : source : 604fb83b6b61c66ad29f46d81fb9fa58bd9b55fc
2018-07-03 13:48:18 +00:00
Morgan Rae Reschenberg 51d3a6c12c Bug 1470329 - Change ReflowInput to have unconstrained BSize for size-contained elements, add reftests r=dholbert
MozReview-Commit-ID: 6IRAi8iScwy

--HG--
extra : rebase_source : 2d98a5f5fc591fcb8d6360c0a6ac478e6afd77a6
2018-07-02 09:43:03 -07:00
Brindusan Cristian 580655b2ca Backed out changeset 604fb83b6b61 (bug 1470156) for mochitest failures on test_ext_cookies_first_party.html. CLOSED TREE 2018-07-04 00:01:49 +03:00
Tim Huang f5dcf5b4b6 Bug 1470156 - Part 2: Fixing the crashing problem when using an invalid character in a firstPartyDomain. r=baku
This patch adds a sanitization of firstPartyDomain when calling the
OriginAttributes::CreateSuffix() and remove the release assert there.
The cookies API for the web extension can use a arbitrary string for the
firstPartyDomain. So, we should sanitize the firstPartyDomain before
we creating a suffix. The release assert is not required anymore since
the firstPartyDomain is sanitized

Depends on D1845.

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

--HG--
extra : moz-landing-system : lando
2018-07-03 13:47:45 +00:00