Commit Graph

876 Commits

Author SHA1 Message Date
Kartikaya Gupta
57fccccc35 Bug 1147038 - Update some tests to pass on desktop platforms. r=tn
The test in question sets up an inconsistent state for desktop platforms because
it intends to simulate what the APZ does, but does it only partially. The APZ
code would set a CSS viewport (which the test does) but it doesn't set the
scroll-position-clamping-scroll-port-size which the APZ would always do.
2015-04-22 10:16:33 -04:00
Mason Chang
30c8ca5402 Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on OS X. r=jrmuizel 2015-04-20 08:38:43 -07:00
Ehsan Akhgari
6cff744014 Bug 1112469 - Part 4: Disable periodic updates of service workers when running tests; r=nsm
This is meant to avoid random issues with Gecko suddenly kicking off the
periodic updates in the middle of our test runs.  This uses a hidden pref
intentionally since nobody should be able to discover this pref by going
to about:config.
2015-04-17 14:06:02 -04:00
Alessio Placitelli
748aeb48ed Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Nathan Froyd
d876b3e545 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Ryan VanderMeulen
4fa8326641 Backed out 3 changesets (bug 1137252) for suspicion of causing frequent B2G mochitest timeouts.
Backed out changeset bbb1b526cb56 (bug 1137252)
Backed out changeset 0c3d670f0c14 (bug 1137252)
Backed out changeset 1e0fa4ab7c6f (bug 1137252)

CLOSED TREE
2015-04-14 13:33:28 -04:00
Wes Kocher
5e9e8610ab Merge central to b2ginbound a=merge 2015-04-13 17:28:59 -07:00
Alexandre Lissy
d9b693d281 Bug 1140394 - Protect standard output from interleaving. r=ahal 2015-04-12 14:01:00 -04:00
Alessio Placitelli
77e10bc782 Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Ryan VanderMeulen
b79ce1078e Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-06 18:48:20 -04:00
Ted Mielczarek
581f9ce759 bug 1139922 - Fix loading mozinfo in runreftest.py. r=dbaron
--HG--
extra : rebase_source : e3f6ebeec022b991e0135538903784e676b6d442
2015-04-06 15:10:20 -04:00
Felipe Gomes
8beb4c1fa1 Bug 1147156 - Re-enable e10s by default for Nightly users who may have disabled it. r=poirot,mconley 2015-04-06 15:06:46 -03:00
Bill McCloskey
6bba9d317a Bug 1150151 - Set leak threshold for reftests (r=mccr8) 2015-04-01 14:42:37 -07:00
Markus Stange
d72114bc33 Bug 1146626 - Refresh the reftest snapshot after adjusting the async scroll offsets. r=roc 2015-03-25 22:35:57 -04:00
Mike Hommey
525ae5030d Bug 1147283 - Replace mozpack.path with mozpath. r=mshal
Back when mozpack.path was added, it was used as:

  import mozpack.path
  mozpack.path.func()

Nowadays, the common idiom is:

  import mozpack.path as mozpath
  mozpath.func()

because it's shorter.

$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123

This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-27 08:13:16 +09:00
Kartikaya Gupta
69c669cbeb Bug 1147552 - Add a yellow background on the active test item in the reftest analyzer. r=dbaron
DONTBUILD because NPOTB
2015-03-26 14:54:21 -04:00
Geoff Brown
3336b867e0 Bug 1145364 - Use more portable ps command line for orphan cleanup; r=kmoir 2015-03-20 13:50:14 -06:00
Geoff Brown
09006b9294 Bug 1084614 - Clean up orphan servers before starting mochitests or reftests; r=kmoir 2015-03-19 11:01:01 -06:00
Markus Stange
dee805a312 Bug 1142211 - Add layerization testing mechanisms to reftest. r=roc
This adds support for class="reftest-opaque-layer" and for
reftest-assigned-layer="some-layer-name" to the reftest harness.

From reftest/README.txt:

Opaque Layer Tests: class="reftest-opaque-layer"
================================================

If an element should be assigned to a PaintedLayer that's opaque, set the class
"reftest-opaque-layer" on it. This checks whether the layer is opaque during
the last paint of the test, and it works whether your test is an invalidation
test or not. In order to pass the test, the element has to have a primary
frame, and that frame's display items must all be assigned to a single painted
layer and no other layers, so it can't be used on elements that create stacking
contexts (active or inactive).

Layerization Tests: reftest-assigned-layer="layer-name"
=======================================================

