Commit Graph

1166 Commits

Author SHA1 Message Date
Shing Lyu
a4a7e11348 Bug 1344991 - Continue reftest after a crash r=dbaron,jmaher
MozReview-Commit-ID: CTUaweql66d
2017-03-09 10:49:20 +08:00
Alex Gaynor
478321d9d3 Bug 1294641 - whitelist reads from the .app directory in the macOS sandbox r=froydnj,haik
This patch does a few things:
a) Adds the resources location from the .app directory to the read whitelist
b) When it's a non-packaged build, mach run (and various mach tests) set an environment variable for the repo location which we allow reads from.

r=haik,froydnj

MozReview-Commit-ID: KNvAoUs5Ati
2017-04-07 14:53:19 -04:00
Sebastian Hengst
155e26d497 Backed out changeset 225683fed1d1 (bug 1294641) for breaking crashtests, reftests and Windows builds. r=backout on a CLOSED TREE 2017-04-17 16:29:52 +02:00
Alex Gaynor
d7af07ecbe Bug 1294641 - whitelist reads from the .app directory in the macOS sandbox r=froydnj,haik
This patch does a few things:
a) Adds the resources location from the .app directory to the read whitelist
b) When it's a non-packaged build, mach run (and various mach tests) set an environment variable for the repo location which we allow reads from.

r=haik,froydnj

MozReview-Commit-ID: KNvAoUs5Ati
2017-04-07 14:53:19 -04:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Geoff Brown
44ef1ea889 Bug 1355800 - Improve test web server shutdown to avoid delays; r=jmaher
This eliminates a 2 minute timeout seen at the end of Android mochitests
and reftests. Attempts to shutdown the web server were failing because
they were directed at IP 10.0.2.2 -- the loopback address for the
Android emulator.
2017-04-13 14:33:42 -06:00
Carsten "Tomcat" Book
cd13d12db4 Backed out changeset 6bbf9c0c5dac (bug 1344991) for causing bug 1356002 2017-04-13 09:47:01 +02:00
Wes Kocher
15e788d2f7 Merge inbound to central, a=merge 2017-04-12 14:39:09 -07:00
Geoff Brown
f6246c5baa Bug 1340233 - Take more care when killing browser before starting Android tests; r=jmaher
The devicemanager killProcess() is updated to use force-stop first, then
use kill if force-stop does not work.

Browser test harnesses are updated to check if killProcess() worked, and
warn if it failed.
2017-04-12 09:15:53 -06:00
Geoff Brown
eefd2fe813 Bug 1355222 - When debug logging requested for android mach test commands, enable devicemanager logging; r=jmaher 2017-04-11 09:21:37 -06:00
Shing Lyu
2774d8a2f0 Bug 1344991 - Continue reftest after a crash r=dbaron,jmaher
MozReview-Commit-ID: CTUaweql66d
2017-03-09 10:49:20 +08:00
Geoff Brown
67dfff041e Bug 1354042 - Delete pending crash reports between reftests; r=jmaher
Pending crash reports are stored in UAppData, which is typically
outside of the test profile. Pending crash reports left by one test
may affect future tests, so it is important that they be deleted
between tests. However, since UAppData crash data may be important
to developers running tests outside of automation, the harness cannot
delete them unless requested with the --cleanup-crashes option.
2017-04-07 15:46:08 -06:00
Andreas Tolfsen
5d5e50f406 Bug 1350887 - Skip recommended Marionette prefs for reftests; r=whimboo
The recommended Marionette preferences for use in automation are not so
useful when testing the browser itself.  Many of the tests for Firefox
have highly specific requirements, and setting the recommended Marionette
preferences could for these mean a deterioration of test coverage.

The majority of test harnesses utilising Marionette use it to install
unsigned add-ons at runtime, and these preferences are not relevant in
this context.

To avoid an unfortunate and unintended regression in test coverage,
we skip using the recommended Marionette preferences when we test the
browser itself.

MozReview-Commit-ID: 4DeHZfQEX7d
2017-04-04 16:34:03 +01:00
Makoto Kato
dcae9c156c Bug 1351074 - Part 3. Include AsyncSpellCheckTestHelper.jsm in reftest. r=masayuki
reftest cannot use testing-common, so we should include AsyncSpellCheckTestHelper.jsm in reftest.jar.

Previous fix has typo of chrome vs resource.  It should be chrome://.

MozReview-Commit-ID: KeyDLjc9AUI
2017-04-03 12:37:48 +09:00
Phil Ringnalda
b10afb2162 Backed out 3 changesets (bug 1351074) for reftest harness and browser_all_files_referenced.js bustage
CLOSED TREE

Backed out changeset 941e0f9ff9a7 (bug 1351074)
Backed out changeset 4fdf3b87a70b (bug 1351074)
Backed out changeset 586428f69838 (bug 1351074)
2017-04-02 19:46:49 -07:00
Makoto Kato
6291de7efd Bug 1351074 - Part 3. Include AsyncSpellCheckTestHelper.jsm in reftest. r=masayuki
reftest cannot use testing-common, so we should include AsyncSpellCheckTestHelper.jsm in reftest.jar.

