Commit Graph

26 Commits

Author SHA1 Message Date
Xidorn Quan
85f0c3af39 Bug 1267890 part 2 - Add test for -moz-bool-pref(). r=emilio
MozReview-Commit-ID: AFTVgwbi9M

--HG--
extra : source : 8344dd1d7234e4950dd62aaed737dea8197c3406
2017-12-08 20:03:34 -06:00
Emilio Cobos Álvarez
13a91fa9f6 Bug 1417200: Make -moz-border-colors chrome only. r=xidorn
On a CLOSED TREE, since the servo patch managed to get in.

This also makes the border longhand no longer reset them.

MozReview-Commit-ID: KNais1e5FnE
2017-12-01 23:25:01 +01:00
Emilio Cobos Álvarez
d454491418 Bug 1410074: Load input.css from a chrome uri, so windows reftests can use system metric media queries. r=bz,xidorn
This requires exposing the reftest chrome package to content, but that should be
OK, and this seems to work...

MozReview-Commit-ID: EWkwqTHW3dg

--HG--
extra : rebase_source : 12cabe4389375ac4c3abd0a9327baf268aab7c1a
2017-10-06 20:16:43 +02:00
Andrew Halberstadt
9f846814cc Bug 1405349 - [reftest] Refactor manifest parsing from reftest.jsm to standalone module, r=jmaher
There are two motivations for this change.

First, reftest.jsm has become very large and monolithic. It has lots of global
state and is hard to modify without breaking something. This change is a first
attempt at dividing reftest.jsm into multiple standalone(ish) modules. This
will make it easier to comprehend and extend.

Second, we'd like to implement "run-by-manifest" mode for reftest. This means
we'll restart the browser between each manifest run. This means much of the
state which is normally stored in global variables in reftest.jsm, will instead
need to be stored in python. A prerequisite to doing that is parsing the
manifests before starting the test suite. A prerequisite to that is moving the
manifest parsing code into a standalone JSM. This is the first step.

MozReview-Commit-ID: 42epTs8EU1O

--HG--
extra : rebase_source : 3db27445af0969867857fbfe41add13161a01cb8
2017-10-02 12:03:43 -04: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
Andrew Halberstadt
79791a2cff Bug 1330772 - Remove all b2g related code from reftests, r=jmaher
MozReview-Commit-ID: HY1XbcliTNA

--HG--
extra : rebase_source : f02093222f1cc619e328c877382361950f83329d
2017-01-12 16:37:37 -05:00
Andrew Halberstadt
6e6c1c8aae Bug 1245092 - Install reftest and specialpowers extensions at runtime via AddonManager.installTemporaryAddon, r=jgriffin
MozReview-Commit-ID: 5HSa3nFVTeF

--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest.jsm
extra : rebase_source : 924a3e937b47cac03674acdb56334882a2373f50
2016-03-09 14:38:13 -05:00
Andrew Halberstadt
f94d7e71d8 Bug 1034290 - Use structured log output for test results in reftest, r=jmaher
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we
can modify the format without breaking things, and we can stream results into systems like
ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is
used to generate the JSON-based log stream. Finally OutputHandler in the python harness
reads structured output from stdout, and formats it into human readable form.

MozReview-Commit-ID: G3ZLkMRl6p7

--HG--
extra : commitid : J3ui9XYWR3Q
extra : rebase_source : 77ed0ba842cc8e557141fb3494212b06868c728a
extra : amend_source : 735d48225a2e627e0fe45fc11b50b6c49a885a4b
extra : source : d1779fe421c3c7cd8e3d191816776390dc104f37
2016-02-05 15:44:20 -05:00
Phil Ringnalda
66e6da78e6 Back out d1779fe421c3 (bug 1034290) for UnicodeDecodeErrors in things run by the reftest harness
CLOSED TREE
2016-02-05 08:18:47 -08:00
Andrew Halberstadt
8a462fd84b Bug 1034290 - Use structured log output for test results in reftest, r=jmaher
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we
can modify the format without breaking things, and we can stream results into systems like
ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is
used to generate the JSON-based log stream. Finally OutputHandler in the python harness
reads structured output from stdout, and formats it into human readable form.

--HG--
extra : commitid : J3ui9XYWR3Q
extra : rebase_source : 6bae978126dbd5beddc39332c7cbce0c1354cd87
extra : amend_source : 735d48225a2e627e0fe45fc11b50b6c49a885a4b
2015-10-29 15:01:44 -04: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
Andrew Halberstadt
7c1ba0c892 Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin 2012-08-10 14:25:20 -04:00
Joel Maher
43da672ee8 Bug 704509 - fix reftests to work with native fennec. r=dbaron 2011-12-20 16:33:41 -05:00
Joel Maher
80e7b2594f Bug 710877 - allow reftest to use FileUtils and remove quit.js code. r=dbaron 2011-12-20 07:46:10 -05:00
Ed Morley
65606e4587 Backout 4f44ef4d21fb (bug 710877) for Android test failures on a CLOSED TREE 2011-12-19 20:29:35 +00:00
Joel Maher
944f7d0cae Bug 710877 - allow reftest to use FileUtils and remove quit.js code. r=dbaron 2011-12-19 13:29:28 -05:00
Joel Maher
d4e409c106 Bug 668303 - convert mozillafilelogger to specialpowers. r=ctalbert, a=test-only
--HG--
rename : testing/mochitest/tests/SimpleTest/MozillaFileLogger.js => testing/mochitest/tests/SimpleTest/MozillaLogger.js
2011-07-18 22:10:29 -04:00
Chris Jones
97685d6934 Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Clint Talbert
f960b0cffd Bug 573694 Optionally allow reftest harness to write output to log file for android r=dbaron 2010-07-26 18:43:33 -07:00
Benjamin Smedberg
2be0746f06 Fix reftest so that components are registered in the root chrome.manifest when it is packaged as an extension instead of in-tree. 2010-06-25 08:27:10 -04:00
Ted Mielczarek
ab3cd011df bug 420084 - reftest should use nsIXULRuntime.widgetToolkit instead of autoconf.js. r=dbaron 2009-02-03 09:11:28 -05:00
dbaron%dbaron.org
5572c401f7 Allow reftest to be marked as failing or random on a specific platform. b=369330 r=robcee 2007-02-08 19:24:43 +00:00
dbaron%dbaron.org
c34fef054b Add code so that reftest quits properly on Mac OS X. Patch by Rob Campbell <rcampbell@mozilla.com>. r=dbaron b=363985 2007-01-08 18:22:48 +00:00
dbaron%dbaron.org
0efab2d31f Check in XUL framework for acceptance tests with HTML reference renderings. Not part of build. b=344591 2006-09-05 21:50:54 +00:00