Commit Graph

1334 Commits

Author SHA1 Message Date
Cosmin Sabou
81a8319b46 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
rename : dom/xul/templates/nsXULSortService.cpp => dom/xul/nsXULSortService.cpp
2018-01-03 23:59:59 +02:00
Geoff Brown
8e192994f8 Bug 1423771 - Suppress error when no reftests verified; r=jmaher
There are some edge cases in test verification where mozharness requests
reftest verification of a non-reftest. In this case, it is best for the
reftest harness to figure out that the requested file is not a test,
do no work and exit cleanly without complaint.
2018-01-03 09:29:32 -07:00
Andrew Halberstadt
5b6ee32372 Bug 1421799 - [reftest] Log 'GECKO(<pid>)' instead of 'ProcessReader' for process_output log actions r=gbrown
MozReview-Commit-ID: FsKg5Gtwx9Z

--HG--
extra : rebase_source : 9b29b44fcec93ade12bc7147a04226a234f1d730
2017-12-06 14:11:55 -05:00
Sebastian Hengst
e6dbbae0aa Backed out 5 changesets (bug 1421799) for failing firefox ui functional tests. r=backout on a CLOSED TREE
Backed out changeset f9f32474fdaf (bug 1421799)
Backed out changeset 18b4fa241936 (bug 1421799)
Backed out changeset 88dca5c8cfac (bug 1421799)
Backed out changeset 8c1f1ab754a5 (bug 1421799)
Backed out changeset e028f677bc80 (bug 1421799)
2018-01-03 20:21:28 +02:00
Andrew Halberstadt
0b44c941df Bug 1421799 - [reftest] Log 'GECKO(<pid>)' instead of 'ProcessReader' for process_output log actions r=gbrown
MozReview-Commit-ID: FsKg5Gtwx9Z

--HG--
extra : rebase_source : 0b012271e1673b641c4514714f0ab68b42d2bd0d
2017-12-06 14:11:55 -05:00
Florian Quèze
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Dorel Luca
61983e9ada Backed out 5 changesets (bug 1421799) for failing browser-chrome on Linux and OSX and for failing autophone-mochitest on Android r=backout on a CLOSED TREE
Backed out changeset 7fb20bced076 (bug 1421799)
Backed out changeset 629e467a07be (bug 1421799)
Backed out changeset 2de335c0287a (bug 1421799)
Backed out changeset afe14ec646ab (bug 1421799)
Backed out changeset bbe4d2292f86 (bug 1421799)
2017-12-14 15:41:22 +02:00
Andrew Halberstadt
b59244590b Bug 1421799 - [reftest] Log 'GECKO(<pid>)' instead of 'ProcessReader' for process_output log actions r=gbrown
MozReview-Commit-ID: FsKg5Gtwx9Z

--HG--
extra : rebase_source : 3bb118c510be08bb8716d553beeae09c7d60d82b
2017-12-06 14:11:55 -05:00
Andrew Halberstadt
3e46924759 Bug 1209463 - [test] Use a common logger across suites from |mach test| and other test commands, r=gbrown
In order for |mach test| and |mach mochitest| to log an overall summary,
every test harness invocation they make needs to use the same structured
logger (otherwise the affected suite will be missing from the summary).

MozReview-Commit-ID: 8LJw7r8SItk

--HG--
extra : rebase_source : 1417dce3817bae94ad61a5250065c6cbc35857e4
2017-11-23 13:04:19 -05:00
Andrew Halberstadt
7f664cfdaf Bug 1209463 - [test] Log suite names in test harnesses, r=gbrown
Suite names are currently only used by formatters to print out
an overall summary from |mach test| and |mach mochitest|. So
this doesn't need to be exact and can be tweaked further at a
later date.

If multiple test invocations have the same suite name, their
results will be merged in the overall summary. If a suite name
is missing, the summary will contain a placeholder name.

MozReview-Commit-ID: K1xpb9hUQRX

--HG--
extra : rebase_source : cc8cc8b36255d939dd5dffd3c5444c34951ac8e2
2017-11-27 17:20:06 -05:00
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
Narcis Beleuzu
fd0b701b6f Backed out 4 changesets (bug 1417251) for reftest failures in abs-pos-non-replaced-vrl* on Windows and in box-sizing-replaced* on Android. r=backout a=backout
Backed out changeset 66d4e6df73d2 (bug 1417251)
Backed out changeset 5f8edbddf6b5 (bug 1417251)
Backed out changeset bf26cbb99b6a (bug 1417251)
Backed out changeset 2374657677b7 (bug 1417251)

