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

484805 Коммитов

Автор SHA1 Сообщение Дата
JW Wang 62af9d2687 Bug 1289976. Part 9 - Remove the IsShutdown() check from MediaDecoder::StartDormantTimer(). r=kaku
We don't need to check IsShutdown() which is a subset of |mPlayState != PLAY_STATE_PAUSED && !IsEnded()|.

MozReview-Commit-ID: BjYoLOLuPfC

--HG--
extra : rebase_source : 0d04b30a8bf955faed4907f77f0da29e0ccc011d
2016-07-27 10:52:01 +08:00
JW Wang 661f07a5d4 Bug 1289976. Part 8 - Remove the IsShutdown() check from UpdateReadyState(). The callback is disconnected by the watch manager in Shutdown(). r=kaku
MozReview-Commit-ID: xVSWdj1Q0y

--HG--
extra : rebase_source : 948f622c399e1c072b4c15730a7a8c5fbd2ec696
2016-07-27 10:59:23 +08:00
JW Wang 7bdd2a6dd4 Bug 1289976. Part 7 - Remove the IsShutdown() check from MediaDecoder::Seek(). r=kaku
1. It is called from DurationChanged() which returns early when IsShutdown() is true.
2. It is called from Play() when IsEnded() is true.

MozReview-Commit-ID: Ixy5OMZHxIm

--HG--
extra : rebase_source : 4cd7229084c6af8b7123ee6c85156ef4932308f3
2016-07-27 10:49:14 +08:00
JW Wang 194e23bdb4 Bug 1289976. Part 6 - Remove the IsShutdown() check from MediaDecoder::RemoveMediaTracks(). r=kaku
1. It is called from ChangeState() when IsEnded() is true.
2. It is called from OnMetadataUpdate(). The callback is disconnected in Shutdown().

MozReview-Commit-ID: 8m4jtcl91hT

--HG--
extra : rebase_source : 0988128ec6d05f07ab7b072cc70a9c2970c829c5
2016-07-27 10:44:43 +08:00
JW Wang c4b1ec5baf Bug 1289976. Part 5 - Remove the IsShutdown() check from MediaDecoder::Pause(). r=kaku
1. Pause() is called from HTMLMediaElement and happens before Shutdown().
2. Pause() is called from SetPlaybackRate() which is called from HTMLMediaElement.

MozReview-Commit-ID: DDr7Bg8jkF2

--HG--
extra : rebase_source : 8b8a4fdc914d0bce7572d9a1ccb0f530bdba062c
2016-07-27 10:42:20 +08:00
JW Wang 97dff3f268 Bug 1289976. Part 4 - Remove the IsShutdown() check from MediaDecoder::NotifyOwnerActivityChanged() which happens before Shutdown(). r=kaku
MozReview-Commit-ID: 9tWLW4JE0Uv

--HG--
extra : rebase_source : 9f33359f5d8833a8f90319303a96cf029460f3ac
2016-07-27 10:38:25 +08:00
JW Wang d2d8295bf6 Bug 1289976. Part 3 - Remove the IsShutdown() check from MediaDecoder::FireTimeUpdate(). r=kaku
FireTimeUpdate() is only called from UpdateLogicalPositionInternal() which returns early when IsShutdown() is true.

MozReview-Commit-ID: 4GZwrI85aXj

--HG--
extra : rebase_source : 9d7cbd571fd794369c833723ea5fc50a26380e51
2016-07-27 10:36:09 +08:00
JW Wang 294fff9de7 Bug 1289976. Part 2 - Remove the IsShutdown() check from MediaDecoder::DumpDebugInfo() which happens before Shutdown(). r=kaku
MozReview-Commit-ID: HU3ybjFZMsE