If two elements should be assigned to the same PaintedLayer, choose any string
value as the layer name and set the attribute reftest-assigned-layer="yourname"
on both elements. Reftest will check whether all elements with the same
reftest-assigned-layer value share the same layer. It will also test whether
elements with different reftest-assigned-layer values are assigned to different
layers.
The same restrictions as with class="reftest-opaque-layer" apply: All elements
must have a primary frame, and that frame's display items must all be assigned
to the same PaintedLayer and no other layers. If these requirements are not
met, the test will fail.
2015-03-11 14:51:59 -04:00
Alexandre Lissy
c00c1b9f7a Bug 1039834 - Fix PNG suite reftest on mulet. r=dbaron 2015-03-04 10:12:00 +01:00
Alexandre Lissy
c87d8ae9ed Bug 1138444 - Add Mulet detection for reftests. r=jgriffin
--HG--
extra : rebase_source : 5b50f02fe229b8d0dfaaba3924061dc6b985f3b8
2015-03-03 03:20:00 -05:00
L. David Baron
da27c29b8c Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc
--HG--
extra : transplant_source : %E16mjh%96Y%AB%96%23%A3%BDCF%F6%8D%95%BF%FE%BC
2015-03-03 17:03:19 -08:00
Geoff Brown
855e467da1 Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc 2015-02-27 13:15:00 -07:00
Kartikaya Gupta
4ebb7ef7d1 Bug 1130455 - Remove the mozasyncpanzoom attribute. r=roc
This attribute used to force APZ to be used on content processes even if the
overall APZ pref was false. However, this has a couple of problems, which cancel
each other out:
- If the pref is false, the APZ machinery is never created, and so it's
  impossible to have content processes "using" APZ.
- The reftest harness checks for the pref and ignores mozasyncpanzoom when
  evaluating the "asyncPanZoom" condition in reftest manifests.
