Commit Graph

484785 Commits

Author SHA1 Message Date
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
Alexandre Lissy
72456298c6 Bug 1290460 - Update AllocationHandle for MediaEngineGonk r=padenot
MozReview-Commit-ID: KVVPjWfDSlu

--HG--
extra : rebase_source : ccc67d374a14bc3b84f0e1e9acad829e684afe72
2016-07-29 15:56:02 +02:00
Tom Tromey
0625980878 Bug 1274303 - fix gcli "inspect" command; r=jwalker
MozReview-Commit-ID: GeTUvJqvrKx

--HG--
extra : rebase_source : 59048383ea0f63c9ea1fcb4e986446d6db954096
2016-07-27 13:08:47 -06:00
Mike Conley
bcd208c716 Bug 1228120 - Add tests to ensure SessionStore saves and restores windows and tabs properly after a restart. r=whimboo
Now that the Firefox UI tests are in the tree, this is possible and less
of a pain. Unfortunately, due to bug 1228446, this test is disabled for
e10s.

MozReview-Commit-ID: A16EVJ8eYyB

--HG--
extra : rebase_source : 3d7b1401a4bafcd7c4bcb0804fe8c98a804a2611
2016-07-29 09:29:34 -04:00
Andrew Halberstadt
dc3d031216 Bug 1289879 - Activate the mozharness virtualenv when running tests on interactive workers, r=armenzg
There are some packages like 'requests' that are bundled in the mozharness venv, but not in the test
package. It would be easy to manually add these to sys.path in the mach bootstrap script, but it's
much nicer to simply activate this virtualenv in the first place.

MozReview-Commit-ID: 8xeJEIgUbLj

--HG--
extra : rebase_source : b87e5ef46041d9d5a89d419e97fe3a316de6c8c2
2016-07-20 16:40:40 -04:00
Andrew Halberstadt
e920337e70 Bug 1288827 - Allow running mochitest from test-package without specifying --appname, r=armenzg
Because it is now possible for options.app to get set after 'parse_args' time, we need to make sure
the argument validation happens later. To accomplish this we pass in the parser instance to
'run_test_harness' and do parser.validate there. This unfortunately requires some minor uses of
global to accomplish easily due to how mach handles parsers.

MozReview-Commit-ID: s3Js1aZlSE

--HG--
extra : rebase_source : 3a94debda3dbed839074094707cadf32e7f7337c
2016-07-20 11:13:30 -04:00
Alastor Wu
22838ab6da Bug 1289356 - only resume music when we're in the state 'AUDIOFOCUS_LOSS_TRANSIENT'. r=sebastian
The audio should only be resumed when we lose audio-focus transiently. Eg. interrupt by ringtone or telephony.

MozReview-Commit-ID: 78QHSqxEhcp

--HG--
extra : rebase_source : e6e1f2f85b0082a5729b31c0b81aa579b623ff26
2016-07-29 19:22:31 +08:00
Mike Hommey
8eff2bec09 Bug 1290026 - Automatically set LIB from configure. r=chmanchester
--HG--
extra : rebase_source : 4ca572685169fdd2fbb0c9ae6aac5361d2669569
2016-07-27 18:01:04 +09:00
Mike Hommey
9bca5c6d3a Bug 1290026 - Automatically set INCLUDE from configure. r=chmanchester
--HG--
extra : rebase_source : e96decbc05d41e25a80cd3d1d61a7b36ba91f08b
2016-07-27 17:03:09 +09:00
Mike Hommey
75ca7fed2b Bug 1289638 - Update the MSVC tooltool package. r=gps
- Update the tooltool manifests to use the new package.
- Update mozconfig paths to reflect MSVC tooltool package changes.

--HG--
extra : rebase_source : 2f2da35ec1d1b3fb5ca9210951d9ac3a38a2bd75
2016-07-27 09:38:45 +09:00
Mike Hommey
439cf4860e Bug 1289638 - Don't remove the SDK version from the SDK paths in the MSVC tooltool package. r=gps
While we're here changing the MSVC tooltool package, and since we're
going to remove the INCLUDE and LIB lines from mozconfigs that contain
the SDK version, we might as well make the SDK in the tooltool package
closer to an actual SDK, so that automation and local build more or
less follow the same (upcoming) configure code path.

--HG--
extra : rebase_source : d760931fd721df1a6b27ae8caee37874eb1252f5
2016-07-28 16:53:44 +09:00
Mike Hommey
fae208c213 Bug 1289638 - Don't rename the DIA SDK directory in the MSVC tooltool package. r=gps
--HG--
extra : rebase_source : 1082c4dc3423bebdbfb62d30c339043d994f47ba
2016-07-27 09:32:22 +09:00
Carsten "Tomcat" Book
227fd9521f Merge mozilla-central to autoland 2016-07-29 12:36:04 +02:00
Carsten "Tomcat" Book
8c47612fee merge mozilla-inbound to mozilla-central a=merge 2016-07-29 11:56:43 +02:00
Carsten "Tomcat" Book
e7165f9b1e merge fx-team to mozilla-central a=merge 2016-07-29 11:55:36 +02:00
Wes Kocher
0291de30b7 Backed out changeset 7d6baa38a04c (bug 1288938) for reftest crashes 2016-07-28 22:43:49 -07:00
Tooru Fujisawa
ab4c2ebe2c Bug 1287520 - Check IsPackedArray for the result array in Array.prototype.concat. r=efaust 2016-07-29 13:55:26 +09:00
Tooru Fujisawa
a3fa8a6a1c Bug 1287525 - Part 2: Do not use RegExp.prototype[@@split] optimized path if limit is not number. r=h4writer 2016-07-29 13:55:26 +09:00
Tooru Fujisawa
1de3de00d8 Bug 1287525 - Part 1: Do not use RegExp.prototype[@@split] optimized path if |this| object has extra property. r=h4writer 2016-07-29 13:55:26 +09:00
Tooru Fujisawa
414b89d4d3 Bug 1287524 - Check RegExp.prototype.unicode in RegExpPrototypeOptimizable. r=h4writer 2016-07-29 13:55:26 +09:00
Tooru Fujisawa
16ab15420c Bug 1280046 - Search codepoints with same uppercase on ignoreCase match with non-unicode RegExp. r=jwalden 2016-07-29 13:55:25 +09:00