--HG--
extra : rebase_source : 15d9adb47be449fdaca6a37587e70ff4f1d013bf
2016-07-27 10:33:50 +08:00
JW Wang a9482dfc9c Bug 1289976. Part 1 - Remove the IsShutdown() check from MediaDecoder::ConstructMediaTracks(). r=kaku
1. ConstructMediaTracks() is called from ChangeState() when |mPlayState == PLAY_STATE_PLAYING|.
2. ConstructMediaTracks() is called from MetadataLoaded() which asserts |!IsShutdown()|.

MozReview-Commit-ID: 6OaPYcCOCii

--HG--
extra : rebase_source : 9db9e841fe8a0d797a39cd527abf4f4e95b67131
2016-07-27 10:31:14 +08:00
JW Wang 65db31d2a5 Bug 1289649 - HTMLMediaElement should clear mDecoder when XPCOM shutdown begins. r=gerald
MozReview-Commit-ID: A3ECReCgiD7

--HG--
extra : rebase_source : 452e156b9ecb449f311bd47f0afcc3a4bd03e10e
2016-07-27 10:26:21 +08:00
eyim 084d1d4163 Bug 1289873 - correction made for compositing failure ids in failure path not showing up r=BenWa
MozReview-Commit-ID: CRIJwplDBYS

--HG--
extra : rebase_source : 904fedf86ae1ed489138eb99a2b4c3f34967f369
2016-07-29 11:41:33 -04:00
Botond Ballo 36779c6cc3 Bug 1289608 - Define XrayWrapper<...>::singleton for all instantiations, instead of defining specializations for specific ones. r=bholley
MozReview-Commit-ID: GecaSstpxRQ

--HG--
extra : rebase_source : 30e95b590a18dee92a588d2cb4e8b44808bbe11a
2016-07-29 16:40:08 -04:00
Botond Ballo 34d65c1f90 Bug 1289608 - Provide explicit instantiation declarations for the various instantiations of XrapWrapper. r=bholley
MozReview-Commit-ID: 6rS9JJ1Ba9R

--HG--
extra : rebase_source : 29a69c5b0068bc2e948e007d656ef7b7d4efb13d
2016-07-29 16:39:14 -04:00
Alastor Wu 4bb0811eb6 Bug 1288971 - notify audio playback changed by media element's play(). r=baku
Notify audible-changing when resuming audio by MediaElement::play() instead of control interface.

MozReview-Commit-ID: 10a1npQ46Th

--HG--
extra : rebase_source : 16cce6782a132a2aab4ad66dc216d6237fc2ba9f
2016-07-29 19:26:56 +08:00
Jan-Ivar Bruaroey dd02c97e85 Bug 1290625 - Make libcubeb mutex recurse again, to avoid deadlock when getting microphone. r=achronop
MozReview-Commit-ID: AvYa8ylsdOf

--HG--
extra : rebase_source : 51d340d1607c78002fda6c665932fb966c66a298
2016-07-29 20:03:35 -04:00
Wes Kocher e92959a3bd Backed out 2 changesets (bug 1258539) for mozharness failures a=backout
Backed out changeset 8322ffecd9d9 (bug 1258539)
Backed out changeset cc2996a53b71 (bug 1258539)
2016-07-29 15:56:39 -07:00
Mike Hommey 318ded3048 Bug 1289949 - Make mozpack.path properly handle paths on mingw python. r=gps
Mingw python has a different os.path setup from native python, and has
os.sep and os.altsep reversed. In that case, the normsep function was
doing the wrong thing, leading to all sorts of problems.

While fixing this, also ensure the corresponding unit test covers this
peculiarity, even when running under the native win32 python.

