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

63474 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini a26b5642ed Bug 1366501 - disable test_subworkers_suspended.html for android, r=gbrown 2017-05-30 16:27:12 +02:00
JW Wang a86c1434a6 Bug 1338635 - Declare |holder| before |atq| to ensure the destructor is run after |holder.Disconnect()|. r=gerald
Otherwise we might fail the assertion |!mRequest| in the destructor of MozPromiseRequestHolder.

MozReview-Commit-ID: HsVD2re0R7e

--HG--
extra : rebase_source : c023899d92501dd3e275000c9ef0eb50df117236
2017-05-29 09:38:14 +08:00
Kaku Kuo c61f8b93c0 Bug 1365190 P2 - don't assert NeedMoreVideo() in audio events; r=jwwang
The assertion fails if we call SeekToNextFrame() on a video which has done
video decoding but keeps decoding audio.

MozReview-Commit-ID: F9qpfYI2Ajo

--HG--
extra : rebase_source : 73ab2f146101b0ef5a55ee26436b005386164c9d
2017-05-25 14:03:39 +08:00
Kaku Kuo 70dcb59b49 Bug 1365190 P1 - NextFrameSeekingState should be aware of the existing video data request; r=jwwang
MozReview-Commit-ID: 3deIwYbQ3BM

--HG--
extra : rebase_source : c0caf7077dde22bd1a89c0cf0950833c576cec99
2017-05-25 12:06:34 +08:00
Blake Kaplan 961eb025a9 Bug 1366448 - Fix assumptions in this test so it works across branches. r=mconley
The previous version of this test assumed that it was in control of all
processes (except for a single one that was hanging around). That meant that
changes to the environment, such as running it on a different branch could
cause it to fail. Now we explicitly test that creating new tabs creates a new
content process (and that the final tab creation *doesn't* do so) with a
sanity check that new ContentParents don't reuse the same underlying OS
process. Because we're now explicitly testing what we want, this works whether
the current branch holds a random extra process alive or not.

MozReview-Commit-ID: CNgLGL32Iog

--HG--
extra : rebase_source : f27d132d00bdd94d7034cc63c83bbacfe04bde0c
2017-05-23 16:16:22 -07:00
Ryan VanderMeulen d3f265330e Merge m-c to autoland. a=merge 2017-05-25 16:44:01 -04:00
Ryan VanderMeulen 2fbcb8b3bb Merge m-c to inbound. a=merge 2017-05-30 16:09:45 -04:00
Tobias Schneider 35d8cb5c30 Bug 1358668 - (intersection-observer) Set rootBounds to an empty rectangle instead of null when not intersecting. r=mstange 2017-05-24 17:12:31 -07:00
Christoph Kerschbaumer 3fc12a8c6e Bug 1363977 - Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-29 21:32:21 +02:00
Carsten "Tomcat" Book bdfe9a25bf Backed out changeset 2b92af4575ae (bug 1357386) 2017-05-30 08:51:22 +02:00
Christoph Kerschbaumer 74a7c96cd0 Bug 1357386: Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-30 08:31:08 +02:00
Andrea Marchesini 8cfd4ae66c Bug 1349266 - Using a workerHolder to keep alive a parent worker when a child worker is created, r=kbelly 2017-05-25 09:04:25 +02:00
Jean-Yves Avenard 1bbc103c25 Bug 1368662: Better fix for bug 1345898. r=gerald
In bug 1345898, we flushed the decoder rather than draining it when we are waiting for data.
However, more accurately we are in the middle of an internal seek.
There are more occasions during which we could be performing an internal seek during which we don't care about the frames being decoded. So flushing is better.

MozReview-Commit-ID: ATpTFdp8mRL

--HG--
extra : rebase_source : 60649f15eb9fcc52c31484f7180c60f516f3bc4e
2017-05-30 13:44:46 +02:00
Makoto Kato 75cfb3ee47 Bug 1356503 - Part 2. Replace nsWin32Locale::GetXPLocale with LCIDToLocaleName (webspeech part). r=eeejay
Since our platform support is Windows 7+, we can replace nsWin32Locale::GetXPLocale with LCIDToLocaleName.

MozReview-Commit-ID: Tboh4P6cLc

--HG--
extra : rebase_source : 7dd6614b0aca25e82d194d104409400e1cc6b4a8
2017-04-27 12:40:30 +09:00
Ehsan Akhgari b2b32dd799 Bug 1368272 - Rewrite test_bug534149.html to not rely on the dispatching order of WindowDestroyedEvent; r=mystor 2017-05-28 13:42:21 -04:00
Paolo Amadini d7513d1e02 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Sebastian Hengst 8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini 8edd3b1d5c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Nico Grunbaum e45ddffb1e Bug 1359775 - Part 1 - add RTCRtpContributingSourceStats;r=jib,smaug
Still left TODO:
  * add an aboutWebrtc.js section
  * write tests

MozReview-Commit-ID: DwFxq19KWeu

--HG--
extra : rebase_source : fad3018d851316af83df48c62db16028a1a84b5c
2017-04-26 04:27:13 -07:00
bechen 97ab63e82a Bug 1361655 - Add new reftest to verify the first and last frame for short.mp4. r=jwwang
Since the ref-sample made by linux, the mac and windows platforms need fuzzy.
And on windows platform, the first frame is different to other platform, skip it first.
Android platform somehow can not load the video src.

MozReview-Commit-ID: A0VbEcNSmck

--HG--
extra : rebase_source : 266f0012d460b8fd6b62ac1d2878dc9aa686f9a8
2017-05-17 16:54:16 +08:00
Gerald Squelart bcfa6b7a7d Bug 1367155 - Handle async-closed FileBlockCached::mFD when reading/writing - r=cpearce
Also, close the FD if FileBlockCache::Closed() was called between Init() and
SetCacheFile().

MozReview-Commit-ID: 5p8NslMow7D

--HG--
extra : rebase_source : a465020edfedf91454ba6c2ae307ae9e6977f47f
2017-05-24 13:21:28 +12:00
Shing Lyu 5d8a5a598c Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA

--HG--
extra : rebase_source : f62c84516f5ac0d4b4d0c876514b72fa786ec542
2017-05-25 11:26:12 +08:00
Sebastian Hengst 6f8890dc75 merge mozilla-central to autoland. r=merge a=merge 2017-05-25 10:33:54 +02:00
Nico Grunbaum e27f339519 Bug 1355220 add RTCRtpSender/Receiver.getStats;r=jib,smaug
MozReview-Commit-ID: LZ4ItjFYxmk

--HG--
extra : rebase_source : 13c7fec9f0aa4f9b1276b6b4eb9350ce15ff7213
2017-04-20 17:54:20 -07:00
Jean-Yves Avenard 7c84ef88b6 Bug 1359058: P2. Rely on container flags when seeking in plain MP4. r=gerald
This reverts part of bug 1300296. In the worse case we'll get a decoding error. But we're only trading a bad behaviour for another.

MozReview-Commit-ID: H0gF3FqZsU6

--HG--
extra : rebase_source : 54d38d24b40014351f943bff6860f5de9fc2f418
2017-04-26 16:43:54 +02:00
JW Wang 8818eb0e75 Bug 1359058: P1. handle EOS during seeking. r=jya
MozReview-Commit-ID: DPT3t1pi6o1

--HG--
extra : rebase_source : 40b3ad18e3414d5e954ea1136f1962ed3f7aed3d
2017-04-26 11:32:50 +08:00
Chris Pearce d7d3abb576 Bug 1367950 - Only throttle download of src=url video if the download is 'fast' on desktop. r=jwwang
Our canplaythrough logic is opaque to the users, so I expect that our recent
change to throttle when we hit the readahead limit would be confusing to users;
those on a slow connection would want their media to prebuffer, and not expect
the download to stop part way through.  They would think that Firefox had
stalled at an arbitrary point for some unknown reason, i.e., they'd think
Firefox was broken. So I think we're better to instead only throttle if the
network is good enough that the user probably doesn't worry about the download
not keeping up with playback.

We should restore the previous behaviour on mobile of throttling when the
download reached the readaheadd limit regardless of canplaythrough or network
speed, as the calculus is different on mobile; the user may also be concerned
about battery life, or hitting their data cap. And often the faster the
cellular network is, the more expensive data on it is.

So this patch changes us to throttle when we reach the readahead limit only if
the network is fast, where fast is defined as being able to stream at twice the
rate estimated to be required to playback without stalling.

It also adds a pref to revert to the old behaviour of not considering the
network speed, which we enable on mobile to restore it to its previous
behaviour.

MozReview-Commit-ID: KLIGaQZV6dX

--HG--
extra : rebase_source : c2e0c6be3158fa661be49d1267d976af43aff6d7
2017-05-26 13:55:48 +12:00
Ryan VanderMeulen 75fa1fd85f Merge inbound to m-c. a=merge 2017-05-26 15:43:59 -04:00
Andrea Marchesini 9efa4e6493 Bug 1368029 - Remove LRU priority support from ProcessPriorityManager, r=gsvelto 2017-05-26 17:50:17 +02:00
Andrea Marchesini 12d75b483c Bug 1368012 - Get rid of audio-channel-process-changed observer in ProcessPriorityManager, r=gsvelto 2017-05-26 17:49:55 +02:00
Andreas Farre 1ac06bd4d2 Bug 1311425 - Avoid GC/CC timers when scheduling idle, r=smaug
--HG--
extra : rebase_source : 5a43c45b331cebbc53363c83203cfad89d543cb0
2017-05-24 21:15:30 -04:00
Carsten "Tomcat" Book 33b44f6e98 Merge mozilla-central to mozilla-inbound 2017-05-26 12:39:21 +02:00
Mats Palmgren 483a804512 Bug 1364805 part 3 - Implement Type() by indexing a static array using the mClass field. Remove the nsIFrame::mType field. r=jfkthame
In the nsWindowMemoryReporter.cpp / nsArenaMemoryStats.h I'm only
including the concrete frame classes now - we obviously never have
instances of the other IDs so there's no need to collect stats for them.

MozReview-Commit-ID: 48uFCZ3xKBC
2017-05-26 12:11:11 +02:00
Peter Van der Beken c2849d4c0b Bug 1361892 - Null check pointer before calling Release. r=erahm.
--HG--
extra : rebase_source : b80444629fc5cf92431297fd3bae61f805537162
2017-05-08 17:02:12 +02:00
Eden Chuang 68cf4559f8 Bug 1345361 - PaymentRequest constructor implementation. r=baku 2017-05-26 01:50:32 +08:00
Carsten "Tomcat" Book f8d5f13130 Merge mozilla-central to autoland 2017-05-26 12:40:44 +02:00
Kaku Kuo b470970c3c Bug 1367701 P3 - modify comments; r=jwwang
MozReview-Commit-ID: 2Ky9FLjUblW

--HG--
extra : rebase_source : 2fbfefe2924d34e7a7b0cb90c4f6dcfe0424a3d6
2017-05-25 15:43:19 +08:00
Kaku Kuo 54ee0fc58f Bug 1367701 P2 - transit to NextFrameSeekingState in Transit(); r=jwwang
MozReview-Commit-ID: FdPHn6uGubq

--HG--
extra : rebase_source : 9f807159ac3b7481b78a4d09202f817f306b1049
2017-05-25 15:40:59 +08:00
Kaku Kuo 7b503245f8 Bug 1367701 P1 - add a virtual Transit() method and remove SeekJob:mTransition; r=jwwang
MozReview-Commit-ID: L0HnYfTdL57

--HG--
extra : rebase_source : 11482aaeb5a2159f3e1325312907c971ef72182b
2017-05-25 15:09:10 +08:00
Stone Shih d6d397a215 Bug 1355548 - Using cached perference values in WheelTransaction. r=masayuki
EventStateManager uses preferences of WheelTransaction frequently. Caches them to reduce overheads.

MozReview-Commit-ID: HhuCKu5QVsh
2017-04-13 10:41:23 +08:00
David Parks f2774deb20 Bug 1363290 - Part 3: Proxy win32's SetCursorPos for plugins in chrome process. r=jimm, r=jed
SetCursorPos is used by Flash's relative cursor motion behavior.  It is blocked by the plugin sandbox.  This patch allows it to run by proxying it on the main process.

--HG--
extra : histedit_source : 85515d398c0c107c2258185c0591a943b26e724a
2017-05-16 14:47:09 -07:00
David Parks 9dac5ced13 Bug 1363290 - Part 1: Refactor PluginModuleChild's GetFileNameTask to extract PluginThreadTask. r=jimm
The extracted PluginThreadTask will also be used to hook the Win32 SetCursorPos method.
2017-05-16 14:39:59 -07:00
Olli Pettay 1c41ba7c1e Bug 1367552 - Use IdleDispatch for ContentUnbinder , r=ehsan
--HG--
extra : rebase_source : 7575c7db087334f239eec517666a7ddd8061a668
2017-05-24 18:06:32 -04:00
Ryan VanderMeulen ec2a7961fa Merge m-c to inbound. a=merge 2017-05-24 20:46:45 -04:00
Ryan VanderMeulen c5b2958154 Merge inbound to m-c. a=merge 2017-05-24 20:45:23 -04:00
Andrea Marchesini 3d582144b3 Bug 1366595 - Improve the use of strings in XHR logging. r=smaug 2017-05-24 20:27:20 -04:00
Samuel Vargas 46c3ff378c Bug 1366423 - mDepthTestEnable should be initialized in WebGLContextValidate.cpp - r=jgilbert 2017-05-24 15:53:10 -07:00
Ryan VanderMeulen 31beca4070 Backed out changeset 4ac329aeaaf9 (bug 1361461) for various dead window related test failures on a CLOSED TREE.
--HG--
extra : amend_source : ffabeac2fe1f784474d5c720420b996a60ad1ba0
2017-05-24 18:21:34 -04:00
Ehsan Akhgari c200b63e89 Bug 1361461 - Dispatch WindowDestroyedEvent to the idle queue; r=smaug 2017-05-24 17:32:32 -04:00
Ryan VanderMeulen 56b8e8c07e Merge m-c to inbound. a=merge
CLOSED TREE
2017-05-24 16:33:30 -04:00
Ryan VanderMeulen 30caacbb11 Merge inbound to m-c. a=merge 2017-05-24 16:32:59 -04:00
Ehsan Akhgari dfaa48605d Bug 1366812 - Initialize TimeoutManager::mThrottleTrackingTimeouts to false; r=smaug
This way we won't rely on code which may have potentially not run yet.
2017-05-24 14:48:53 -04:00
Nicolas B. Pierron 9812c67569 Bug 1366773 - Move buffer argument from JS::StartIncrementalEncoding to JS::FinishIncrementalEncoding. r=mrbkap,shu 2017-05-24 18:28:19 +00:00
Bill McCloskey ab129f71c8 Bug 1366845 - Use XPCOM threads for hang monitor (r=mrbkap)
MozReview-Commit-ID: 3zMWYDATDch
2017-05-24 11:11:28 -07:00
Ryan VanderMeulen 38a48a48ce Backed out 4 changesets (bug 816784) for intermittent GC crashes.
Backed out changeset 9a553b9dc922 (bug 816784)
Backed out changeset ac4a48a831ce (bug 816784)
Backed out changeset e80197b11567 (bug 816784)
Backed out changeset 7e8f428a3edf (bug 816784)
2017-05-24 12:07:07 -04:00
Garvan Keeley 6ff03f9654 Bug 1363966 - Cleanup network geo provider: removed unneeded listener function wrapper and the call to non-existent listener.locationUpdatePending(). r=jdm
--HG--
extra : rebase_source : 8e64cfda5c5a4186401a774c8caa621441d81cfd
2017-05-24 07:22:00 -04:00
Luke Wagner 00312ec84c Bug 1351488 - Baldr: remove unintentional shadowing of 'rv' (r=janv)
MozReview-Commit-ID: 3oggzFUoqYP
2017-05-24 10:23:02 -05:00
Chun-Min Chang c369131664 Bug 1365225 - Prevent overflow. r=jwwang
MozReview-Commit-ID: 6jA1DTgVmrU
2017-05-24 09:22:42 -04:00
Sebastian Hengst d1ec3e6aa9 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-05-24 11:27:29 +02:00
Sebastian Hengst 795da9ebf8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HGZE1dfSDNK
2017-05-24 11:25:03 +02:00
Andrea Marchesini d09988bbc2 Bug 1367075 - Get rid of AudioChannelService::IsParentProcess, r=me - CLOSED TREE 2017-05-24 09:49:35 +02:00
Yoshi Huang f150e4d3c9 Bug 1366699 - rewrite dom/tests/mochitest/whatwg/test_postMessage_special.xhtml. r=ckerschb
Rewrite test_postMessage_special.xhtml to make it match the latest spec.
2017-05-24 10:03:53 +08:00
Andrea Marchesini c6a0819b83 Bug 1367075 - AudioChannelService doesn't need to be unregistered as observer for ipc:content-shutdown, r=alwu 2017-05-24 07:31:58 +02:00
Andrea Marchesini 10c6acd1a4 Bug 1359718 - Get rid of PBlob - part 5 - Fixing #includes, r=smaug 2017-05-23 18:06:52 +02:00
Andrea Marchesini eaa44dbb26 Bug 1359718 - Get rid of PBlob - part 4 - PBlob DOMTypes, r=smaug 2017-05-23 18:06:22 +02:00
Andrea Marchesini fa9cfac9fb Bug 1359718 - Get rid of PBlob - part 3 - nsIRemoteBlob, r=smaug 2017-05-23 18:05:51 +02:00
Andrea Marchesini 281c7e8cdd Bug 1359718 - Get rid of PBlob - part 2 - PBlob, r=smaug, r=kanru 2017-05-23 18:05:19 +02:00
Andrea Marchesini bc8f9a2827 Bug 1359718 - Get rid of PBlob - part 1 - Remove PBlobStream, r=smaug, r=kanru 2017-05-23 18:04:27 +02:00
Andrea Marchesini 28479706ea Bug 1359718 - Get rid of PBlob - part 0 - remove PMemoryStream, r=smaug 2017-05-23 18:00:30 +02:00
Makoto Kato 54382f83cb Bug 1366218 - Use fast path to check empty value. r=smaug
HTMLInputElement::IsValueEmpty uses DocumentEncoder when input element has focus.  DocumentEncoder is slow, so we should use fast path (nsTextEditorState::HasNonEmptyValue) to check whether value is empty.

MozReview-Commit-ID: 1JxAeZ6z5A4

--HG--
extra : rebase_source : 8cf89721bf59f0bde09e217428bb593ad6d328de
2017-05-23 12:27:23 +09:00
Ryan VanderMeulen 0bd37c1ea1 Merge inbound to m-c. a=merge 2017-05-23 18:12:57 -04:00
Ryan VanderMeulen 2942c9f721 Backed out changeset 1a261952f14a (bug 1365187) for frequent Win7 test_linkErrorInCommon2.html failures. a=me 2017-05-23 18:11:48 -04:00
Ryan VanderMeulen 27fd4cc7e2 Merge inbound to m-c. a=merge 2017-05-23 18:11:35 -04:00
Ehsan Akhgari 1040ee9f65 Bug 1347035 - Store the maximum touch points for each tab child on the object instead of querying it synchronously from the parent actor when neeeded; r=smaug ipc-r=kanru 2017-05-23 17:00:09 -04:00
Bill McCloskey 691628a34e Bug 1364570 - Dispatch link prefetch events asynchronously to avoid DocGroup mismatches (r=bz)
When we send out a prefetch request, we act as if the load came
from one of the possibly many documents containing <link> element
for the given URL. The docgroup assigned to this request is
derived from this document. Later, when the load finishes, the
OnStopRequest code runs in a runnable labeled with this
docgroup. OnStopRequest dispatches a load event to *all* the link
elements, including some that might be in different docgroups
from the OnStopRequest runnable. This generates an assertion.

To fix this, I decided to dispatch the load events
asynchronously. I'm hoping the extra round trip through the event
loop shouldn't hurt us too much since I doubt anyone actually
listens for these events.

MozReview-Commit-ID: FTkjuHO7RFp
2017-05-23 13:56:49 -07:00
Ryan VanderMeulen 41f95294f5 Backed out changeset eeb73d8c0542 (bug 1364570) for static analysis failures on a CLOSED TREE. 2017-05-23 15:31:16 -04:00
Timothy Nikkel c8ba76db41 Bug 1366875. Apply the same sync decoding heuristic to SVG <image> as we do to HTML <img>. r=mats
--HG--
rename : layout/svg/nsSVGImageFrame.cpp => layout/svg/nsSVGImageFrame.h
2017-05-23 14:11:13 -05:00
Bill McCloskey 226f6b9185 Bug 1366869 - Make DISPATCH_NORMAL be the default flags argument for nsIEventTarget::Dispatch (r=froydnj)
MozReview-Commit-ID: 5DVcIaMHH95
2017-05-23 12:05:43 -07:00
Bill McCloskey 79d1a76b44 Bug 1364570 - Dispatch link prefetch events asynchronously to avoid DocGroup mismatches (r=bz)
When we send out a prefetch request, we act as if the load came
from one of the possibly many documents containing <link> element
for the given URL. The docgroup assigned to this request is
derived from this document. Later, when the load finishes, the
OnStopRequest code runs in a runnable labeled with this
docgroup. OnStopRequest dispatches a load event to *all* the link
elements, including some that might be in different docgroups
from the OnStopRequest runnable. This generates an assertion.

To fix this, I decided to dispatch the load events
asynchronously. I'm hoping the extra round trip through the event
loop shouldn't hurt us too much since I doubt anyone actually
listens for these events.

MozReview-Commit-ID: FTkjuHO7RFp
2017-05-23 12:04:31 -07:00
Bill McCloskey c1a1aeca32 Bug 1365184 - Fix docgroup mismatch during cycle collection (r=smaug)
MozReview-Commit-ID: Ld68RGU6lmB
2017-05-23 12:04:31 -07:00
Andreas Farre 32f9f451fa Bug 1367025 - Don't start throttling delay timers while suspended. r=bkelly
From c350a6db4069d1a33a21546a287714bfe07e0590 Mon Sep 17 00:00:00 2001
---
 dom/base/TimeoutManager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2017-05-23 15:36:08 +02:00
Daosheng Mu a720df3b9d Bug 1358395 - Part 2: Enable GamepadExtensions Web API the for the release build; r=kip,qdot
MozReview-Commit-ID: BuIKJy3NEHq

--HG--
extra : rebase_source : 731a0ddd01e12c07f3eaaba491ff203527fd40d1
2017-05-19 00:11:45 +08:00
Daosheng Mu e3e60c3019 Bug 1358395 - Part 1: Enable WebVR APIs of test_interfaces for the release build; r=kip,qdot
MozReview-Commit-ID: 2gsY6JQwKkA

--HG--
extra : rebase_source : 29a2935d764875d409b33006dea325453a2ea714
2017-05-17 18:58:54 +08:00
Alfredo Yang 55d6ddef12 Bug 1365872 - remove parsing mp4v mCodecSpecificConfig which is for b2g. r=jya
MozReview-Commit-ID: G3l6AtEH0hO

--HG--
extra : rebase_source : bad9f7ae16715acb53826a494203cd7bbee138b3
2017-05-18 16:54:43 +08:00
Gerald Squelart 4d566af858 Bug 1366936 - Telemetry: Watermark of number of block owners during MediaCache sessions - r=cpearce,francois
MozReview-Commit-ID: Ed1Eah9TuSJ

--HG--
extra : rebase_source : b539ba0f551c821d0b093435f0fdba958ecd3aaa
2017-05-23 14:59:16 +12:00
Chris Pearce 1291d78800 Bug 1366907 - Remove BufferDecoder's GMPCrashHelper. r=karlt
We no longer support decoding non-EME audio via GMPs, so it's not possible
for a GMP to be used for decoding content that passes through a WebAudio
BufferDecoder. So we don't need to keep the GMPCrashHelper around in the
WebAudio code. If EME content is being used, there will be a crash helper on
the MediaKeys object anyway.

MozReview-Commit-ID: BThxnTANSTD

--HG--
extra : rebase_source : 2c2ce4e982dcef6e3985c426386974083505c953
2017-05-23 11:09:08 +12:00
Gerald Squelart 8183f3fe78 Bug 1366929 - Telemetry: Watermark (in KB) reached by each MediaCache session - r=cpearce
MozReview-Commit-ID: 6BDFFYq1JnJ

--HG--
extra : rebase_source : dd67c472369d3c0db714333e1eb9f7c665514b17
2017-05-23 14:44:06 +12:00
Ron Waisberg 56e5364aaf Bug 1326154 - Fix to prevent FlyWebService from pointing to a URL with a different origin. r=djvj
--HG--
extra : rebase_source : ef7e60f1c16f3d9faaf7bf88db4b5c39699de7f9
2017-05-23 15:17:02 -04:00
Ryan VanderMeulen 4202c4feab Merge m-c to autoland. a=merge 2017-05-23 18:13:54 -04:00
bechen 5eb2235537 Bug 1325001 - TextTrackList::GetShowingCues should return cues whose kind is Subtitles or Captions. r=rillian
We should only render the Subtitles/Captions cue on the screen. In addition, rename the activeCues to showingCues.
Because the meaning of "active" and "showing" are different. Showing means we can see the cue on the screen, active means the current playback time touches the cue.

MozReview-Commit-ID: 1BfHhxFXBDP

--HG--
extra : rebase_source : 2c4d6b0b052758f1bb01a7794365bf75b556304c
2017-05-22 11:30:22 +08:00
Mike Conley a6e4cd7b77 Bug 1362866 - Get rid of MozTabChildNotReady event and all of its required infrastructure. r=billm
This event is no longer necessary, since checking nsITabParent.hasPresented is enough to know
if we need to blank out the tab or not.

MozReview-Commit-ID: 445XMqhorxC

--HG--
extra : rebase_source : 1a05de827502c409d979a621471978b08ce39fb2
2017-05-07 21:26:08 -04:00
Ryan VanderMeulen 22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
Alex Chronopoulos ef928e094b Bug 1366707 - update callers of cubeb_device_collection_destroy. r=kinetik
MozReview-Commit-ID: JByi6XfgWh2

--HG--
extra : rebase_source : 440f791a101d9b94b74c55e2ba6802cc4e66fecb
2017-05-23 11:30:05 +03:00
Georg Fritzsche 31c702afef Bug 1361661 - Part 2 - Make Telemetry IPC code pass around Telemetry::ProcessID. r=dexter
Switching to Telemetry::ProcessID allows us to break out extension process data from the content process data.
2017-05-23 13:47:58 +07:00
Axel Nennker 9738486c01 Bug 1364991 - Make U2FTokenManager use const where possible r=qdot
The U2F Soft Token, due to its usage of NSS, has to have const values be
marked non-const - but no such limitation should exist for other implementations
of U2F, so this patch moves the const_cast-ing from the U2FTokenManager-level
down to the U2FSoftTokenManager, where it is actually necessary.

Credit to Axel Nennker for this patch.

MozReview-Commit-ID: Kw6zfTDI3GL

--HG--
extra : rebase_source : 90e31e2da9e021043509653a476ddaae03078e55
2017-05-22 16:40:29 -07:00
Ting-Yu Chou 6d83ca4000 Bug 816784 part 2 - Optimize NukeCrossCompartmentWrappers() to iterate only the targetting wrappers. r=jonco
Changed the type of argument |targetFilter| of NukeCrossCompartmentWrappers()
from CompartmentFilter to JSCompartment* because it is always a single target
compartment, and we can optimize the iteration not to iterate the outer map.

MozReview-Commit-ID: 7cDCgJI0H9z

--HG--
extra : rebase_source : 4973dfd4c3326bf48b78088979962e425e35030c
2017-05-03 13:56:54 +08:00
Chris Pearce e5bb59cbdf Bug 1366639 - Add telemetry to track max number of PChromiumCDM video frame shmems. r=francois,gerald
This will enable us to pre-allocate the correct number of shared memory buffers
that we pre-allocate for sending video frames between the CDM and Gecko. That
means we won't need to take the slow path to recover from underestimating how
many shmems we need.



MozReview-Commit-ID: Q4mX2rYMz3

--HG--
extra : rebase_source : f9573cfbf4e65013803b46c0909be2c68566e512
2017-05-22 15:03:00 +12:00
JW Wang 5a222af5cc Bug 1366640 - add a telemetry probe to debug main thread hang in VideoFrameContainer. r=cpearce,francois
MozReview-Commit-ID: 6crTtq1IeD9

--HG--
extra : rebase_source : 106afd126a00c63ce866781917d178aa17c29781
extra : source : 31e57a8b0c07f4053341d0f046db994b4476fd83
2017-05-19 12:37:37 +08:00
Wes Kocher 9a8d52f7af Merge m-c to autoland, a=merge
MozReview-Commit-ID: AVwPRGa5re9
2017-05-22 16:38:46 -07:00
Wes Kocher 2933592c4a Merge inbound to central, a=merge
MozReview-Commit-ID: 7NiWtCjPk84
2017-05-22 16:26:12 -07:00