Commit Graph

1027 Commits

Author SHA1 Message Date
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
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
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
L. David Baron
9df2ba75ee Bug 1084322 followup - Fix reftest-analyzer display of image from a failing != test. 2015-04-22 19:37:04 -07: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
Kartikaya Gupta
bbc930876b 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
f07d9efba6 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
3eb1a8b0bd 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
c24a781566 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
5b22d99725 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
a689009ad0 Merge m-c to inbound a=merge 2014-10-23 18:09:47 -07:00
Markus Stange
4a9b04adc7 Bug 1087293 - Remove unused nsIFrameLoader::renderMode. r=kats 2014-10-23 22:45:14 +02:00
Nick Alexander
e2aa678126 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
fd08a3a7bb 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
76e714925e 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
dd387d8232 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
0cea442ede 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
a94527ccc8 Bug 1082450 - Remove exposedProps from reftest harness. r=gabor 2014-10-15 15:05:09 +02:00
Ted Mielczarek
9ab511ff7d bug 915865 - port reftest to mozbase. r=ahal 2014-07-29 11:47:50 -04:00
Andrew McCreight
f3d650b7c0 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
e71a398f84 Bug 1068276, part 4 - Fix indentation of leak option setting in reftests. r=ted 2014-10-02 08:42:11 -07:00
Andrew McCreight
687f957f6f Bug 1068276, part 3 - Set some defaults for leak parameters on B2G reftests. r=jmaher 2014-10-02 08:40:21 -07:00
Andrew McCreight
b71a75b37a Bug 1068276, part 1 - Allow configuring which type of processes we complain about when there's no leak log. r=jmaher
Then don't warn for missing logs from tab and geckomediaplugin processes, or default processes on B2G.
2014-09-30 14:17:27 -07:00
Andrew McCreight
3a5312793b Bug 1067664, part 1 - Allow different leak thresholds for different types of processes. r=jmaher 2014-09-30 09:54:25 -07:00
Jim Mathies
af9be8e2a8 Bug 1072417 - Remove the browser.tabs.remote pref and turn everything it controls on by default. r=felipe 2014-09-29 16:11:08 -05:00
Ryan VanderMeulen
8bcef57acc Backed out 4 changesets (bug 1068276, bug 1067664) for Android leaktest complaints.
Backed out changeset 846faaa68219 (bug 1068276)
Backed out changeset 35e71ffcf8e1 (bug 1068276)
Backed out changeset 605f59a806fd (bug 1067664)
Backed out changeset 2d5b7ea96b70 (bug 1067664)