--HG--
extra : rebase_source : 8fb18e0d4dc669c1d7e069f73fc44c22d419d43c
2016-07-28 18:50:57 +09:00
Mike Hommey 13846510e3 Bug 1290045 - Pass JS_STANDALONE as a configure argument, instead of an environment variable. r=chmanchester
Python configure "environment variables" can be passed as actual
environment variables, but can also be passed as command line arguments
(unless they also make it to old-configure, which doesn't support that).

Passing empty environment variables is broken in msys2/cygwin: the
subprocess doesn't see the environment variable being set, so it can't
tell the difference between "not set" and "set to nothing", which has a
different meaning for python configure environment variables.

Currently, JS_STANDALONE is passed this way. Passing it as a command
line argument makes it properly passed down to the subconfigure.

--HG--
extra : rebase_source : d4ebaf9d626902166c3861ee9d6141255658194f
2016-07-29 22:14:33 +09:00
David Keeler ae6ff907e5 bug 1119778 - make "Forget About This Site" clear HSTS and HPKP info r=MattN,mgoodwin
MozReview-Commit-ID: IJVQBsryfHq

--HG--
extra : rebase_source : af751566d811746cca39511625ad3c103664d253
2016-07-27 17:11:52 -07:00
Henrik Skupin e5327cb322 Bug 1258539 - [mozharness] Refactor name and arguments of download and unpack methods. r=jlund
Given that we have a universal unpack method now do not keep 'unzip' in method names.
Also adapt arguments to be better understandable.

MozReview-Commit-ID: ClDB5mSVcI2

--HG--
extra : rebase_source : 5bfee9d3c56436dd3a9f7c279517642ac70bb179
2016-07-19 23:00:46 +02:00
Henrik Skupin d8e13f44b1 Bug 1258539 - [mozharness] Use ZipFile and TarFile classes for unpacking archives. r=jlund
Get rid of external unpack tools (unzip and tar) and use the Python internal classes instead.
This patch only changes this behavior for the base script class but not for custom code in other
test scripts and modules, which would make it too complex. A follow-up bug will be filed instead.

MozReview-Commit-ID: L0eoITlqTdC

--HG--
extra : rebase_source : 5c9f04c29eddea09f2bbac18d9fc491671b1ccdf
2016-01-18 19:50:26 +01:00
Wes Kocher 8f0a108b9a Backed out 6 changesets (bug 1288329) for wpt failures a=backout
Backed out changeset f33cb032cc9f (bug 1288329)
Backed out changeset 49ea83d00a77 (bug 1288329)
Backed out changeset 1406c14098f1 (bug 1288329)
Backed out changeset 936b73eb37c6 (bug 1288329)
Backed out changeset a1c4d9b9de32 (bug 1288329)
Backed out changeset a76b6e559777 (bug 1288329)

--HG--
extra : amend_source : 4e054fc4af62693934a4ae450a9595443b6a961d
2016-07-29 12:36:20 -07:00
Henry Chang b4c6cfd89b Bug 1288840 - Use the private phishing site list in official build. r=francois
MozReview-Commit-ID: 3SYoP2z1jWb

--HG--
extra : rebase_source : 3db67147f6fc4ae0533636b9ce2b12c579302005
2016-07-25 09:18:25 +08:00
Joel Maher 8c814c34a8 Bug 1290459 - port changes from bug 1285582 to test-ubuntu1604.sh. r=ahal
MozReview-Commit-ID: L5HjOIesJCQ

--HG--
extra : rebase_source : c1d9903e01d2be4710f551c451446690180a34b0
2016-07-29 14:56:31 -04:00
Benoit Girard fbfff14ea5 Bug 1289813 - split out safe mode from FEATURE_FAILURE_WEBGL_DISABLED. r=jrmuizel
MozReview-Commit-ID: Jmp911jYjix

--HG--
extra : rebase_source : 825eaae61c3a685ff2853eba3820a02087779dd5
2016-07-29 14:28:51 -04:00
Tom Tromey e53c23031c Bug 1290234 - remove uses of nsIDOMNode constants from inspector; r=gregtatum
MozReview-Commit-ID: G73Dn8shdkp

--HG--
extra : rebase_source : 41feb1c4a951aa8de7527d7c0eecc95efc529cb6
2016-07-28 14:03:50 -06:00
Gregory Szorc a91e4e11c1 Bug 1290516 - Remove {{project}} from cache path for decision and action tasks; r=dustin
Currently, the gecko-decision and action tasks maintain a separate cache
for each "project" (Firefox repo) source checkout. In my opinion, this
is not necessary.

Separate caches/source checkouts mean a lower chance for a cache hit:
a lower chance that any given worker will have a source checkout readily
available for the "project" being built. They also mean workers store
more data and files in caches.

By using a shared cache for source checkouts, workers will ideally
only have a single source checkout cache and will be pretty much
guaranteed to have a checkout readily available (the main exception
being the first task on a freshly-provisioned worker).

A downside of a shared cache is that workers may spend more time doing
`hg update` operations. e.g. if the last task was from mozilla-release
and the current task is from mozilla-central, thousands of files will
be updated. However, I believe we will still be better off because
separate caches *increase* the probability for a full checkout, which
involves writing ~150,000 files! So I believe this change will lower
the overall amount of VCS work done by workers while possibly
sacrificing the lowest possible execution time (which is achieved by
minimizing the `hg update` work).

It's worth noting that `hg robustcheckout` (which is used by these
tasks) does the equivalent of an `hg purge --all`. This ensures that all
untracked and ignored files from previous tasks are deleted. So there
should be no contamination from previous tasks.

