Commit Graph

1173 Commits

Author SHA1 Message Date
Benjamin Smedberg
df806a1923 Bug 1335475 - Reftest harness needs to check for the test plugin without using navigator.plugins. r=dbaron
Previously the harness would check for navigator.plugins[Test Plug-in] in the browser window, but that is now blocked from working. Instead we can simply use an existing getTestPlugin function that enumerates the plugin through nsIPluginHost

MozReview-Commit-ID: Kp48u5iFkSa
2017-05-03 18:12:44 -03:00
Andrew Swan
79a787c063 Bug 1352204 Fix test issues with non-MPC extensions r=kmag
Continue to allow non-multiprocessCompatible extensions in automation.
There are a ton of places that would need to be changed, many of which
will be changing soon anyway with the non-webextensions change in 57
so this is mostly the expedient route to keeping the tree green.

MozReview-Commit-ID: EZZoDVdhLfy

--HG--
extra : rebase_source : f83472bc1c88dd0deadbe485d9002499027ff07f
2017-05-03 08:02:51 -07:00
Sebastian Hengst
a71bcd1f3c Backed out changeset 46dd4a4338a1 (bug 1352204) for timing out Talos suites g2, o and s. r=backout 2017-05-02 20:19:17 +02:00
Andrew Swan
efb4f22c33 Bug 1352204 Fix test issues with non-MPC extensions r=kmag
Continue to allow non-multiprocessCompatible extensions in automation.
There are a ton of places that would need to be changed, many of which
will be changing soon anyway with the non-webextensions change in 57
so this is mostly the expedient route to keeping the tree green.

MozReview-Commit-ID: EZZoDVdhLfy

--HG--
extra : rebase_source : 34aa762917566b052ade6372280caed72fbfbe9a
2017-05-01 10:34:27 -07:00
Shing Lyu
05ac48b1a2 Bug 1344132 - Make reftest run stylo-vs-gecko test without special reftest.list. r=heycam
MozReview-Commit-ID: 7gBGd5wzGbL
2017-04-28 11:15:45 +08:00
Sebastian Hengst
3e327c65cd Backed out changeset e0f41e4a4bc4 (bug 1344132) for failing reftest reftest-opaque-layer-fail.html. r=backout on a CLOSED TREE 2017-04-26 13:15:29 +02:00
Shing Lyu
f8f23bfc86 Bug 1344132 - Make reftest run stylo-vs-gecko test without special reftest.list. r=heycam
MozReview-Commit-ID: 3BpOWa9lEat
2017-04-26 18:21:39 +08:00
Shing Lyu
b9f91a773f Bug 1344991 - Continue reftest after a crash r=dbaron,jmaher
MozReview-Commit-ID: CTUaweql66d

--HG--
extra : rebase_source : 50a4673f3fd1ea83a58f5b2373c28c6c66f721ab
2017-03-09 10:49:20 +08:00
Alex Gaynor
fcd28c5b2a 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

--HG--
extra : rebase_source : 81ba8bfee0ca96979cf8e30d75cdd47f06bc10ea
2017-04-07 14:53:19 -04:00
Sebastian Hengst
e7317789ad 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
fd11319799 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

--HG--
extra : rebase_source : f637acff32fc8582732de932503dd696abc57877
2017-04-07 14:53:19 -04:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 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
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Geoff Brown
f513cbe989 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
3dc7a8afc0 Backed out changeset 6bbf9c0c5dac (bug 1344991) for causing bug 1356002 2017-04-13 09:47:01 +02:00
Wes Kocher
25d50f2c30 Merge inbound to central, a=merge 2017-04-12 14:39:09 -07:00
Geoff Brown
f8160809a8 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
decf51a9ce 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
d0fd3f7c52 Bug 1344991 - Continue reftest after a crash r=dbaron,jmaher
MozReview-Commit-ID: CTUaweql66d

--HG--
extra : rebase_source : 0df999e218f8560f5e64e0ea128c22977a243fcb
2017-03-09 10:49:20 +08:00
Geoff Brown
3c3f929c78 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
4725e008d0 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