--HG--
extra : rebase_source : 7a90c78ba35f31acce7609d5d8375a593cb9825d
2014-09-26 16:02:12 -04:00
Andrew McCreight
7630b62a5b Bug 1068276, part 1 - Allow configuring which type of processes we complain about when there's no leak log. r=jmaher
Then don't warn for missing logs from tab and geckomediaplugin processes, or default processes on B2G.
2014-09-26 10:34:09 -07:00
Andrew McCreight
ddb5b793b3 Bug 1067664, part 1 - Allow different leak thresholds for different types of processes. r=jmaher 2014-09-26 10:34:08 -07:00
Aaron Klotz
70797271f3 Bug 1070042: Fix --debugger parameter in reftest/crashtest; r=ted 2014-09-19 14:49:34 -06:00
Alessio Placitelli
a7b1ef77b3 Bug 928397 - Enable xpcshell-test debugging on Windows platforms and default debugger detection. r=ted.mielczarek 2014-07-02 13:52:00 +02:00
William Lachance
c5c27fe755 Bug 1059331 - Additional options for reftest analyzer useful for treeherder. r=jmaher 2014-09-03 14:37:22 -04:00
Ed Lee
a823ae58e9 Bug 1042876 - Reftest bustage to correctly disable remote connections for reftests [r=froydnj]
--HG--
extra : rebase_source : f2065bf559560fbc852d7e57e6d18bc5bcf65b40
2014-08-22 18:05:09 -07:00
Chenxia Liu
7a148d6ee8 Bug 1021751 - Homebanner snippet. r=lucasr 2014-08-22 15:07:40 -07:00
Birunthan Mohanathas
b622eeebf0 Bug 1053013 - Collapse test-only moz.build files under layout/ into ancestor moz.build files. r=glandium 2014-08-20 10:27:18 -07:00
L. David Baron
22fec013ea Bug 1054163 - Replace numbered reftest manifest file errors with more descriptive error messages. r=dholbert
--HG--
extra : transplant_source : %0C%F1%20%BEB%03%01%8E%FC%95%AC%24%11%EE%09W%5Bs%AC%93
2014-08-17 21:21:21 -07:00
L. David Baron
8bf306f8b3 Bug 1052907 - Make --this-chunk and --total-chunks arguments to mach reftest-remote work by coercing them to ints, which they need to be. r=ahal 2014-08-13 15:39:03 -07:00
Geoff Brown
8c277a965f Bug 1042097 - Upload Android tombstones to blobber; r=dminor 2014-08-11 11:55:28 -06:00
Sylvestre Ledru
2e0c1ce1ec Bug 1050715 - Update the description of the various tests targed proposed by './mach help' r=jmaher
--HG--
extra : rebase_source : 29019a02711ffce5c148787517051855259b6446
2014-08-09 15:37:29 +02:00
Markus Stange
637219fcf9 Bug 1050229 - Use matchMedia when computing the value for the windowsDefaultTheme reftest variable. r=ehsan 2014-08-08 12:46:48 +02:00
Ting-Yu Lin
770d931ad3 Bug 1016184 - Part 3g: Disable auto-hide feature in mochitest and reftest. r=ehsan 2014-07-27 00:21:00 +02:00
Nathan Froyd
067f2791c6 Bug 1046782 - remove layout/tools/layout-debug/src/Makefile.in; r=mshal
The libs:: rule is empty and the clobber:: rule serves no useful purpose
nowadays.
2014-07-31 10:37:47 -04:00
Ryan VanderMeulen
908eceaa30 Backed out 9 changesets (bug 1016184) for frequent OSX Gip timeouts.
Backed out changeset 0893f2ef4b9a (bug 1016184)
Backed out changeset 93587ce1162b (bug 1016184)
Backed out changeset a52c9d674927 (bug 1016184)
Backed out changeset ca2fd0f41a12 (bug 1016184)
Backed out changeset 84dacf014e39 (bug 1016184)
Backed out changeset 16854e321f23 (bug 1016184)
Backed out changeset 8acd5e707c83 (bug 1016184)
Backed out changeset d0513eae0c97 (bug 1016184)
Backed out changeset 0d03cd217c64 (bug 1016184)
2014-07-31 13:29:30 -04:00
Ting-Yu Lin
89bf44d38c Bug 1016184 - part 3g - Disable auto-hide feature in mochitest and reftest. r=ehsan 2014-07-27 00:21:00 +02:00
Ehsan Akhgari
7d3ab121f1 Bug 1044243 - Remove unused Fennec reftest sandbox variables; r=ted 2014-07-25 17:10:39 -04:00
Fabrice Desré
d62a4325de Bug 1045478 - Disable the app update timer in reftests and crashtests r=ryanvm 2014-07-29 10:02:20 -07:00
Bill McCloskey
803109b939 Bug 1001039 - Disable plugin tests in desktop e10s (r=roc) 2014-07-26 12:22:13 -07:00
Bill McCloskey
6f37484071 Bug 1001039 - Disable APZ tests in desktop e10s (r=roc) 2014-07-26 12:21:57 -07:00
Trevor Saunders
dfb8d4ea04 bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
Bobby Holley
7cf5df66a7 Bug 1038844 - Flip the scary automation pref for crashtests and marionette. r=jgriffin 2014-07-17 21:34:48 -07:00
L. David Baron
17a4bcf621 Bug 1031635 - Add --debugger-args option to reftest mach commands. r=gps
This allows useful argument combinations such as:
  --debugger valgrind
  --debugger-args "--tool=memcheck --leak-check=no --trace-children=yes --num-callers=50"
