Commit Graph

498316 Commits

Author SHA1 Message Date
Alastor Wu
5476b14a53 Bug 1302350 - part5 : modify test to make sure blocked media won't dispatch 'play' event. r=baku
Add test case to make sure the blocked media won't dispatch 'play' event.

MozReview-Commit-ID: JXibqgVrKce

--HG--
extra : rebase_source : 5cb4d564ddfb366f12560b921e33ffa5c9fb1627
2016-11-02 14:22:33 +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
Nicolas Chevobbe
21cbbac15a Bug 1307938 - Add a Rep for DOM nodes. r=Honza,pbro;
Add tests based on existing browser_webconsole_output_dom_elements_*.js tests.

MozReview-Commit-ID: Wmzg0knuuh

--HG--
extra : rebase_source : e0751da8bbdaa91983f4ba34550cbe9860b8fff6
2016-10-17 19:29:32 +02:00
Nicolas Chevobbe
6bebdd2692 Bug 1313765 - Make Rep handles Proxy. r=Honza;
In the GripRep, we were using the root property `ownPropertyLength` to
retrieve additionnal uninterresting props on the Grip. For Proxy
objects, we don't have this property, but a `preview.ownPropertiesLength`.
This adds a test case similar to the one for Proxy in browser_webconsole_output_05.js.

MozReview-Commit-ID: 652cfTlW7Sg

--HG--
extra : rebase_source : a05306672264c2a449989075adddc35ddf5946e1
2016-10-31 20:02:02 +01:00
Xidorn Quan
fe23eb51ba Bug 1314531 - Disallow xul tree pseudo-elements with user action pseudo-classes. r=heycam
MozReview-Commit-ID: 85DDwDl0oYg

--HG--
extra : rebase_source : 815ac13a1991c0b155e8a78739ba346dbe2110b0
2016-11-03 11:21:19 +11: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
ca91297518 Bug 1311872. Part 5 - disable dormant when running mochitests. r=cpearce,jya
MozReview-Commit-ID: ETFdW7V707j

--HG--
extra : rebase_source : 827b8a2562a1babc61d0a8e48764f56e3517c181
extra : intermediate-source : bf9cb728c1b8c71784960ad5b566eb72162a7627
extra : source : ab61dc9344cbf040e7922c0bd99794f9dfb4ce34
2016-10-28 15:06:24 +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
KuoE0
8326d4e877 Bug 1313601 - Disable presentation mode when taps disconnect from Chromecast on Android Notification Bar. r=sebastian
MozReview-Commit-ID: Ge83JjnPSJg

--HG--
extra : rebase_source : 61ab7e78a1ce6006ea5c32b723f66cf7e79a4b1a
2016-10-28 16:26:03 +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
Wes Kocher
b3cc5c7c85 Merge autoland to m-c a=merge 2016-11-02 17:15:58 -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
Sebastian Hengst
c762cb9627 Backed out changeset 40e351ced11b (bug 1289001) 2016-11-02 23:04:05 +01:00
Shane Caraveo
cb4c301312 Bug 1273138 fix WebRequest for background pages, r=kmag
MozReview-Commit-ID: DEW9anMmKi2

--HG--
extra : rebase_source : 7d82d1000473b2530d6144987a28e35815c11999
2016-11-02 09:30:50 -07:00
Shane Caraveo
5dad9554f6 Bug 1314493 simplify xhr webrequest tests for uploads, fix xhr blob send, r=kmag
MozReview-Commit-ID: 4sQGgwD6HMC