MozReview-Commit-ID: I5Ng3xFEfou

--HG--
extra : rebase_source : db423e5005d1e26d7dfebbbfa28893fc32caef6f
2016-07-29 10:09:06 -07:00
Jean-Yves Avenard 6542d1b697 Bug 1288329: [ogg] P6. Enable new OggDemuxer by default. r=gerald
Now passes all media mochitests.

MozReview-Commit-ID: 85aVXrrRSWW

--HG--
extra : rebase_source : 557f72d7c8da9c7859e3aa7e96e529acf2da1212
2016-07-28 21:24:24 +10:00
Jean-Yves Avenard 0e81b8c032 Bug 1288329: [ogg] P5. Adjust mochitests. r=gerald
There are various differences between the new ogg player and the old OggReader that leads to inconsistencies on how durations are reported.

1- The old OggReader only use the end time as duration of the video, ignoring the start time of the first sample. This leads to incorrect duration calculation.
2- The OggReader do not ignore undecodable frames located at the beginning of the video, and those are used by the MDSM to calculate the start time. This leads to durations sometimes being shorter than they ought to.

MozReview-Commit-ID: 6yi1P4N6tPE

--HG--
extra : rebase_source : 31c0346c677f07e39c865d4f9f25dc0ebb70b18b
2016-07-28 22:52:08 +10:00
Jean-Yves Avenard cf4fb9d4df Bug 1288329: [ogg] P4. Fix coding style. r=gerald,jwwang
MozReview-Commit-ID: 1bAE92BECRD

--HG--
extra : rebase_source : 586e6b91e374bdc49fe4b2e6b72cf2c90a563cf2
2016-07-29 10:47:03 +10:00
Jean-Yves Avenard e884bc2dfb Bug 1288329: [ogg] P3. Never take into considerations frames prior the first keyframe. r=gerald
MozReview-Commit-ID: 1aJSbJb9kQW

--HG--
extra : rebase_source : d80d8ff96cf23a15a48f9a08eb7e034ffc096d98
2016-07-29 10:38:36 +10:00
Jean-Yves Avenard eba49ebd1c Bug 1288329: [ogg/vorbis] P2. Pass extra information to the decoder so that it can perform proper trimmer. r=gerald,jwwang
The OggReader always passed a complete ogg_packet to the vorbis decoder, ensuring that the right number of frames was be returned. In the conversion to the new architecture, this information got lost making the vorbis decoder always return more frames than normal on the last packet.

MozReview-Commit-ID: HYHxqXfYntJ

--HG--
extra : rebase_source : 3aa215576fe77357dd9a484626c0e5759aeedb3c
2016-07-29 02:19:21 +10:00
Jean-Yves Avenard eabdba0469 Bug 1288329: [ogg] P1. Add support for metadata chaining in OggDemuxer. r=gerald,jwwang
This is not the cleanest approach, but ensures identical behavior with the OggReader when it comes to firing loadedmetadata event and handling the change of seekability.

