Commit Graph

56672 Commits

Author SHA1 Message Date
Jean-Yves Avenard
510964c575 Bug 1316205: P2. Remove wave duplicated code. r=kaku
MozReview-Commit-ID: 5s7eeMa9DU9

--HG--
extra : rebase_source : c8180552158face5950fa4ad6825f13d9d5f4366
2016-11-09 13:08:56 +11:00
Jean-Yves Avenard
f170567837 Bug 1316205: P1. Remove unused WaveReader. r=kaku
MozReview-Commit-ID: 6pMFt9jrFED

--HG--
extra : rebase_source : a1ef4df68fc76086b00c9b60c1b1aac745d2d5c1
2016-11-09 12:52:53 +11:00
Jean-Yves Avenard
87a107c468 Bug 1313632: P2. Cleaner Ogg related headers. r=kaku
MozReview-Commit-ID: DpnezpZw27H

--HG--
extra : rebase_source : 3700dbccbc98ae2aadd29fcf3fbef3e38fdec13c
2016-11-09 12:19:06 +11:00
Jean-Yves Avenard
d3a0f99985 Bug 1313632: P1. Remove unused OggReader. r=kaku
Also remove related preference.

MozReview-Commit-ID: D5pkyPXAoG9

--HG--
extra : rebase_source : 845d14a7059ae54d939300bb0f7f51664da05ff4
2016-11-09 11:54:41 +11:00
Gerald Squelart
b500aaacf6 Bug 1316206 - Fix RefPtr assignments from 0 - r=froydnj
Giving '0' (literal zero) to RefPtr is now ambiguous, as both
RefPtr(decltype(nullptr)) and RefPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.

MozReview-Commit-ID: A458A4e9for

--HG--
extra : rebase_source : bc4107ce1767329e3dddfe34c55ba79202192e06
2016-11-08 14:34:06 +11:00
Joel Maher
e897b35591 Bug 1316114 - reset sjs file at the end of the test case. r=jmaher
MozReview-Commit-ID: FKm93zKuFe1

--HG--
extra : rebase_source : d6ae819e3ba5df555dfedb205d6d6e37538300f0
2016-11-09 16:18:08 -05:00
Carsten "Tomcat" Book
6999313142 Merge mozilla-central to autoland 2016-11-09 16:42:13 +01:00
Carsten "Tomcat" Book
846adaea6c merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Sebastian Hengst
115286c614 Backed out changeset 9c1069e2a42e (bug 1236222) for failing xpcshell test test_csp_reports.js. r=backout 2016-11-09 11:31:38 +01:00
Yoshi Huang
f69409d97b Bug 1315927 - ignore firstPartyDomain and userContextId in PermissionStatus. r=baku 2016-11-09 18:04:31 +08:00
Tanuja Sawant
134e80abde Bug 1236222 - CSP: Blocked URI should be empty for inline violations. r=ckerschb 2016-11-07 19:22:53 +05:30
Matt Woodrow
815b1ded77 Bug 1315144 - Add new non-fatal media error so that we recreate decoders when the GPU process crashes. r=jya 2016-11-08 15:22:37 +13:00
Matt Woodrow
f880884b57 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Jan-Ivar Bruaroey
f89ebba64a Bug 1315858 - Test ability to detect screensharing sources that are firefox. r=florian,jesup
MozReview-Commit-ID: K6Kkdaso7dd

--HG--
extra : rebase_source : e655b26439496af416bd7b1072c6f74cf20401a2
2016-11-07 12:20:41 -05:00
JW Wang
c2bf477b21 Bug 1314884. Part 7 - remove SeekResolveValue::mEventVisibility for we always assume MediaDecoderEventVisibility::Observable in P6. r=kaku
MozReview-Commit-ID: 8jUaFPkQQxA

--HG--
extra : rebase_source : 4e3794979ec05c588458ed72472252910d1642b9
extra : source : 565d6e04892b0d8ea7fcd34d5d279f63ec21d245
2016-11-03 15:59:02 +08:00
JW Wang
8055ca2d43 Bug 1314884. Part 6 - remove SeekTarget::mEventVisibility. r=kaku
Note it is fine to always assume MediaDecoderEventVisibility::Observable in SeekJob::Resolve()
because no one will wait for the promise of internal seeks (where EventVisibility::Suppressed is passed).

MozReview-Commit-ID: Dx7AF5VhLmL