MozReview-Commit-ID: KeyDLjc9AUI
2017-03-31 14:20:55 +09:00
Tooru Fujisawa
1f34c977a2 Bug 1331092 - Part 4: Add release_or_beta variable to reftest condition. r=jmaher 2017-03-27 23:20:18 +09:00
Mason Chang
65fa409518 Bug 1348414 Always snapshot after no more paints are pending if WR is enabled. r=mattwoodrow 2017-03-22 12:20:00 -07:00
Geoff Brown
b72a74a2a6 Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach
sutagent is no longer built or used; devicemanagerSUT is completely
unused. After this change, devicemanagerADB is the only implementation of
devicemanager, and test harness options like --dm_trans are eliminated.
2017-03-21 12:20:01 -06:00
Geoff Brown
41d4582c4d Bug 1340584 - Change reftest dm_trans default from sut to adb; r=bc 2017-03-16 20:29:57 -06:00
Wes Kocher
0fb51d45d6 Backed out changeset e73241bcb49a (bug 1340584) for Windows build failures a=backout CLOSED TREE
MozReview-Commit-ID: 22csfCgl7Wb
2017-03-16 10:25:15 -07:00
Geoff Brown
24947f9d75 Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach
sutagent is no longer built or usedr; devicemanagerSUT is completely
unused. After this change, devicemanagerADB is the only implementation of
devicemanager, and the --dmTrans and similar options have been removed
from test harnesses and mach commands.
2017-03-16 10:44:44 -06:00
L. David Baron
8ff21d0849 Bug 1346692 - Clarify reftest documentation about combining <failure-type>s. No review.
This makes two changes:

* adds "on the line" to clarify what last means

* adds "when combining <failure-type> from the manifest include and the
  test line" to clarify that the parenthetical only applies to combining
  at different levels, and not within a line

DONTBUILD
2017-03-13 19:08:28 -07:00
Florian Quèze
b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Florian Quèze
c7eae86054 Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
Matt Woodrow
a3a97f3f2a Bug 1300355 - Part 3: Disable reftest canvas cache for win 7. r=jmaher 2017-02-24 12:46:58 +13:00
Matt Woodrow
ff6e02b72b Bug 1300355 - Part 2: Don't track use counts in the reftest harness when the cache is disabled. r=dbaron 2017-02-26 16:57:01 +13:00
Matt Woodrow
c84ba6b555 Bug 1300355 - Part 1: Increase frequency of GC/CC during reftests. r=dbaron 2016-09-28 13:29:46 +13:00
Andrea Marchesini
70fbece79d Bug 1334975 - Get rid of nsIFilePicker.show() use in gecko, r=ochameau 2017-03-03 09:42:27 +01:00
L. David Baron
568b2b700c Bug 1342252 - Fix printing of reftest images for failed != tests. r=jgraham
This makes the code work the way it looks like it was intended to work
based on what was already in output.py.

MozReview-Commit-ID: 8LJHxlfiQQ8
2017-02-23 14:34:27 -08:00
Boris Zbarsky
61364f88a7 Bug 1341927. Fix the stylo reftest setup to set prefs via the normal mechanism and hence not run afoul of the reftest harness canvas caching. r=heycam
MozReview-Commit-ID: 9XlVwTV964w
2017-02-22 19:30:57 -05:00
Deepa
bb63c1ff3d Bug 1280572 - Add layout/tools/reftest to flake8 linter r=ahal
MozReview-Commit-ID: Cqllz9BeV7X
2017-02-15 01:20:56 +05:30
Kartikaya Gupta
3e3b1b3f6f Merge m-c to graphics
MozReview-Commit-ID: uU8MPphFqj
2017-02-02 13:38:51 -05:00
Kartikaya Gupta
bf02e9ff78 Merge m-c to graphics
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Kartikaya Gupta
ca47d6661a Merge m-c to graphics
MozReview-Commit-ID: Kv6GW5ElioD
2017-01-29 08:03:30 -05:00
Ryan Hunt
b60d405ff9 Merge m-c to graphics 2017-01-27 10:07:37 -06:00
Ryan Hunt
fda7c21991 Merge m-c to graphics 2017-01-26 08:59:21 -06:00
L. David Baron
03fdb51fe9 Bug 1333951 - Unbreak dumping of style contexts. r=bzbarsky
Prior to this patch, dumping of style contexts in the layout
debugger would only dump the subtree associated with the root
frame, which just covers the viewport, canvas, and associated
scrollbars.

I think this has been broken since bug 236921 (2004) and
bug 378693 (2007) properly disconnected the root element from the
styles for the viewport and canvas.

This patch just manually dumps the root frame and the root
element's frame, since the style set no longer maintains a list
of all of the style context roots.

MozReview-Commit-ID: 5LEnbNtngN2
2017-01-25 22:05:16 -08:00
Kartikaya Gupta
5c508e0b98 Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
David Anderson
94ecc267c8 Add tests that the GPU process is running. (bug 1333684, r=mattwoodrow) 2017-01-26 16:26:10 -08:00
Jet Villegas
d80284110f Bug 1292460 - Focus the reftest browser before starting tests, except when filtering out needs-focus tests. r=dbaron 2017-01-24 05:57:19 +09:00
Kartikaya Gupta
05ab5e41a7 Merge m-c to graphics
MozReview-Commit-ID: Gds3AlDHXgY
2017-01-20 10:07:40 -05:00
Kartikaya Gupta
cd6737c05f Merge m-c to graphics
MozReview-Commit-ID: D0L4I5rdVli
2017-01-19 10:43:00 -05:00
Kartikaya Gupta
62ce806cab Merge m-c to graphics
MozReview-Commit-ID: LyU2woFOt7O
2017-01-18 13:48:56 -05:00
Mark Banner
55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Kartikaya Gupta
ffccc882ca Merge m-c to graphics
MozReview-Commit-ID: Id83SqNnzku
2017-01-16 07:38:20 -05:00
Andrew Halberstadt
b6864170d2 Bug 1330772 - Remove all b2g related code from reftests, r=jmaher
MozReview-Commit-ID: HY1XbcliTNA
2017-01-12 16:37:37 -05:00