A more universal solution could be considered involving the MediaFormatReader and changing the MediaDataDemuxer API, of interest would be adding support for a new event fired whenever we have a change of content or metadata (useful with MSE or recorded webm of a WebRTC session

MozReview-Commit-ID: BojB2r1CtA3

--HG--
extra : rebase_source : 04704c13bfbdc83fe7c03505876deb8cda2043e6
2016-07-28 15:32:11 +10:00
Jean-Yves Avenard 4d168d7572 Bug 1289438: [ogg] P5. Don't seek back to first buffered position during reset. r=gerald
A call to reset is always followed by a call to Seek; seeking is an heavy operation with ogg so let's minimize the number of times we are actually seeking.

MozReview-Commit-ID: Jz7dL9IFM14

--HG--
extra : rebase_source : b4c861b5963647292e3c8d8c8b8ac7ce097112fa
2016-07-27 17:57:22 +10:00
Jean-Yves Avenard 9ac2a30001 Bug 1289438: [ogg] P4. Use SaferMultDiv where appropriate. r=gerald
MozReview-Commit-ID: 3AWTGciNj4D

--HG--
extra : rebase_source : 0ac681e9733d581a0a44af5376c74826c4302f09
2016-07-27 17:17:21 +10:00
Jean-Yves Avenard cee6294430 Bug 1289438: [ogg] P3 Fix code style. r=gerald
MozReview-Commit-ID: K6qpPVgsIi7

--HG--
extra : rebase_source : 879a2f3c3cddb54ab13a1dd2f070199e58e7cf5b
2016-07-27 17:01:27 +10:00
Jean-Yves Avenard e25ebdddd2 Bug 1289438: [ogg] P2. Re-enable earlier test now the seeking behaves as expected. r=cpearce,gerald
Note that the closest keyframes are for video 0.666667 and audio 0.645805, however the current OggReader still incorrectly seeks audio to an
earlier time as it seek to the index page boundary.

MozReview-Commit-ID: 5g7FHFmRQXD

--HG--
extra : rebase_source : cb105bafdf6aaa0f441da5130571b0b0b8e3a3f0
2016-07-27 16:21:47 +10:00
Jean-Yves Avenard 90527cf816 Bug 1289438: [ogg] P1. Always seek to the closest keyframe. r=brion+1012
MozReview-Commit-ID: 1IGFgU1GFz5

--HG--
extra : rebase_source : 2f84397152bc5c142aef104e59862a5a0aeb264f
2016-07-27 16:19:03 +10:00
Jean-Yves Avenard 525aebc682 Bug 1288331: [ogg] P2. Fix fast seek mochitest. r=cpearce
Fast seek in the old OggReader is broken: the audio track isn't seeked to the video track in order to preserve A/V sync and we end up always performing an accurate seek which explain why this test succeeded before.
The page index is only made of two entries, and so the first video frame returned after a seek, if within the first index will always have a time of 0.

MozReview-Commit-ID: 2EYzLMWRZAi

--HG--
extra : rebase_source : a7c73a757a841550cc7c5d2a0a7229a037a2bb9f
2016-07-27 00:12:28 +10:00
Jean-Yves Avenard d8e3cd1eab Bug 1288331: [ogg] P1. Seek audio track and video track independently from one another. r=brion+1012
MozReview-Commit-ID: 3ZOuzLNbPiq

Bug 1288331: [ogg] P1 amend

MozReview-Commit-ID: BoeDuGziBX5

--HG--
extra : rebase_source : 54220233aa4e0d54154edbb32c879935866f4745
2016-07-26 23:03:36 +10:00
Jean-Yves Avenard d9896af911 Bug 1289059: P1. Add MediaDemuxer generic logging. r=cpearce
MozReview-Commit-ID: 453QrMX1nWp

--HG--
extra : rebase_source : 679586d22a380e57c19c1e78b29e71282c08ecbf
2016-07-24 22:30:07 +10:00
Jean-Yves Avenard 2de6846418 Bug 1168674: [ogg] P8. Fix metadata retrieval. r=brion+1012
MozReview-Commit-ID: BMUNy4zyWMz

--HG--
extra : rebase_source : 6bd1242b5195d1d2093df670797fcabbb6f8cc98
2016-07-27 12:22:31 +10:00
Jean-Yves Avenard b0edcccd34 Bug 1168674: [ogg] P7. Properly mark overridden methods. r=gerald
MozReview-Commit-ID: 5aICN1aQwgC

--HG--
extra : rebase_source : a5ab7663bb831153d8c984e0f55ff338f574bb23
2016-07-26 16:39:44 +10:00
Jean-Yves Avenard 17bf74890d Bug 1168674: [vorbis] P6. Do not tweak first decoded sample time. r=cpearce
r?cpearce

A hack was in place to ensure that the first returned sample would have
a time of 0 so that the media start time would be 0. This was incorrect
for two primary reasons:
- The media start time is adjusted according to the first sample anyway.
- When seeking to 0, the first sample would have a time different to the
first sample decoded (when we want them to have the same time).

MozReview-Commit-ID: IyuT9O2F4EZ

--HG--
extra : rebase_source : 74b29eb5970c67aed6ca568d1882e3b6c54a6637
2016-07-25 19:14:39 +10:00
Jean-Yves Avenard 1125dc098d Bug 1168674: [ogg] P5. Use common demuxing methods. r=brion+1012
This ensure that the first sample demuxed will be identical to the first
one demuxed following a seek to the beginning.
Also, only demux the next packet when none is queued rather than all the time.

MozReview-Commit-ID: 5wtFVLiCAW

--HG--
extra : rebase_source : ce73d35f68fb800608a1182843de1d4abd469081
2016-07-25 19:06:20 +10:00
Jean-Yves Avenard 928589a0d1 Bug 1168674: [ogg] P4. Skip over header packets when seeking close to the start. r=brion+1012
MozReview-Commit-ID: F0Ezo0yfOyo

--HG--
extra : rebase_source : aac013a5b6065efed696e9929c63789f72ee1f5d
2016-07-21 17:56:01 +10:00
Brion Vibber 7f2fa5c20a Bug 1168674: [ogg] P3. Add theora MediaDataDecoder. r=me
MozReview-Commit-ID: 7ZJD21JMXBY

--HG--
extra : rebase_source : 5108040c8de69e52bdd96842315e5a5e70c65ff7
2016-07-21 11:36:47 +10:00
Brion Vibber 847a1df7ea Bug 1168674: [ogg] P2. Hook up new OggDemuxer. r=me
Not on by default yet. use media.format-reader.ogg preference

MozReview-Commit-ID: 7pH67XERTbW

--HG--
extra : rebase_source : 9868f07f622782b4859b95f237f7ee516345c2b2
2016-07-21 11:34:42 +10:00
Brion Vibber 173a4b9f77 Bug 1168674: [ogg] P1. Add OggDemuxer object. r=me
MozReview-Commit-ID: ChEceup4MYh

--HG--
extra : rebase_source : 0dc2c481c3bb3554484aac4227e92261c2341c66
2016-07-21 11:28:47 +10:00
Sebastian Kaspari cc62ca1699 Bug 1290012 - Introduce setting to enable experimental activity stream feature. r=ahunt
If the app is build with MOZ_ANDROID_ACTIVITY_STREAM enabled then a preference for
activity stream will appear in the 'advanced' section. All upcoming activity stream
features should check ActivityStream.isEnabled() at runtime.

MozReview-Commit-ID: Hibh1j0lqFo

--HG--
extra : rebase_source : c70ca471361050e0ca613e12ee250bf0cb0cf1a8
2016-07-28 21:12:58 +02:00