--HG--
extra : rebase_source : 517669ed4f10a136b8a2f8eafd76f26f4ad5d8e4
extra : source : 57cdd8d14c59a2f1f0eed0635814de661127ad70
2016-11-03 15:34:11 +08:00
JW Wang
6d97664f3c Bug 1314884. Part 5 - pass StateObject::EventVisibility to SeekingState::Enter() to indicate whether to publish events during seek. r=kaku
Note EventVisibility::Suppressed is used by internal seeks only like video-only seek or exit-dormant seek.

MozReview-Commit-ID: 6jlCWRJsmdI

--HG--
extra : rebase_source : db0541c959ffde647e55f563ccd109514c3780f3
extra : source : da7197e5c7d6559efb43c36dcb137c7c2a8ae55f
2016-11-03 15:32:51 +08:00
JW Wang
3337614dbc Bug 1314884. Part 4 - extract the code of HandleSeek() to the parent class. r=kaku
DormantState, DecodingState, SeekingState, BufferingState and CompletedState have exactly the same implementation of HandleSeek().
We can extract the code to avoid duplication.

MozReview-Commit-ID: 8maxjtLoQ1Q

--HG--
extra : rebase_source : 1550e372a4631fddf43c56df87e21b4b14fb3ef3
extra : source : b0d334aba575aed3efc19ab3cf0a66c21f2f478e
2016-11-03 15:21:48 +08:00
JW Wang
b888d766cb Bug 1314884. Part 3 - remove the call to |mPendingSeek.RejectIfExists(__func__)| from DormantState::HandleSeek() since it will be rejected in Exit() before transitioning to SEEKING. r=kaku
MozReview-Commit-ID: A5HE03q87Ey

--HG--
extra : rebase_source : 6ef593f21d40f3ba6bef5e69d925d9d141548afe
extra : source : eadfd6cc3f0b2370bd85bff0d7019d41f6006f2b
2016-11-03 15:15:13 +08:00
JW Wang
05d2b9b904 Bug 1314884. Part 2 - Let DORMANT transition to SEEKING when play state changes to PLAYING since we need to seek anyway whenever exiting dormant. r=kaku
MozReview-Commit-ID: 9d7Gea1iclh

--HG--
extra : rebase_source : d7d8b408580e9163635a81fd009605252ac80d21
extra : source : fbcf1a7326fd1749cc9141cf446eea904f46a92d
2016-11-03 15:02:22 +08:00
JW Wang
314f08257b Bug 1314884. Part 1 - move the calculation of seek target into DormantState::Enter() so we don't need to pass a SeekJob to the function. r=kaku
MozReview-Commit-ID: FyFp509dxwl

--HG--
extra : rebase_source : 4d6d229de4871d11b690b28b5b96463cc3b27973
extra : source : 9d718f819b6a79b67b0125972b8419b99021b75f
2016-11-03 14:54:40 +08:00
Phil Ringnalda
b12005f643 Backed out changeset 621860d37e72 (bug 1315858) for WinXP failures in test_getUserMedia_scarySources.html 2016-11-08 20:50:53 -08:00
Daosheng Mu
3df4c636a4 Bug 1310904 - Part 1: Solving non MOZ_GAMEPAD case in GamepadManager; r=lenzak800,qdot
MozReview-Commit-ID: IGkLwnSJtr1

--HG--
extra : rebase_source : 80c88ddc892711b3cd0b4f2e22f507de4333d458
2016-11-04 15:43:55 +08:00
Wes Kocher
0330db10eb Merge m-c to autoland, a=merge 2016-11-08 14:09:10 -08:00
Wes Kocher
008fdd9329 Merge inbound to central, a=merge 2016-11-08 13:58:20 -08:00
Olli Pettay
cb803253a5 bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm
--HG--
extra : rebase_source : 2ce6e06783e399e787d0445943f9f39bcef1cc22
2016-11-08 14:05:45 +02:00
Jan-Ivar Bruaroey
e67d93e9ca Bug 1315858 - Test ability to detect screensharing sources that are firefox. r=florian,jesup
MozReview-Commit-ID: K6Kkdaso7dd

--HG--
extra : rebase_source : 482d2802036e707997e3b72186e04489e2324dce
2016-11-07 12:20:41 -05:00
Kris Maglione
d31b2a7bb6 Bug 1315233: Add test for postMessage from system principal to window with non-default originAttributes. r=baku
MozReview-Commit-ID: 2rIiSghlvEA