--HG--
extra : rebase_source : 52e103db1287d122e6b434840affbae7335c74f9
2016-11-02 09:27:48 -07:00
ffxbld
e9855bb022 No bug, Automated blocklist update from host bld-linux64-spot-588 - a=blocklist-update 2016-11-02 06:10:46 -07:00
ffxbld
fdf04fa504 No bug, Automated HPKP preload list update from host bld-linux64-spot-588 - a=hpkp-update 2016-11-02 06:10:43 -07:00
ffxbld
5510b83ac8 No bug, Automated HSTS preload list update from host bld-linux64-spot-588 - a=hsts-update 2016-11-02 06:10:41 -07: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
9d0974323e Merge m-c to autoland, a=merge 2016-11-02 17:34:29 -07:00
ffxbld
72b2b4d782 No bug, Automated blocklist update from host bld-linux64-spot-077 - a=blocklist-update 2016-11-01 06:31:32 -07:00
ffxbld
4f64203fa7 No bug, Automated HPKP preload list update from host bld-linux64-spot-077 - a=hpkp-update 2016-11-01 06:31:30 -07:00
ffxbld
069ce0d051 No bug, Automated HSTS preload list update from host bld-linux64-spot-077 - a=hsts-update 2016-11-01 06:31:28 -07:00
Phil Ringnalda
f5c9e9a249 Bug 1308040 followup, placate eslint, a= 2016-10-31 19:33:01 -07:00
Phil Ringnalda
e06d171743 Merge the last of f-t to m-c, a=merge
MozReview-Commit-ID: KS152JZGk5o
2016-10-31 18:37:53 -07:00
Phil Ringnalda
56dcb2694d Merge m-i to m-c, a=merge
MozReview-Commit-ID: J2Mx0f21eBE
2016-10-31 18:35:14 -07:00
Jeff Gilbert (:jgilbert)
851bd95543 Bug 1313541 - Fix compressedTexImage size validation. - r=ethlin
MozReview-Commit-ID: 4o83xIMyYMD
2016-10-31 15:03:31 -07:00
Jeff Gilbert (:jgilbert)
ae64777e89 Bug 1313541 - Fix CompressedTexImage entrypoints to add size. - r=qdot
MozReview-Commit-ID: AYjsBCKSLUN
2016-10-31 15:03:29 -07:00
Jeff Gilbert (:jgilbert)
3ba19b96f6 Bug 1313541 - Fix test since TexSubImage is no longer nullable.
MozReview-Commit-ID: BVBsXkVTDCA
2016-10-31 15:03:26 -07:00
Jeff Gilbert (:jgilbert)
cafb4ccac4 Bug 1313541 - Rewrite TexImageSource glue. - r=ethlin
MozReview-Commit-ID: 4zwNrobTcUf
2016-10-31 15:03:24 -07:00
Jeff Gilbert (:jgilbert)
4b2a875e8b Bug 1313541 - Reimplement glue in accordance to webidl deviation minimization. - r=ethlin
MozReview-Commit-ID: 6w56cfegTz5
2016-10-31 15:03:22 -07:00
Jeff Gilbert (:jgilbert)
6527bc9ca5 Bug 1313541 - Minimize deviation from top of tree webidl. - r=qdot
MozReview-Commit-ID: 5WPhDfckzTa
2016-10-31 15:03:19 -07:00
Jeff Gilbert (:jgilbert)
4d5bc96887 Bug 1313541 - ClearBuffer impl. - r=ethlin
MozReview-Commit-ID: BcniOSuYh6O
2016-10-31 15:03:17 -07:00
Jeff Gilbert (:jgilbert)
469b884470 Bug 1313541 - ClearBuffer webidl. - r=qdot
MozReview-Commit-ID: HkZG1htvJ5J
2016-10-31 15:03:14 -07:00
Jeff Gilbert (:jgilbert)
da6363d868 Bug 1313541 - ClearBuffer style fixes. - r=ethlin
MozReview-Commit-ID: CZbWDAepxlX
2016-10-31 15:03:12 -07:00
Jeff Gilbert (:jgilbert)
ec29704197 Bug 1313541 - Uniform impl. - r=ethlin
MozReview-Commit-ID: DN8sUfRR0z7
2016-10-31 15:03:09 -07:00
Jeff Gilbert (:jgilbert)
85e4f2e105 Bug 1313541 - Uniform webidl. - r=qdot
MozReview-Commit-ID: 7cndvoLmjaS
2016-10-31 15:03:07 -07:00
Jeff Gilbert (:jgilbert)
b9f6f1e47e Bug 1313541 - Texture impl. - r=ethlin
MozReview-Commit-ID: DEyr93aD3IF
2016-10-31 15:03:05 -07:00
Jeff Gilbert (:jgilbert)
bce071555d Bug 1313541 - Texture webidl. - r=qdot
MozReview-Commit-ID: KmmMIC0Gv81
2016-10-31 15:03:03 -07:00
Jeff Gilbert (:jgilbert)
ab4d2d1cc5 Bug 1313541 - Texture impl. - r=ethlin
MozReview-Commit-ID: GEYMTnqC9Q3
2016-10-31 15:03:00 -07:00
Jeff Gilbert (:jgilbert)
73c6137df9 Bug 1313541 - Texture webidl. - r=qdot
MozReview-Commit-ID: 3mEVcPVwURO
2016-10-31 15:02:58 -07:00
Jeff Gilbert (:jgilbert)
6ffdc434af Bug 1313541 - GetBufferSubData impl. - r=ethlin
MozReview-Commit-ID: BOQYxIAqsDN
2016-10-31 15:02:56 -07:00