Commit Graph

800 Commits

Author SHA1 Message Date
Geoff Brown
599e05ec79 Bug 1145364 - Use more portable ps command line for orphan cleanup; r=kmoir 2015-03-20 13:50:14 -06:00
Geoff Brown
0b1600116e Bug 1084614 - Clean up orphan servers before starting mochitests or reftests; r=kmoir 2015-03-19 11:01:01 -06:00
Markus Stange
02b07f6efa 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
32049a60d0 Bug 1039834 - Fix PNG suite reftest on mulet. r=dbaron 2015-03-04 10:12:00 +01:00
Alexandre Lissy
fb663445e8 Bug 1138444 - Add Mulet detection for reftests. r=jgriffin 2015-03-03 03:20:00 -05:00
L. David Baron
f2fc1a4f3c Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc 2015-03-03 17:03:19 -08:00
Geoff Brown
3e990e689d Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc 2015-02-27 13:15:00 -07:00
Kartikaya Gupta
8b846b3b40 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
59a8996a61 Bug 1107336: Update b2g desktop ref test runner to use new Marionette Driver; r=ahal 2015-02-23 14:42:39 +00:00
Alessio Placitelli
45327633a8 Bug 1111022 - Tests for the SelfSupport backend. r=gfritzsche 2015-01-09 11:18:00 +01:00
Alexandre Lissy
d8eaa3f900 Bug 1128986 - Update gaia_lock_screen.js. r=jgriffin 2015-02-03 10:49:00 -05:00
Xidorn Quan
ef1761e1f6 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
a280c671d1 Bug 1130268 - Fix NameErrors in killAndGetStack in runreftest.py. r=ted.mielczarek 2015-02-06 22:03:01 +09:00
Eugen Sawin
b0900b4615 Bug 792992 - Make update URL configurable via pref. r=snorp 2015-02-03 17:18:13 +01:00
Seth Fowler
fe165433d0 Bug 1126146 - Disable the single-color optimization in reftests. r=tn 2015-01-27 17:43:21 -08:00
L. David Baron
66543e1f92 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
b800e0e168 Bug 1110271 - Enable GMPInstallManager on Android r=mfinkle 2015-01-05 11:03:27 -06:00
Christoph Kerschbaumer
a620b31464 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
243a2df124 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
28aabdf057 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
7b2cbc259f 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
994ed80afc 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
0f3ee4a593 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
316473b4de 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
50e974859b Bug 1097125 - part 0 - fix cut-and-pasted comment; r=ted.mielczarek 2014-11-11 12:12:40 -05:00
Alexandre Lissy
d0ee4f6bc4 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
2ce21ee428 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
090834ccfd 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
7149c6accb 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)
d146c5b08b Bug 1091270 - Move isURL out of automationutils; r=jgriffin 2014-11-04 16:59:40 -08:00
Robert O'Callahan
628c45fc97 Bug 1080205. Part 2: Add test. r=tn
--HG--
extra : rebase_source : 9f8a41ae255e132e572fdb5012f851554fde69d9
2014-10-30 16:33:55 +13:00
Robert O'Callahan
d0f1ae646e 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
8d30e1313d Bug 1043699 - Add Mulet reftests support. r=jgriffin 2014-11-04 09:18:27 -05:00
Bill McCloskey
47e2914482 Bug 1090627 - [e10s] Ensure hasTestPlugin is true in reftests (r=roc) 2014-11-03 07:10:28 -08:00
Kartikaya Gupta
a04a1ecc82 Bug 1090931 - Update logcat-filtering regex in reftest analyzer. r=dbaron
The logcat format used by tbpl jobs in some (maybe all) cases now has a
timestamp and other decorations at the beginning of the line. The regex that
was previously added to filter out reftest failure lines duplicated in logcat
no longer matches the lines correctly; this makes the regex more generic so that
the filtering works again.
2014-10-29 21:09:10 -04:00
Alessio Placitelli
7cb286131b Bug 1087647 - Prevent ./mach reftest from looking for a debugger if one was not provided as an argument. r=ted.mielczarek 2014-10-29 03:30:00 -04:00
Mats Palmgren
731347dd57 Bug 1089002 - Replace 'appname' with 'app'. r=nalexander
Fixes:

./mach reftest error: runreftest.py: error: could not find the application path, --appname must be specified

--HG--
extra : rebase_source : 75c3c9ef00bceb0da418cdb592e736478dd442cb
2014-10-24 17:27:00 -07:00
Nicholas Nethercote
0489de37fb Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium. 2014-10-23 17:35:27 -07:00
Jonathan Watt
fdaf913efe Bug 1084322 - Allow reftest analyzer to accept pasting of non-raw log output from treeherder. r=dbaron 2014-10-26 01:15:25 +01:00
Wes Kocher
40b2127075 Merge m-c to inbound a=merge 2014-10-23 18:09:47 -07:00
Markus Stange
aba4dd12f9 Bug 1087293 - Remove unused nsIFrameLoader::renderMode. r=kats 2014-10-23 22:45:14 +02:00
Nick Alexander
c096874aef Bug 1083279 - Follow-up: address review comments. r=gbrown
Pushed without committing the changes addressing gbrown's review
comments.

--HG--
extra : rebase_source : 4df8be9befc251aa8652baa62da81d1637a6a86d
2014-10-23 11:28:46 -07:00
Nick Alexander
7a8ec08fd8 Bug 1083279 - Part 2: Allow SCRIPT_DIRECTORY to depend on the invocation script name. r=ted
This issue manifests itself as the reftest extension not being installed
for local testers.  This is because the extension's location is
determined relative to SCRIPT_DIRECTORY, and for local testers, __file__
ignores the symlink from $OBJDIR/_tests/reftest/runreftest.py ->
$SRCDIR/layout/tools/reftest/runreftest.py.

This was changed in Bug 915865.
2014-10-23 11:05:49 -07:00
Nick Alexander
bc62826fb2 Bug 1083279 - Part 1: Don't get_binary_path on mobile/android. r=gbrown
The logic was cribbed from the final output of |mach run|.
2014-10-23 11:05:48 -07:00
Jonathan Watt
361c7c1514 Bug 1084665 - Make reftest-analyzer.xhtml support test/reference images of arbitrary dimensions. r=dholbert 2014-10-22 10:48:36 +01:00
Bob Clary
340d36f641 Bug 1079931 - Update reftest remotereftest.py to support connecting to device by serial number, r=ahal. 2014-10-15 07:09:16 -07:00
Bobby Holley
5db385960b Bug 1082450 - Remove exposedProps from reftest harness. r=gabor 2014-10-15 15:05:09 +02:00
Ted Mielczarek
b6f3f80e17 bug 915865 - port reftest to mozbase. r=ahal 2014-07-29 11:47:50 -04:00
Andrew McCreight
4fcf9e3536 Bug 1076969 - processLeakLog should come up with reasonable defaults itself. r=jmaher
Instead of grabbing attributes off options at every call site, pass
in the options object to processLeakLog, and attempt to get the attributes
there. If not present, use a restrictive default value.

This will prevent silent harness failures if one of the many ways to invoke
processLeakLog fails to set up these options, and makes it so they
don't have to set it up if they don't care.
2014-10-06 14:23:17 -07:00
Andrew McCreight
0f460a11cd Bug 1068276, part 4 - Fix indentation of leak option setting in reftests. r=ted 2014-10-02 08:42:11 -07:00