Therefore, any reftests which were skip-if(!asyncPanZoom) would never run unless
the pref was set, and in those cases the mozasyncpanzoom attribute would not be
needed at all, as APZ is already enabled with the pref.
However, the mozasyncpanzoom attribute would cause some parts of the child
process code to behave as though APZ was enabled, which is incorrect. Removing
this attribute and relying solely on the pref corrects that.
2015-02-26 08:47:00 -05:00
David Burns
eed0db3148 Bug 1107336: Update b2g desktop ref test runner to use new Marionette Driver; r=ahal
--HG--
extra : rebase_source : a7d25f417045a2c382124c29b017f176d9ecf0f5
2015-02-23 14:42:39 +00:00
Alessio Placitelli
deb826f3fb Bug 1111022 - Tests for the SelfSupport backend. r=gfritzsche 2015-01-09 11:18:00 +01:00
Alexandre Lissy
6a7427dbba Bug 1128986 - Update gaia_lock_screen.js. r=jgriffin 2015-02-03 10:49:00 -05:00
Xidorn Quan
e1df1707b5 Bug 1133617 - Reftest Analyzer: Use process_log() directly instead of log_pasted() for log from url or param. r=dbaron DONTBUILD
--HG--
extra : source : feda36730b72911921c9806ca897c512a4d82e1f
2015-02-17 14:05:23 +13:00
Tooru Fujisawa
1056f2b4d2 Bug 1130268 - Fix NameErrors in killAndGetStack in runreftest.py. r=ted.mielczarek 2015-02-06 22:03:01 +09:00
Eugen Sawin
13fb4549cf Bug 792992 - Make update URL configurable via pref. r=snorp 2015-02-03 17:18:13 +01:00
Seth Fowler
594a776fc1 Bug 1126146 - Disable the single-color optimization in reftests. r=tn 2015-01-27 17:43:21 -08:00
L. David Baron
42aec8e460 Bug 1121327 patch 1 - Make the OSX variable in the reftest condition sandbox be an integer (1006, 1010) so that it scales for 10.10, and undefined for non-Mac rather than 0. r=ted.mielczarek
Using undefined has the advantage that we can use < and > tests with the
OSX variable.  (We currently have no such tests in the tree, perhaps
partly because they didn't work with non-OSX being 0.)
2015-01-15 15:07:50 -08:00
James Willcox
396525896e Bug 1110271 - Enable GMPInstallManager on Android r=mfinkle 2015-01-05 11:03:27 -06:00
Christoph Kerschbaumer
cc96f3ae3c Bug 1087735: Make JS callers of ios.newChannel call ios.newChannel2 in layout/ (r=dbaron) 2014-10-24 14:58:25 -07:00
Mark Hammond
8dc853f068 Bug 1109120 - use a geoip xhr request for more reliable country detection for search. r=gavin 2014-12-23 22:17:12 +11:00
Mike Hommey
541c80f735 Bug 948278 - Avoid piggy-backing into the build system for the reftest addon. r=ted
This makes the reftest addon use the httpd server as a js module instead of
a XPCOM component.
2014-12-16 15:07:01 +09:00
Kartikaya Gupta
39ed588bca Bug 1089822 - Fix running reftest-remote on B2G using a local emulator build. r=ahal 2014-12-10 05:07:00 -05:00
Kartikaya Gupta
239293451e Bug 1109263 - Clamp the reftest drawWindow call to the canvas. r=dbaron
In some cases the area reported by MozAfterPaint can be extremely large. Since
that area determines what we pass to drawWindow, we could end up trying to
drawWindow an area that is too large for drawWindow to handle. Instead, this
patch clamps that area to the canvas size so that we don't unnecessarily try to
paint (and fail at painting) the whole invalid area.
2014-12-10 07:50:47 -05:00
Nathan Froyd
4d28406638 Bug 1097125 - part 2 - make |mach reftest| and related commands support single files; r=ted.mielczarek 2014-11-11 12:20:33 -05:00
Nathan Froyd
75d860a713 Bug 1097125 - part 1 - add filtering support to |mach reftest-{remote,b2g-desktop}|; r=ted.mielczarek 2014-11-11 12:16:53 -05:00
Nathan Froyd
bb859982fe Bug 1097125 - part 0 - fix cut-and-pasted comment; r=ted.mielczarek 2014-11-11 12:12:40 -05:00
Alexandre Lissy
2b2037cf77 Bug 1094362 - Completely disable update prefs for reftest. r=vingtetun, r=jgriffin
When running reftests on Mulet, we do not want that forced update
checking gets triggered. We can block this by setting the following
prefs:
 - app.update.enabled to false
 - app.update.url.override and app.update.url to empty string
We also disable tiles-related pinging and downloading by setting empy
values for:
 - browser.newtabpage.directory.source
 - browser.newtabpage.directory.ping
Gaia also does force check app updates at some point, so we introduce a
new pref, webapps.update.enabled, that we can use to make sure webapps
update won't be triggered.
2014-12-05 07:14:00 -05:00
Nazma Panjwani
9bd7bfc683 Bug 1091280 - moved options from AutomationUtils.addCommonOptions to runreftest.py, mochitest_options.py, runxpcshelltests.py and removed the addCommonOptions from automationUtils and automation.py.in, r=ahal 2014-11-19 12:31:45 -08:00
Mike Hommey
2277137650 Bug 1094037 - Move EXTRA_COMPONENTS and EXTRA_PP_COMPONENTS to the misc tier. r=gps 2014-11-06 09:29:11 +09:00
Felipe Gomes
70982a275f Bug 1093691 - Part 3. Safeguard Mochitest, Reftest from e10s-on-nightly pref. r=gavin 2014-11-05 02:15:16 -02:00
Pankaj Malhotra(:bitgeeky)
4351fe04c1 Bug 1091270 - Move isURL out of automationutils; r=jgriffin 2014-11-04 16:59:40 -08:00
Robert O'Callahan
f458f27d6b Bug 1080205. Part 2: Add test. r=tn
--HG--
extra : rebase_source : 9f8a41ae255e132e572fdb5012f851554fde69d9
2014-10-30 16:33:55 +13:00
Robert O'Callahan
7f0095de5c Bug 1083635. Part 4.2: Create nsDOMWindowUtils::UpdateLayerTree and use it to flush layers in reftest content processes instead of doing a DRAW_WIDGET_LAYERS drawWindow. r=mattwoodrow
--HG--
extra : rebase_source : b1db1f0171180ed0a7ca36f92653cb702124fc95
2014-11-04 17:05:44 +13:00
Armen Zambrano Gasparnian
eeb05f45e8 Bug 1043699 - Add Mulet reftests support. r=jgriffin 2014-11-04 09:18:27 -05:00
Bill McCloskey
61098bacba Bug 1090627 - [e10s] Ensure hasTestPlugin is true in reftests (r=roc) 2014-11-03 07:10:28 -08:00