2014-07-16 20:10:10 -07:00
William Lachance
ba2b4b855e Bug 1036530 - Instantiate / initialize device root only when needed in mozdevice. r=bc 2014-07-11 15:29:30 -04:00
Masatoshi Kimura
9c0a2214db Bug 1028438 - Remove dummy --enable-privilege option from remotereftest.py. r=ted 2014-06-28 15:01:23 +09:00
Jason Orendorff
eb0149fd3f Bug 889898 - Add mach jstestbrowser. r=gps.
Relanding without changes, as this couldn't possibly have caused the failures
that made us back it out.

--HG--
extra : rebase_source : 93c317dccb4c4311530a44efd0a941b81c953ac9
2014-06-20 12:01:03 -05:00
Carsten "Tomcat" Book
ff26ea326c merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
CJKu
8886b7fbdd Bug 1000722 - Many B2G reftests fail after enabling OOP, because partial drawWindow calls are drawing too small an area. r=dbaron 2014-06-18 21:39:00 -04:00
Ed Morley
e801b5be57 Backed out changeset e56739ee253b (bug 1000722) for causing failures in outer-svg-border-and-padding-01.svg; CLOSED TREE 2014-06-24 15:38:23 +01:00
cku@mozilla.com
bef8d52506 Bug 1028092 - "Dump testing log when testing pass but we expect testing fail." r=ahal 2014-06-20 02:51:00 +02:00
CJKu
8bad6db994 Bug 1000722 - Many B2G reftests fail after enabling OOP, because partial drawWindow calls are drawing too small an area. r=dbaron 2014-06-18 21:39:00 +02:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
e1b7dbca34 Bug 1028588 - Fix dangerous public destructors in layout/ - r=dbaron 2014-06-23 18:40:01 -04:00
Gregory Szorc
1fd0e9d9bd Bug 1027215 - Rewrite print-manifest-dirs.py to use new manifest parser; r=roc
Now that we've established a slightly better Python reftest manifest
parser, switch the existing manifest parsing code in
print-manifest-dirs.py to use it.

--HG--
extra : rebase_source : 9559eb5aa47d08b9854a27ed012f2a795abc67f7
extra : histedit_source : 7a9a8942f9310c079a5ea4321a7f4f2ad17008d1
2014-06-17 17:37:09 -07:00
Gregory Szorc
d8e33f0d59 Bug 1027215 - Generic Python code for parsing reftest manifests; r=roc
The immediate goal of this patch is to give the build system and testing
tools the knowledge to identify reftest files and directories. Parsing
extra metadata out of reftest manifests is currently a non-requirement,
but may be supported some day.

