Commit Graph

602351 Commits

Author SHA1 Message Date
Jean-Yves Avenard
f07b7bee8b Bug 1409664 - P18. Properly pass KnowsCompositor object to decoder. r=bryce, r=bz
Summary:
To properly determine if a decoder is hardware accelerated, we must pass information about the compositor to the decoder.

Depends on D1631

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1632
2018-07-03 11:45:22 -07:00
Jean-Yves Avenard
34e1735ed0 Bug 1409664 - P17. Remove unused variables. r=bryce
Summary:
Silence warnings.

Depends on D1630

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1631
2018-07-03 11:45:22 -07:00
Jean-Yves Avenard
f278c2be62 Bug 1409664 - P16. Fix typo in variable name. r=bryce
Summary:

Depends on D1629

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1630
2018-07-03 11:45:21 -07:00
Jean-Yves Avenard
b763f84cf1 Bug 1409664 - P15. Fix canPlayType so that it checks codecs if provided. r=bryce
Summary:
For flac, mp3 and adts, if a codec was provided but wasn't supported in the container, it would have reported Maybe instead of No

Depends on D1628

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1629
2018-07-03 11:45:21 -07:00
Jean-Yves Avenard
88f93633b1 Bug 1409664 - P14. Provide more details for audio and video configuration. r=bryce, r=baku
Summary:
We now provides more detailed information for audio (check sampling rate and channels if provided).

And check for the power efficient attribute. We directly correlate this information with the decoder being hardware accelerated or not. All audio codecs are deemed to be power efficient.

Depends on D1626

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1627
2018-07-03 11:45:21 -07:00
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
Dragan Mladjenovic
2eecd771e7 Bug 1466461 - [MIPS] Do not emit SYNC instruction when MembarNobits is requested. r=lth
--HG--
extra : rebase_source : a922b0bbbebad4000a66f108a536ad1151525772
2018-06-04 01:04:00 +03:00
Gijs Kruitbosch
0d0616cad1 Bug 1469916, r=ckerschb,jkt
--HG--
extra : rebase_source : 5c2f49af85664fdb5375f6dc4cc57d6913f1eff9
2018-06-22 15:41:39 +01:00
Geoff Brown
b61f4883c9 Bug 1472311 - Use android_common.py for android-hw mozharness config; r=bc 2018-07-03 07:33:47 -06:00
Geoff Brown
ba2bbfe318 Bug 1472311 - Expand mozharness configs for android-em to accept parameters needed for android-hw; r=bc 2018-07-03 07:33:44 -06:00
Andrew Osmond
22361588aa Bug 1472145 - Part 3. Initialize boolean WebP telemetry scalars to ensure accurate reporting. r=aosmond 2018-07-03 08:12:17 -04:00
Paolo Amadini
86d16ff4dd Bug 1472635 - Prevent suppressing executable warnings using the "don't ask me this again" checkbox. r=Gijs
A hidden preference matching "browser.download.manager.alertOnEXEOpen" is kept, but is renamed in order to recover cases where the checkbox was used accidentally.

This also cleans up duplicate unused strings in the "browser" folder.

MozReview-Commit-ID: GyccRiyoVGs

--HG--
extra : rebase_source : 8211ad1c94894535b2b98dde0549d7ab52a879b0
2018-07-02 15:42:58 +01:00
arthur.iakab
644be8856b Merge mozilla-central to inbound 2018-07-03 11:58:29 +03:00
arthur.iakab
403038737b Merge inbound to mozilla-central a=merge 2018-07-03 11:55:46 +03:00
Jan de Mooij
9ba4faa71e Bug 1463163 - Make ArraySpeciesCreate realm check work with same-compartment realms. r=anba 2018-07-03 10:08:36 +02:00
Hiroyuki Ikezoe
b5935f0573 Bug 1354501 - Bail out if we know there is no need to dispatch any animation events in advance of checking which animation event we need. r=birtles
MozReview-Commit-ID: JhOs0CD49R

--HG--
extra : rebase_source : dd4c779ed23eb4f728192fdc27536f4409de2c55
2018-07-03 11:06:46 +09:00
Hiroyuki Ikezoe
8b30a3dc7b Bug 1354501 - Dispatch web animation events at the same time when CSS animations/transitions events are dispatched. r=birtles
MozReview-Commit-ID: u7lWtAF8Ml

--HG--
extra : rebase_source : 6ce807bc253706483960dade2f2c926fa9821460
2018-07-03 11:05:23 +09:00
Gabriel Luong
05c2a6ee1f Bug 1468910 - Flexbox highlighter should update on size or alignment changes of flex items. r=pbro 2018-07-02 21:53:18 -04:00