--HG--
extra : rebase_source : dc0ce2e698f79d7a723b7e55ca88a6d8ae5971fb
2016-11-07 11:40:59 -08:00
Brad Werth
9806cee2f8 Bug 1314080 Part 5: Adds a mochitest to exercise getClientRectsAndTexts. r=smaug
MozReview-Commit-ID: IoSXK9vxPcn

--HG--
extra : rebase_source : 2b740bf3a1527887dbf458dc553ab65156e979a2
2016-11-03 11:54:34 -07:00
Shawn Huang
71456ae11e Bug 1308341 - Don't fire the progress event if the length is 0, r=baku 2016-11-08 17:45:36 +08:00
Christoph Kerschbaumer
f2776f1b8d Bug 1308889 - Try to explicitly pass aTriggeringPrincipal and aPrincipalToInherit to DoURILoad(). r=bz 2016-11-08 07:23:12 +01:00
Phil Ringnalda
27a5b8d2ae Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
CLOSED TREE

MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
Phil Ringnalda
6c8fce2953 Backed out changeset 9ee070ee6dad (bug 1315144) to get at the patch below it
CLOSED TREE

MozReview-Commit-ID: 3d5vSfNXqO4
2016-11-07 22:17:28 -08:00
Phil Ringnalda
592b02e148 Merge m-c to m-i
MozReview-Commit-ID: 8cFOopE3aHd
2016-11-07 20:40:30 -08:00
Phil Ringnalda
2c7a3afd66 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 5599Z7kxjk3
2016-11-07 20:38:29 -08:00
Phil Ringnalda
0b5f008629 Merge autoland to m-c, a=merge
MozReview-Commit-ID: CjyRb7vVnBV
2016-11-07 20:37:27 -08:00
Phil Ringnalda
c7665e5342 Bug 1315867 - Disable test_presentation_sandboxed_presentation.html until its flaky use of setTimeout can be repaired 2016-11-07 20:32:24 -08:00
Matt Woodrow
9775890c70 Bug 1315581 - Notify MediaFormatReader when the compositor gets recreated. r=jya,smaug,jw_wang 2016-11-08 15:23:12 +13:00
Matt Woodrow
f75e8a0868 Bug 1315144 - Add new non-fatal media error so that we recreate decoders when the GPU process crashes. r=jya 2016-11-08 15:22:37 +13:00
Matt Woodrow
7afb98ff2b Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Wes Kocher
147936ec43 Merge inbound to central, a=merge 2016-11-07 14:00:52 -08:00
Ben Kelly
134bb58051 Bug 1315796 Don't deref nullptr docshell in TabGroupOuter() validation code. r=smaug 2016-11-07 14:22:12 -08:00
Wes Kocher
7604d7195b Merge m-c to inbound, a=merge 2016-11-07 14:05:25 -08:00
Alex Chronopoulos
c393dbb975 Bug 1314085 - Change cubeb log level to Error. r=padenot
MozReview-Commit-ID: G0gMSf1bZiF
2016-11-07 12:25:16 +02:00
Andrea Marchesini
a467e08b38 Bug 1315173 - Make nsIStringInputStream a builtinclass, r=valentin, r=njn 2016-11-07 08:45:42 +01:00
JW Wang
fea88a9ded Bug 1315586 - DecodedStream::NotifyOutput() should compare |a->mTime| to GetPosition() instead of |aTime|. r=pehrsons
MozReview-Commit-ID: AyqsW9w5Je0

--HG--
extra : rebase_source : b401aad9c175e6ded87edd535c3124eec139ecab
2016-11-07 11:10:53 +08:00
Ben Kelly
fff7097f0f Bug 1300659 P5 Suspend a window if its main thread TaskQueue falls to far behind. r=smaug 2016-11-07 12:30:18 -08:00
Ben Kelly
d48deb5760 Bug 1300659 P4 Use ThrottledEventQueue in workers. r=baku 2016-11-07 12:30:17 -08:00
Ben Kelly
595fb0d20b Bug 1300659 P3 Make setTimeout() and setInterval() use the TabGroup ThrottledEventQueue. r=smaug 2016-11-07 12:30:17 -08:00
Ben Kelly
18e9d9bbcc Bug 1300659 P2 Expose a ThrottledEventQueue on TabGroup and nsPIDOMWindow. r=smaug 2016-11-07 12:30:17 -08:00