--HG--
extra : rebase_source : 279680af28c9175f5babe458a57203e8b19ab724
extra : histedit_source : c0e463ea02f87a376ef48e2b25136e5f6be4e61a
2014-06-17 17:29:57 -07:00
Andrew Halberstadt
e60605718c Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Wes Kocher
e34177291e Backed out changeset 81a51de30a2a (bug 997244) for breaking b2g emulator mochitests on an otherwise CLOSED TREE 2014-06-18 14:15:48 -07:00
Andrew Halberstadt
7704c45325 Bug 997244 - Pull emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-18 13:30:12 -04:00
Seth Fowler
ba4e3dddeb Bug 1023618 - Ensure that win.document.documentElement exists before using it. r=roc 2014-06-16 20:57:35 -07:00
Nathan Froyd
80ad2a9bd1 Bug 1025959 - disable checks for webapp updates during tests; r=jmaher 2014-06-16 11:47:05 -04:00
Nathan Froyd
32bd637ccc Bug 1024588 - turn off useragent updates for tests, to avoid hitting the network; r=jmaher 2014-06-12 15:14:43 -04:00
Seth Fowler
ae3dab62d4 Bug 1023618 - Always call FlushRendering in the reftest harness. r=roc 2014-06-11 20:21:08 -07:00
Markus Stange
baf27cdb55 Bug 1023464 - Add support for the --setpref argument to mach reftest. r=gps 2014-06-11 14:44:42 +02:00
Nathan Froyd
c37ab000b0 Bug 1022785 - disable android snippets for reftests/crashtests/jsreftests; r=jmaher 2014-06-09 13:37:21 -04:00
Nathan Froyd
009a5a030e Bug 1018400 - disable safebrowsing during reftests; r=ted 2014-05-30 16:21:47 -04:00
Kartikaya Gupta
cec776a136 Bug 1016260 - Label images as (TEST) or (REFERENCE) from the reftest log output. r=dbaron 2014-05-28 15:07:45 -04:00
Kartikaya Gupta
60ccec6ff6 Bug 1016251 - Ignore logcat output when parsing log. r=dbaron 2014-05-28 15:07:43 -04:00
Kershaw Chang
71f5d5e40e Bug 1013094 - Rename browser.manifestURL and browser.homescreenURL, r=fabrice 2014-05-27 18:01:01 +08:00
Carsten "Tomcat" Book
5f4bdd154a merge b2g-inbound to mozilla-central 2014-05-26 15:26:11 +02:00
Andrew Halberstadt
f35863852f Bug 922680 - Enable out of process b2g emulator reftests, r=jgriffin 2014-05-23 15:55:54 -04:00
Andrew Halberstadt
d2d43dc711 Bug 1009730 - Stop using /data/local/user.js in b2g unittests, r=jgriffin 2014-05-22 15:47:52 -04:00
Andrew Halberstadt
771a8e866a Bug 1014192 - Add command line option to toggle b2g reftests running oop, r=jgriffin 2014-05-22 14:43:51 -04:00
Birunthan Mohanathas
952b834c76 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Kartikaya Gupta
4de0c21a1b Bug 1015369 - Remove some dead code. r=ahal 2014-05-23 17:07:02 -04:00
Kartikaya Gupta
d9f9873f4b Bug 1015369 - Add a flag to enable oop mode to b2g-desktop reftests. r=ahal 2014-05-23 17:07:01 -04:00
James Graham
54a81fe8c7 Bug 1011458 - Buy back a few characters for Windows paths by renaming tests staging directory. r=ted 2014-05-16 04:55:00 +02:00
Benoit Jacob
458b23dd1c Bug 1004483 - Adjust WebGL reftest.list for the fact that Skia blending doesn't handle superluminant pixels - r=jrmuizel 2014-05-15 11:50:16 -04:00
Landry Breuil
19853ae90f Bug 981780: disable some dom/media webrtc tests if webrtc isnt enabled r=drno 2014-05-09 14:41:25 -04:00
Ryan VanderMeulen
4c51cdc449 Backed out changesets 33e91919b06b and a3a67e1ded26 (bug 981780) for OSX bustage.
CLOSED TREE
2014-05-09 15:26:13 -04:00
Landry Breuil
c02fa98236 Bug 981780: disable some dom/media webrtc tests if webrtc isnt enabled r=drno 2014-05-09 14:41:25 -04:00
Vicamo Yang
d97ffaef80 Bug 996443: carry emulator arch automatically for mach commands. r=ahal 2014-05-01 00:57:39 +08:00
Nathan Froyd
eab1e3764a Bug 997820 - part 1.1 - really disable telemetry during reftests; r=ted 2014-04-24 09:37:21 -04:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Arpad Borsos
4136c664aa Bug 474369 - remove nsVoidArray includes; r=ehsan
--HG--
extra : rebase_source : dd3abeb623fd8b784fd6ba639c88def84a4daf58
2014-04-26 16:12:45 +02:00
Bill McCloskey
a35ec487ae Bug 991837 - Only enable APZC during reftest-ipc (r=roc) 2014-04-24 11:17:31 -07:00
Robert O'Callahan
6a9101204b Bug 998206. Add --shuffle option to runreftests.py and 'mach reftest'. r=dbaron
--HG--
extra : rebase_source : 8270c601ad8d5afe4b598e78ed8d84a3c1385f1f
2014-03-03 18:13:01 +13:00
Jonathan Griffin
242852e657 Bug 999723 - Add --browser-arg support to mochitest/reftest on B2G desktop builds, r=ahal 2014-04-23 15:15:00 -07:00
Nathan Froyd
9e661cebcb Bug 997820 - disable telemetry for tests; r=ted 2014-04-17 11:54:41 -04:00
William Lachance
d407cd825b Bug 996862 - Remove use of mozdevice's networktools. r=ahal 2014-04-21 11:03:51 -04:00
Ed Morley
c95190797a Bug 991134 - Output an additional failure line for loadfailed: null failures to make bug 789751 and bug 720452 TBPL starable; r=dbaron 2014-04-17 01:13:38 +01:00
Robert O'Callahan
34c50af6a3 Bug 791480. Make reftests enter print mode before reftest-wait is removed, so canvas-print-callback tests can finish drawing before the test ends. r=dbaron
--HG--
extra : rebase_source : f5b0ded43f9ef670478a06daf36c44987bd6b823
2014-03-25 22:11:27 +13:00
Andrew Halberstadt
fe7d045739 Bug 994711 - Expose --this-chunk and --total-chunks to reftest mach targets, r=jgriffin, DONTBUILD, a=NPOTB 2014-04-14 16:51:46 -04:00
L. David Baron
aa11ec4ab9 Bug 995410 - Call shouldSnapshotWholePage rather than testing for its existence. r=mattwoodrow
This is clearly what was intended when this code was introduced in bug
876626.
2014-04-14 11:12:00 -07:00
L. David Baron
41b3c0a541 Bug 992324 patch 2 - Disable interruptible reflow in reftest harness. r=bzbarsky
Without this patch, mInterruptsEnabled is frequently (although not
always) initialized to true in nsPresContext::ReflowStarted while
running reftests; with the patch it is always initialized to false.
2014-04-09 21:47:58 -07:00
L. David Baron
6b72d8a8ba No bug - Add paragraph about the size of reftests. 2014-04-09 21:47:57 -07:00
Vicamo Yang
e58c108d84 Bug 975442: recognize as emulator if device name begins with 'emulator'. r=jgriffin 2014-04-09 10:14:07 +08:00
L. David Baron
e9a0af4985 Bug 986807 patch 3 - Use preprocessor to avoid duplicating reftest default preference lists. r=ted
Note that the reordering in Makefile.in is because the addition to
PP_TARGETS must be before including rules.mk.  (Logically, I was moving
_DEST_DIR, _HARNESS_FILES, and the _HARNESS_PP_FILES chunk up, but diff
shows it the other way around.)
2014-03-28 20:13:25 -07:00
Bill McCloskey
5dfce6b1d4 Bug 986653 - Add --e10s option to reftests (r=ted) 2014-03-18 16:31:28 -07:00
Jeff Muizelaar
6636e330e1 Bug 980186. Tell automation.environment about the debugger. r=jgriffin
This lets it set the crash reporting envs properly.