--HG--
extra : amend_source : 9e00f8873f41a7aa6a98e6ccb6528e0c3c19eb05
2017-12-08 14:31:03 +02:00
Jonathan Watt
3e61847b92 Bug 1417251, part 2 - Make the reftest harness support loading of consecutive URIs differing only by hash. r=dbaron,bz
MozReview-Commit-ID: 6VVJrtX1KZa
2017-11-14 15:58:30 +00: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
Noemi Erli
d96f41a437 Merge inbound to mozilla-central r=merge a=merge 2017-11-18 00:01:46 +02:00
Jan de Mooij
3a57a1a466 Bug 1417844 part 5 - Stop passing -v 170 to xpcshell. r=jmaher 2017-11-17 12:14:04 +01:00
Jonathan Watt
08a7a8b80b Bug 1382427 - Support running reftest in a mode that runs the test with Retained Display lists on, and references with it off. r=mattwoodrow
This change adds a pref reftest.compareRetainedDisplayLists to enable
this mode.

MozReview-Commit-ID: JxSkJrQifQx
2017-10-31 09:44:17 +00:00
Noemi Erli
fe054d4e08 Backed out changeset c2bf7ca0839c (bug 1382427) for failing reftests r=backout on a CLOSED TREE 2017-11-15 14:22:43 +02:00
Jonathan Watt
61b75cd481 Bug 1382427 - Support running reftests with retained display lists on for the test files only. r=mattwoodrow
MozReview-Commit-ID: 4n2kvXU2RYo
2017-10-30 18:09:41 +00:00
Ed Lee
cf71bbf47e Bug 1415812 - Fix broken Pocket disclaimer, missing rich icons and bug fixes to Activity Stream. r=k88hudson
MozReview-Commit-ID: CAHA3b13jCE

--HG--
extra : rebase_source : a147b717fe2915c20d6e4e1e8f752769295331e7
2017-11-15 12:27:46 -08:00
Geoff Brown
cbb956e0c3 Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh 2017-11-10 07:03:36 -07:00
Jonathan Watt
256036cf05 Bug 1414070 - Expose whether the URL is a test or reference when telling reftest-content.js to load a URL. r=dholbert
As part of this change, the confusingly named global variable 'state' is
renamed to 'currentURLTargetType', and named "enum" values are assigned
to it rather than raw integers.

MozReview-Commit-ID: FTEOB9wF8Q1
2017-10-23 14:55:27 +01:00
Jonathan Watt
db2545b068 Bug 1414644 - Stop importing XPCOMUtils.jsm into reftest-content.js. r=dholbert
MozReview-Commit-ID: FSLy3R8ZVf2
2017-10-20 12:46:19 +01:00
Jonathan Watt
64c37f30fa Bug 1415217 - Try to replace reftest error 'load failed with unknown reason' with informative messages. r=dholbert
If the reftest harness times out the load of a URL before the 'load' event
has even fired then the error message that we get is 'load failed with unknown
reason'.  This isn't very helpful for people unfamiliar with the harness.  This
change sets an initial error message that notes that we're waiting on the
'load' event, what the timeout delay is, and what URL we are/were waiting on
loading.  This will allow the timeout delay to be compared to log timestamps
and will make it clear whether the timeout occurred for some other URL than
the one we were expecting to load (which would be an error in the harness
logic).

It should now be impossible for the 'load failed with unknown reason' to occur,
but if there is a logic error in the harness code (some race condition?) then
it may still happen.

MozReview-Commit-ID: JOb1kYBpLro
2017-10-19 16:59:32 +01:00
Geoff Brown
5b5cebded9 Bug 1414063 - Follow-up for lint errors 2017-11-03 12:16:09 -06:00
Geoff Brown
8538ff6458 Bug 1414063 - Increase mochitest/reftest default output timeout to 370 seconds; r=jmaher 2017-11-03 12:08:29 -06:00
Chris H-C
75fc345254 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.
reftests should have unified telemetry on. It's the future.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-30 10:47:39 -04:00
Phil Ringnalda
4bc2b1615d Backed out 4 changesets (bug 1408433, bug 1406391, bug 1408512) for crashing tests by touching the network contacting incoming.telemetry.mozilla.org on nightly builds
Backed out changeset 9bfd4b0927dc (bug 1408433)
Backed out changeset 555850d5107e (bug 1408512)
Backed out changeset 15d959b9123e (bug 1406391)
Backed out changeset e1f34ba9cecc (bug 1406391)

MozReview-Commit-ID: BVoGRsD73Hf
2017-10-27 21:08:27 -07:00
Chris H-C
8e6dd31d55 bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter
Minor note:
reftests should've turned off uploadEnabled in the first place.

MozReview-Commit-ID: 9spzuUAXwwP
2017-10-27 10:59:43 -04: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
Henrik Skupin
e3c38148be Bug 1411913 - Enable Marionette trace log for mochitest/reftest by default. r=jmaher
MozReview-Commit-ID: 1cGy3YlJml1

