Commit Graph

56404 Commits

Author SHA1 Message Date
Ting-Yu Lin
904617e77f Bug 1310509 - Call NotifyAsyncPanZoomStarted/Stopped on document containing current scrolling content. r=kats
We now call NotifyAsyncPanZoomStarted/Stopped precisely on the document
which is being transformed, so we no longer need to notify the child
docshells which was added in Bug 1088559.

Remove the |nsIDocument| argument for ProcessAPZStateChange(), which is not
used anymore.

mActiveAPZTransforms added in bug 1142926 is removed because AccessibleCaret
is the only consumer for AsyncPanZoomStarted/Stopped, and it now defaults to
always show while scrolling, i.e.
"layout.accessiblecaret.always_show_when_scrolling" defaults to true. And I
cannot reproduce the bug even if I turn off the preference.

MozReview-Commit-ID: DiEk2gCIHn2
2016-11-04 22:27:02 +08:00
Andrea Marchesini
6674864b91 Bug 1315185 - Get rid of FileSystemFileEntry.createWriter, r=smaug 2016-11-04 14:23:46 +01:00
Gabor Krizsanits
a7a38b8a5f Bug 1301340 - part6: Disabled test should still run in non-e10s mode. r=me 2016-11-04 11:05:55 +01:00
Jon Coppeard
11dbca2419 Bug 1309929 - Use an async memory report for workers r=erahm r=bkelly 2016-10-28 10:50:16 +01:00
Andrea Marchesini
d3d14179f3 Bug 1315209 - Remove a warning in FlyWeb code, r=me 2016-11-04 11:49:14 +01:00
Andrea Marchesini
5feecb1e1b Bug 1313859 - BlobImplStream implements nsIMemoryReporter, r=njn 2016-11-04 07:52:04 +01:00
Phil Ringnalda
44d4420081 Backed out changeset 14d7b6dbe0fb (bug 1314827) to be able to back out something else
MozReview-Commit-ID: 39mFOtrNixM