--HG--
rename : layout/reftests/abs-pos/table-internal-5-ref.html => layout/reftests/abs-pos/table-internal-1-ref.html
rename : layout/reftests/abs-pos/table-internal-6-ref.html => layout/reftests/abs-pos/table-internal-3-ref.html
rename : layout/reftests/abs-pos/table-internal-7-ref.html => layout/reftests/abs-pos/table-internal-4-ref.html
rename : webapprt/test/chrome/mozpay-failure.html => webapprt/test/chrome/mozpay-success.html
extra : rebase_source : 903979ef854d1c1737ed4b2eb21be26b2bcb7017
2014-03-07 15:38:48 -05:00
Jonathan Griffin
05107f9406 Bug 979650 - Always build with Marionette for Firefox, b2g desktop, r=ted 2014-03-11 13:22:34 -07:00
Carsten "Tomcat" Book
e8531239e2 Backed out changeset b6c3d52bf61e (bug 791480) for breaking B2G ICS Emulator Reftest - 8 2014-03-25 14:36:48 +01:00
Robert O'Callahan
99f62675e1 Bug 791480. Make reftests enter print mode before reftest-wait is removed, so canvas-print-callback tests can finish drawing before the test ends. r=dbaron
--HG--
extra : rebase_source : c545bfbfd4a449c4e880052da0e1e046e37eaf83
2014-03-25 22:11:27 +13:00
L. David Baron
25bb875138 Bug 986807 patch 2 - Sync APZC/viewport prefs from bug 975931 from desktop reftest code to Android/B2G reftest code. r=roc 2014-03-23 18:44:50 -07:00
L. David Baron
5be07cd43e Bug 986807 patch 1 - Sync lower-risk prefs over from desktop reftest code to Android reftest code. r=roc 2014-03-23 18:44:50 -07:00
L. David Baron
43c31de838 Bug 986404: Disable fade-out of overlay scrollbars during reftest. r=mstange 2014-03-22 21:55:04 -07:00
Ryan VanderMeulen
95184620a9 Backed out changeset 1bcd1fea2e73 (bug 922680) for B2G reftest crashes.
CLOSED TREE
2014-03-11 14:29:34 -04:00
Vincent Chen
427d4f169a Bug 922680 - triage reftests which fail oop, r=ahal 2014-03-11 12:12:10 -04:00
Robert O'Callahan
426b8737e5 Bug 975931. Part 11: Make nsDOMWindowUtils::SetDisplayPortForElement take a priority parameter, and set that parameter to 1 in reftests to override automatic displayport selection. r=kats
--HG--
extra : rebase_source : 07dcbfb67cb2db0bbb26a959517bbbdebd84f10b
2014-03-08 22:25:15 +13:00
Robert O'Callahan
f3b7b2a6fa Bug 975931. Part 7: Enable APZC in reftests. r=dbaron
--HG--
extra : rebase_source : 74c33e5b5f4e8aa59199e488cb7606527d7beaec
2014-02-24 20:17:58 +13:00
Robert O'Callahan
52f68466db Bug 975931. Part 4: Support reftest-async-scroll attributes. r=dbaron
--HG--
extra : rebase_source : 2f87486f71f6e670df0999e75ac96cc43123921e
2014-02-24 18:09:47 +13:00
Robert O'Callahan
280f1f2ea9 Bug 975931. Part 3: When the reftest-async-scroll attribute is present, allow reftest-displayport to be set on any element. r=tnikkel
--HG--
extra : rebase_source : 1cd4607ec6e789f55eb19e156cf7d6657424ca31
2014-02-24 18:08:47 +13:00
Robert O'Callahan
26658b46d1 Bug 975931. Part 2: Update README with complete documentation of all attributes, and put the attribute name in the section heading. r=dbaron
--HG--
extra : rebase_source : e5a4790fd9ea2a0c5318901c55314d2751b8a5e7
2014-02-24 18:08:34 +13:00
Wes Kocher
ce7b82463f Backed out changeset 7a2a0130dcdd (bug 980186) for breaking b2g reftests on a CLOSED TREE 2014-03-07 13:57:06 -08:00
Jeff Muizelaar
52f714008a Bug 980186. Tell automation.environment about the debugger. r=jgriffin
This lets it set the crash reporting envs properly.