--HG--
extra : rebase_source : 23106578640a64848c164121a96cdddebd13cad8
2017-10-26 13:05:17 +02:00
Jonathan Watt
622d16785d Bug 1411459 - Correct and update the "screen resolution is too low" reftest error messages. r=mattwoodrow
MozReview-Commit-ID: 9WYsS2EW2cj
2017-10-03 11:59:31 +01:00
Geoff Brown
5facbdc255 Bug 1410714 - Help mach tests find adb when running Android tests; r=jmaher 2017-10-24 15:17:25 -06:00
Masatoshi Kimura
dbd92543c6 Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj
MozReview-Commit-ID: 7JoD4VYzZp3

--HG--
extra : rebase_source : 5db437f1c34608aa223916874d62b48c59baeae8
2017-10-21 23:53:02 +09:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
db37a82e0b Bug 1404181 - Part 9: Add code for detecting if display list building happened for a given frame, and use it to add some tests for retained display lists. r=mstange
MozReview-Commit-ID: AIb0AWU7iiS

--HG--
extra : rebase_source : f6277bbe2c8ffd571e32bb886903243df655918e
2017-09-27 17:17:11 +13:00
Blake Kaplan
816bc3bdf2 Bug 1406212 - Fix the reftest harness's logic for enabling or disabling e10s. r=jmaher
Right now, e10s defaults to "on" in Nightly via the default pref
browser.tabs.remote.autostart.2=true. The reftest harness ignores that pref
and attempts to enable it by setting browser.tabs.remote.autostart to true (as
well as disabling the checks for non-mpc-compatible extensions). There's a
bug, however, and we overwrite the value for .autostart by reading
reftest-prefernces.js (which unconditionally sets .autostart to false).

Therefore, the existing code works because it ignores the .autostart.2 pref
and whether we enable e10s is entirely controlled by setting
extensions.e10sBlocksEnabling (the reftest extension is not mpc-compatible).
With this change, we unconditionally set .remote to the value that we want
(and we trust that the only non-mpc-compatible extensions are specially vetted
and part of our build system) so that things work as advertised on the box.

MozReview-Commit-ID: Li5N4NP4PwD

--HG--
extra : rebase_source : 50f842bcf6a13e8daeae8c0c76696c2edeb8f96b
2017-10-16 14:01:01 -07:00
Blake Kaplan
448808fee2 Bug 1406212 - Remove browser.tabs.remote.autostart.N. r=Felipe
These are no longer needed.

MozReview-Commit-ID: C49R7GsWPDg

--HG--
extra : rebase_source : 3711365017bf48c1f53315ce48fa419ac2a89b3e
2017-10-10 16:12:20 -07:00
Sebastian Hengst
f9b5b9b40c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 790IXj5MZ4f
2017-10-18 11:48:34 +02:00
Andrew McCreight
89066070da Bug 1409075 - Add a blank line to satisfy the linter. r=bustage DONTBUILD
MozReview-Commit-ID: 6olMm4Y59Xd

--HG--
extra : amend_source : 0f3dc5b4cc5fe336ff02b8583c9fd89adb05c344
2017-10-17 20:12:14 +02:00
Andrew McCreight
031371eca5 Bug 1409075 - Reduce the tab process leak threshold to reflect the current state. r=erahm 2017-10-17 10:11:00 -04:00
Geoff Brown
3f04ade908 Bug 1409062 - Update mochitest and reftest harnesses for --verify on Android; r=jmaher 2017-10-17 08:00:52 -06:00
Sebastian Hengst
fea24c0daf merge mozilla-central to autoland. r=merge a=merge
--HG--
extra : rebase_source : 819bdfcc5e3f50cb5a3d8d76ce1f88ceeb0dd5a9
2017-10-17 23:54:52 +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
Alex Gaynor
3e55a9622e Bug 1407292 - don't whitelist the script directory, it is duplicative of the srcdir; r=ahal
MozReview-Commit-ID: 2HpJZkHCyhk

--HG--
extra : rebase_source : 8613e3629a7658f9df7296e2e58da82a67cc12da
2017-10-10 15:06:33 -04:00
Tobias Schneider
1a35b24ce7 Bug 1407104 - Use "let" rather than "var" in reftest harness JS. r=dholbert
--HG--
extra : rebase_source : 155681a7cd0b933f4d41cf24b3e21a54690cbf71
2017-10-10 10:46:24 -07:00
Nicholas Nethercote
d225f7151b Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
(Path is actually r=froydnj.)

Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.

MozReview-Commit-ID: 91U22X2NydP

--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Sebastian Hengst
5d61e2eec8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JDCYKq7yKwb
2017-10-07 10:45:11 +02:00
Sebastian Hengst
b834f0d177 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7Ez95T2ivfR
2017-10-07 10:37:39 +02:00
Geoff Brown
ddec0fdb95 Bug 1406160 - Adjust chunked reftest suite_start to only report tests run in chunk; r=ahal 2017-10-06 15:37:49 -06:00
Jonathan Watt
1edcf5decd Bug 1406166 - Make reftest.jsm's OnRefTestLoad function a global function. r=dholbert 2017-09-21 11:14:46 +01:00