--HG--
rename : dom/base/test/gtest/TestNativeXMLHttpRequest.cpp => dom/base/test/TestNativeXMLHttpRequest.cpp
rename : dom/base/test/gtest/TestPlainTextSerializer.cpp => dom/base/test/TestPlainTextSerializer.cpp
2016-11-03 22:59:49 -07:00
Martin Thomson
6d119732db Bug 1312306 - Followup to fix operator error, a=bustage
MozReview-Commit-ID: Idnigs48DpY
2016-11-04 14:48:34 +11:00
Nicholas Nethercote
bed5771bdb Bug 1314827 - gtestify dom/base/test/*.cpp. r=baku.
The commit removes TestGetURL.cpp which wasn't doing anything useful anyway
because it required an argument but wasn't being passed one, and so it was just
aborting immediately with a usage message.

--HG--
rename : dom/base/test/TestNativeXMLHttpRequest.cpp => dom/base/test/gtest/TestNativeXMLHttpRequest.cpp
rename : dom/base/test/TestPlainTextSerializer.cpp => dom/base/test/gtest/TestPlainTextSerializer.cpp
extra : rebase_source : 224fd2f984eb456b7db56fbe7fc396aeec3a84c1
2016-11-04 14:36:23 +11:00
Phil Ringnalda
0a6e7a6139 Merge m-c to m-i
MozReview-Commit-ID: FPgY4by0sMY
2016-11-03 20:05:18 -07:00
Phil Ringnalda
0f32b67e2d Merge m-i to m-c, a=merge
MozReview-Commit-ID: Hm1RxN6OaoZ
2016-11-03 19:32:48 -07:00
Gabor Krizsanits
566393518d Bug 1301340 - part5: Turning off some tests temporarily to enable e10s-multi. r=mrbkap 2016-11-03 19:28:15 +01:00
Till Schneidereit
a14435c813 Bug 1298414 - Properly handle resolve/reject callbacks on xray'd promises. r=bz,efaust
MozReview-Commit-ID: H9dppdKlRG6
2016-11-03 19:08:56 +01:00
Matt Woodrow
6dad1a961a Bug 1300676 - Part 3 - Implement readback for GPU videos. r=dvander,nical 2016-11-04 13:28:28 +13:00
Matt Woodrow
4f998dbe2b Bug 1300676 - Part 1: Allow asynchronous deletion of Shmem for VideoDecoderManagerChild. r=dvander 2016-11-04 13:28:28 +13:00
Andreas Pehrson
16cfbad982 Bug 1309886 - Check that pre-renegotiation track ends in test_pc_addtrack_removetrack_events.html. r=drno
MozReview-Commit-ID: FEacxtjZ5jZ

--HG--
extra : rebase_source : 659964999bde0b5cab6ca52c16cc57da64521d07
2016-10-13 15:30:01 +02:00
John Lin
aae0af521c Bug 1313993 - Return zero-duration video frames. r=snorp
MozReview-Commit-ID: I5LDWb4V1ky

--HG--
extra : rebase_source : 4e94338d5f200741afa7cc3133ff8cd265a075bf
2016-11-01 12:46:04 +08:00
Alastor Wu
9e8e7969e0 Bug 1302350 - part6 : ensure loading process doens't be interrupted even media element can't be played. r=jwwang
We don't want to stop the loading process even we canceled the play operation.

MozReview-Commit-ID: FyPqBlDKYo0

--HG--
extra : rebase_source : fdbc4390a7763bdbe26e8b809d977234bb5360ea
2016-11-02 14:22:35 +08:00
Alastor Wu
a7414dc3e6 Bug 1302350 - part4 : refactor the media-blocking mechanism. r=jwwang
The old way is to start playing first, and then block the media element. This
way is too complicated because it involves lots of interal state and isn't intuitive.

The new way is to ignore the play if the media element should be blocked. It's
easy to know and we doesn't need to keep any internal states because we don't play
the media element.

MozReview-Commit-ID: B20e0pvXES4

--HG--
extra : rebase_source : 6bff5447783c2997050e5c69884afe2c85ddf382
2016-11-02 14:22:24 +08:00
Alastor Wu
45cac62c4c Bug 1302350 - part3 : provide a method to know the media-block-state before connecting to the AudioChannelService r=baku
In order to refactor the blocking mechanism, we want to know the blocking state
before calling notifyStartedPlaying().

MozReview-Commit-ID: 3wa2M7qwUAm

--HG--
extra : rebase_source : d128463b7fd892b966d80d5b5f76537819f35bcf
2016-11-01 17:46:11 +08:00
Alastor Wu
c2f555c0fd Bug 1302350 - part2 : provide a method to check whether the agent was started. r=baku
Since the agent is created in beginning in patch1, we need another way to know
whether we have already called notifyStartedPlaying().

MozReview-Commit-ID: 5YNhwEl5Xfp

--HG--
extra : rebase_source : 6a2913e5d81591faf1a7383d9fcb9db2cf3f83d3
2016-11-01 17:46:09 +08:00
Alastor Wu
8dda44f0e7 Bug 1302350 - part1 : create audio channel agent in the beginning. r=baku
We create audio channel agent in the beginning in oreder to use some agent's methods.
But the agent is still started after media element starting playing.

MozReview-Commit-ID: KPGb7snB2t7

--HG--
extra : rebase_source : dba4b687f572d520481721f48a0b4e9796f73e1f
2016-11-01 17:46:07 +08:00
JW Wang
064360e846 Bug 1314787 - Remove function-static race from DecoderAllocPolicy::Instance(). r=gerald
MozReview-Commit-ID: 7XfaUZo3oh9

--HG--
extra : rebase_source : 532dd73fbf27afd93fd64683b6460e29e16b390e
2016-11-03 09:56:17 +08:00
JW Wang
c53169bf84 Bug 1311872. Part 4 - exit dormant in response to user actions. r=cpearce,jya
MozReview-Commit-ID: CTXUlpfLNBQ

--HG--
extra : rebase_source : 5176223fc8162fa0aa3dd1b7d9c326fd74470a22
extra : intermediate-source : c0411410d55f8ae08439682004d451eb88777e82
extra : source : 6d3434d15b1ea63635db43f39ed95b0b3ff9b5be
2016-10-21 15:52:17 +08:00
JW Wang
2d31845215 Bug 1311872. Part 3 - enter dormant when being paused for a while. r=cpearce,jya
MozReview-Commit-ID: HJjhFebQ8WI

--HG--
extra : rebase_source : 4d1c68c2ce2d4b156d962c61d24b8fe1d4cbae0e
extra : intermediate-source : f45501530b47ad269f471e58d711d34267478cfa
extra : source : 3cd38509ca63b789bfc6325222e7ef80133958ec
2016-10-20 14:45:05 +08:00
JW Wang
17b67ee7f4 Bug 1311872. Part 2 - remove the dormant test that doesn't work anymore. We will write new dormant tests in next bugs. r=cpearce,jya
MozReview-Commit-ID: 5w0rh2LcE5L

--HG--
extra : rebase_source : ddf085e16bdf93539fc82bc58948d6494b2d060b
extra : intermediate-source : b878ed8f33f09d24672234c7d094ec0af1f73229
extra : source : 84a3625e91347e54c70f584b715b171b5db61a50
2016-10-20 15:51:39 +08:00
JW Wang
9fcd26988d Bug 1311872. Part 1 - remove dormant code from MediaDecoder and its friends. We will let MDSM solely decide when to enter/exit dormant. r=cpearce,jya
MozReview-Commit-ID: 4rRSGcruy7Z

--HG--
extra : rebase_source : 6bff3bde442dbc96ce23a4a1aabae9ec79f1b9f0
extra : intermediate-source : 456de41037090ff072925d937b001de31a479556
extra : source : 525be5a0f46950ced9efba9a7cfeda26ce73cfb8
2016-10-20 15:20:25 +08:00
Phil Ringnalda
45c34d7e95 Merge m-c to autoland 2016-11-02 20:03:20 -07:00
Phil Ringnalda
393b414467 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Sebastian Hengst
5cd97768df Backed out changeset 0473f2d0d024 (bug 1289001) for eslint failures. r=backout on a CLOSED TREE 2016-11-02 23:04:44 +01:00
Shih-Chiang Chien
e1a55792f5 Bug 1314229 - return undefined/null for defaultRequest/receiver if not in corresponding UA or context. r=smaug.
MozReview-Commit-ID: KUWdfz1u55O

--HG--
extra : rebase_source : 8720563524bfd58f8be65d84cda48984f134f074
2016-11-02 17:53:31 +08:00
Chris Pearce
50f2864875 Bug 1314445 - Fix test_eme_request_notifications to not fail on WinXP. r=bustage
MozReview-Commit-ID: 5zbySCZtI1b
2016-11-03 14:43:04 +13:00
Wes Kocher
0b825de25a Backed out changeset e71aa9bcb92c (bug 1309913) for osx reftest failures in linear-gradient-1a.html a=backout 2016-11-02 10:48:07 -07:00
Andrea Marchesini
d20e6fd29f Bug 1289001 - NeckoParent::GetValidatedAppInfo should consider ServiceWorkers when validating HttpChannel requests, r=bkelly, r=valentin, f=asuth 2016-11-02 21:57:45 +01:00
Matt Woodrow
5375ddbb83 Bug 1300681 - Use gfxVars for DXVA blacklist prefs so that they work in the GPU process. r=dvander,gerald 2016-11-03 09:57:18 +13:00
Matt Woodrow
552d016944 Bug 1300678 - Use gfxPrefs for media vars that get accessed from the GPU process. r=jya 2016-11-03 09:57:18 +13:00
Matt Woodrow
b087b32f08 Bug 1314192 - Initialize the normal WMF PDM as well as the Remote one since we need it as fallback for audio. r=jya 2016-11-03 09:57:18 +13:00
Matt Woodrow
3b4d158ee3 Bug 1314189 - Only create a RemoteVideoDecoder if the current LayerManager is using the GPU process. r=dvander 2016-11-03 09:57:15 +13:00
Matt Woodrow
f884ec26e9 Bug 1300675 - Rebuild VideoDecoderManager when we restart the GPU process. r=dvander 2016-11-03 09:55:07 +13:00
Matt Woodrow
9e56f22190 Bug 1314186 - Resync LayerTreeId mappings to the GPU process if it restarts. r=dvander 2016-11-03 09:55:07 +13:00
Ryan Hunt
e79eae17bc Bug 1313884 - Check if mTarget is null in CanvasRenderingContext2D::DrawImage
--HG--
extra : rebase_source : 0eb7b22cd829dc5f4ad6eaaa44a0009529010e47
2016-11-01 13:56:55 -05:00
Sebastian Hengst
a3b55f01b5 Backed out changeset 021cef553ece (bug 1312148) for failing test_bitmaprenderer.html on Windows 8 x64 opt. r=backout 2016-11-02 17:46:04 +01:00
Chris Pearce
824ce92dc8 Bug 1314445 - Update tests for CDM request notifications to reflect new behaviour. r=gerald
MozReview-Commit-ID: JgKMFHW2al3

--HG--
extra : rebase_source : 62c6da570c7f0b0216157f133137d0ae647ec0f7
2016-11-02 16:14:16 +13:00
Chris Pearce
41c0c8d360 Bug 1314445 - Remove tests for CDM versions specified in keysystem string. r=gerald
MozReview-Commit-ID: F12I1cmfvke

--HG--
extra : rebase_source : 11b2c67353b3fb9affbcd4de53aa5e9cdc9910a6
2016-11-02 16:13:45 +13:00
Chris Pearce
f0fecc8c28 Bug 1314445 - Remove unused enum values from MediaKeySystemStatus. r=smaug
This WebIDL enum/dict is used to pass messages from Gecko to the front-end
chrome JS code to notify it of problems starting up EME CDMs. This patch
removes some statuses from the enum that are no longer dispatched as of an
earlier patch in this series.

MozReview-Commit-ID: KjbUTvLBhjw

--HG--
extra : rebase_source : 9c9ddf6b2b9df845a2807186e8649684e9227ee3
2016-11-02 11:59:51 +13:00
Chris Pearce
d5c366c045 Bug 1314445 - Remove unused ParseKeySystem(). r=gerald
MozReview-Commit-ID: KdIpvet73LR

--HG--
extra : rebase_source : aed95e2b024af6fa36f0da96f564966c8d7f3a7d
2016-11-02 13:56:23 +13:00
Chris Pearce
c28985ad89 Bug 1314445 - Remove GMPService::GetPluginVersionForAPI. r=gerald
MozReview-Commit-ID: ybq6ZZlA9P

--HG--
extra : rebase_source : 1a8356740cbb9d73f7d851cb82f8b71c0ca364c4
2016-11-02 11:57:14 +13:00
Chris Pearce
5ebd6552d1 Bug 1314445 - Make MediaKeySystemAccess use GMPService::HasPluginForAPI. r=gerald
Removes callers of GMPService::GetPluginVersionForAPI().


MozReview-Commit-ID: KZcyfDAfTR7

--HG--
extra : rebase_source : ee774359a30c75390eef43d7a6b94789070e77a4
2016-11-02 13:42:40 +13:00
Chris Pearce
20b6c3ec6b Bug 1314445 - Don't pass CDM version to MediaKey*. r=gerald
We don't need this, and we don't seem to be using this anyway.

MozReview-Commit-ID: 7NCRO94PN3m

--HG--
extra : rebase_source : de91b099e5e536eb321584990f18025e08c7cc78
2016-11-02 11:56:30 +13:00
Chris Pearce
ca6cc0c8f4 Bug 1314797 - Dispatch 'gmp-changed' notification after updating GMP capabilities. r=gerald
This ensures that when requests for keysystem access in the content process
retry, they do so on an up-to-date set of capabilities.

MozReview-Commit-ID: JxmlZnFhKYs

--HG--
extra : rebase_source : 6e02777be6a0692c7e157d3ab0a1952c3017c208
2016-11-03 11:18:29 +13:00