--HG--
rename : python/mozbuild/mozbuild/test/frontend/data/test-manifest-install-subdir/subdir.ini => python/mozbuild/mozbuild/test/frontend/data/test-manifest-empty/empty.ini
rename : python/mozbuild/mozbuild/test/frontend/data/test-manifest-install-subdir/moz.build => python/mozbuild/mozbuild/test/frontend/data/test-manifest-empty/moz.build
extra : rebase_source : 1e4cbc0dedab57629e120c4d35bd8270c4f44892
2014-03-07 15:38:48 -05:00
Daniel Holbert
0723dc49e4 Bug 977832: Make layout debugger's List() invocation use default "aPrefix" arg, instead of passing "0" (which now gets interpreted as null). r=tn 2014-02-27 15:03:29 -08:00
Andrew Halberstadt
2ccfc1e28c Bug 975085 - Don't create unnecessary devicemanager instance in b2g emulator tests, r=jgriffin 2014-02-20 16:56:57 -05:00
Andrew Halberstadt
2162ac0779 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-19 16:42:01 -05:00
Ryan VanderMeulen
620a57d8a7 Backed out changeset aa631f68a4fe (bug 972099) for causing intermittent Win8 PGO reftest crashes. 2014-02-19 11:37:25 -05:00
Wes Kocher
572d78adfd Backed out changeset a7f8c25c07ac (bug 949600) for breaking clobber due to new update_permissions code, regardless of whether this is a CLOSED TREE. 2014-02-18 16:12:34 -08:00
Andrew Halberstadt
354168bb48 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-18 09:25:58 -05:00
Milan Sreckovic
c02300252c Bug 972099: Set the value for preference gfx.color_management.force_srgb in the profile, rather than in the JS scripts afterwards, as it's too late by then. r=ahalberstadt 2014-02-17 16:19:09 -05:00
Timothy Nikkel
792b7ad8c2 Bug 970250. Add the ability to set a display port on scroll frames that aren't the root scroll frame to reftests. r=dbaron 2014-02-17 15:10:01 -06:00
L. David Baron
a22aa08933 Bug 789602 followup: unbreak printing of REFTEST IMAGE with != test failures, which the initial patch incorrectly put before the REFTEST TEST-UNEXPECTED-FAIL line. 2014-02-16 16:05:09 -08:00
L. David Baron
596a097c34 Fix whitespace and modelines in reftest-analyzer. No bug. 2014-02-16 16:05:09 -08:00
Masayuki Nakano
a183cc5385 Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
Bill McCloskey
f68b403891 Bug 960783 - Support "new out-of-process window" menu item in nightly (r=felipe,bsmedberg,trevor,ted) 2014-02-11 09:01:08 -08:00
Andrew Halberstadt
2d244ee3f6 Bug 948070 - Create a mach target for b2g desktop reftests, r=jgriffin, DONTBUILD, a=NPOTB 2014-01-30 08:42:18 -05:00
Andrew Halberstadt
805da2b117 Bug 916350 - Add missing hunk to get b2g desktop reftests working. r=bustage 2014-01-27 15:05:25 -05:00
David Baron
e65b13f7bf Bug 834842 - Support mach timestamp in reftest-analyzer. r=bgirard 2014-01-25 10:03:54 +00:00
Andrew Halberstadt
1cf91fdbe1 Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-24 10:34:01 -05:00
Andrew Halberstadt
d43f476473 Bug 958533 - Add b2g desktop to the reftest sandbox, r=jgriffin 2014-01-23 16:02:22 -05:00
Wes Kocher
fa809234df Backed out changeset 31ef6f1090fd (bug 916350) for android reftest bustage on a CLOSED TREE 2014-01-21 15:37:02 -08:00
Andrew Halberstadt
65b190d25f Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-21 17:25:20 -05:00
Nathan Froyd
ca52f0f989 Backout 2c24dc80aa00 (bug 916350) for Android reftest/crashtest orange on this CLOSED TREE 2014-01-20 20:08:43 -05:00
Andrew Halberstadt
9ba71d3248 Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-20 17:44:44 -05:00
Gian-Carlo Pascutto
86b9a69241 Bug 783047 - Update SafeBrowsing URLs to use HTTPS. r=mmc,dcamp sr=gavin 2014-01-16 09:27:59 +01:00
Nathan Froyd
b624dfcb52 Bug 813742 - add --parallel option for mach reftest-esque things; r=ted 2014-01-15 09:37:12 -05:00
Nathan Froyd
28051e3089 Bug 813742 - add --run-tests-in-parallel option to reftests; r=ted 2013-07-31 11:07:23 -04:00
Trevor Saunders
ff0491aef6 bug 331376 - merge nsIDocShellTreeNode into nsIDocShellTreeItem r=smaug 2014-01-06 17:34:15 -05:00
Bill McCloskey
bc4112895d Bug 673569 - Let each frame script have its own anonymous scope (r=smaug,Waldo,mrbkap,bsmedberg) 2013-11-23 21:32:45 -08:00
Gregory Szorc
e396fc159d Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Andrew Halberstadt
01181b7de3 Bug 922680 - Add ability to run b2g emulator reftests oop, r=jgriffin 2013-12-03 17:02:39 -05:00
Chris Peterson
cf1496031d Bug 757726 - Part 6a: Add support for cloaking plugin names in navigator.plugins and navigator.mimeTypes enumeration. r=johns sr=bsmedberg 2013-10-31 22:19:09 -07:00
Mike Hommey
2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
26bc04d200 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00