--HG--
extra : rebase_source : bf31d336df7c4c28c04454338a912632087aa3ff
2017-04-04 16:34:03 +01:00
Makoto Kato
17ed0da277 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

--HG--
extra : rebase_source : 5bf2e6f4105f3437fb3c88410a246e1b85b1bf1d
2017-04-03 12:37:48 +09:00
Phil Ringnalda
7ac3bd5b7e 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
cb61bf3b0e 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

--HG--
extra : rebase_source : 0c967b38faf506c2e93abc8707e27cfa5388de00
2017-03-31 14:20:55 +09:00
Tooru Fujisawa
c5a8c23dab Bug 1331092 - Part 4: Add release_or_beta variable to reftest condition. r=jmaher 2017-03-27 23:20:18 +09:00
Mason Chang
72173b1708 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
df122d5bfa 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
d91ac89313 Bug 1340584 - Change reftest dm_trans default from sut to adb; r=bc 2017-03-16 20:29:57 -06:00
Wes Kocher
efcef12931 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
ecc9668072 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
8db21fb2ea 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

--HG--
extra : rebase_source : 4e45753f11b20313ed010ec8d01e0403b89591fd
extra : amend_source : c1f4acb341f0cb2f713080e73c686a5e67aed521
2017-03-13 19:08:28 -07:00
Florian Quèze
9d62681259 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
cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Matt Woodrow
ebf572da48 Bug 1300355 - Part 3: Disable reftest canvas cache for win 7. r=jmaher 2017-02-24 12:46:58 +13:00
Matt Woodrow
4f039d6820 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
5fa3fe2fb1 Bug 1300355 - Part 1: Increase frequency of GC/CC during reftests. r=dbaron 2016-09-28 13:29:46 +13:00
Andrea Marchesini
24004054a8 Bug 1334975 - Get rid of nsIFilePicker.show() use in gecko, r=ochameau 2017-03-03 09:42:27 +01:00
L. David Baron
e7546e008c 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

--HG--
extra : rebase_source : 46b2435ddbd3e8485536806d9fc7987599227f16
2017-02-23 14:34:27 -08:00
Boris Zbarsky
39855cf6b2 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

--HG--
extra : rebase_source : 70262f7d6863cdee769700d449f8e2183af7225d
2017-02-22 19:30:57 -05:00
Deepa
31c56b8f1f Bug 1280572 - Add layout/tools/reftest to flake8 linter r=ahal
MozReview-Commit-ID: Cqllz9BeV7X

--HG--
extra : rebase_source : 862709bfe8600a0761467cc79cfa9dadb4e66e62
2017-02-15 01:20:56 +05:30
Kartikaya Gupta
6580d884b2 Merge m-c to graphics
MozReview-Commit-ID: uU8MPphFqj
2017-02-02 13:38:51 -05:00
Kartikaya Gupta
21e9123c56 Merge m-c to graphics
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Kartikaya Gupta
445dea068b Merge m-c to graphics
MozReview-Commit-ID: Kv6GW5ElioD
2017-01-29 08:03:30 -05:00
Ryan Hunt
3fe2c02ee1 Merge m-c to graphics 2017-01-27 10:07:37 -06:00
Ryan Hunt
434ca7039f Merge m-c to graphics 2017-01-26 08:59:21 -06:00
L. David Baron
b0cf27878d 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

--HG--
extra : transplant_source : v%BB%09%C8M8%FE%25%A9%A6%3D%EA%BD%BE%DF7%08%9A%85m
2017-01-25 22:05:16 -08:00
Kartikaya Gupta
ca041b7c5a Merge m-c to graphics
MozReview-Commit-ID: FOyS87VawTT
2017-01-25 08:52:04 -05:00
Florian Quèze
0e0865f4fc 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
ef0d2650f7 Add tests that the GPU process is running. (bug 1333684, r=mattwoodrow)
--HG--
extra : rebase_source : 436bcdaba4019040ce36a53e60f15a90e0131df7
2017-01-26 16:26:10 -08:00