Граф коммитов

1078 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan 5eac149d87 Bug 1258916 part 10 - Not attach HTTP directive to tests which need ahem font. r=dbaron
MozReview-Commit-ID: E4ItEEmThcC

--HG--
extra : source : 9c6424b5a452cd7244a5ff100b8d72b6fa89f49d
2016-11-28 10:13:08 +11:00
Alastor Wu 5d4571103c Bug 1301055 - part3 : modify test prefs. r=jwwang
On fennec we have the special workaround that is doesn't dispatch the "error" event when the error is
"MEDIA_ERR_SRC_NOT_SUPPORTED" because we will use an external app to open it.

But we don't want this behavior affect the tests we already have, so close the pref.

MozReview-Commit-ID: 9aoy1vnekvY

--HG--
extra : rebase_source : 9ac045b7595eadd36039bc6f42b32e4d3eac421b
2016-11-24 10:24:06 +08:00
Kris Maglione 08deb18ad0 Bug 1317101: Follow-up: Don't use remote-browser bindings for reftests.
MozReview-Commit-ID: AHGpFSOTaVz

--HG--
extra : rebase_source : e990ad11f3dccb287c006d46fad3caf0e6d1fd20
2016-11-16 17:47:19 -08:00
Ehsan Akhgari eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book 3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Ehsan Akhgari cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
David Anderson 9437bcb6b5 Add a gpuProcess variable to the reftest sandbox. (bug 1317441 part 2, r=mattwoodrow) 2016-11-14 15:02:02 -08:00
Robert Strong 2a8efd793a test code for Bug 1315506 - Remove app.update.url.override preference. r=mhowell 2016-11-11 12:58:42 -08:00
Ryan VanderMeulen 48ef8de07d Bug 1263230 - Remove in-tree references to IPC/OOP reftest modes. r=ahal 2016-11-07 08:59:49 -05:00
David Anderson f81c22020e Parse reftest conditions based on content gfx settings instead of chrome. (bug 1313260, r=mattwoodrow)
--HG--
extra : rebase_source : ff41b3a780ba0fee569e46ff9798c436a8a87c98
2016-10-27 18:52:51 -07:00
Andrew Halberstadt c7c5495b4a Bug 1311723 - Look for mozinfo.json in the correct place when running interactive loaners, r=armenzg
MozReview-Commit-ID: K8fqlo0x4Oc

--HG--
extra : rebase_source : dbc88b48244f3f98b4f64fe12c57bb6e4fb119dc
2016-10-21 12:24:17 -04:00
Carsten "Tomcat" Book 2e7511ed5a merge mozilla-inbound to mozilla-central a=merge 2016-10-20 16:47:39 +02:00
Kartikaya Gupta 25d2167134 Bug 1310237 - Change skip-if(!asyncZoom) tests to skip-if(!Android) with zooming enabled. Also update the fuzziness checks to match current Android reftest results. r=tnikkel
MozReview-Commit-ID: 5gcBgzyOq7b

--HG--
extra : rebase_source : 76de7392dc0c38398a8536db2591e0cb699ccebf
2016-10-19 16:16:07 -04:00
Eric Rahm 1b5670be81 Bug 1311223 - Stop using nsISupportsArray for window args. r=froydnj
WindowWatcher allows for either nsIArray or nsISupports array to be passed in
for the arguments param. This converts all internal usage to nsIArray.

MozReview-Commit-ID: DQjtIkobik0
2016-10-19 16:23:57 -07:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Jim Mathies 887ff1cdb0 Bug 1267106 - Reftest harness should check readyState and continue if the document state is 'complete'. r=jmaher
MozReview-Commit-ID: IiiVKXaHhuY

--HG--
extra : rebase_source : c0c1c4c1bf0827ecc5ee931eb9fddaec85772ae8
2016-10-11 09:53:43 -05:00
Gijs Kruitbosch e097591200 Bug 1274633 - remove windows 10 welcome page, r=MattN
MozReview-Commit-ID: HI8mqzRmV45

--HG--
extra : rebase_source : 56b6c7f96185327776e988dc9f04928e2820a2b4
2016-09-28 16:53:46 +01:00
Benjamin Smedberg a735f280da Bug 1269807 - Remove support for all NPAPI plugins except for Flash, behind a pref. Tests that use the testplugin for now set the pref to keep it working. This will be disabled for ESR 52, but enabled for release 52. In the next cycle, the pref will be removed and this will be hardcoded. r=jimm
MozReview-Commit-ID: IDFTfaqpebo

--HG--
extra : rebase_source : b43d9fec42da6b6943786f18c8750c1880ff08fe
2016-09-29 09:16:33 -04:00
James Graham 2cbfbc0ec6 Bug 1265582 - Fix reftest structured logs to match wpt, r=ahal
This allows the logs to work with the structured reftest viewer.

MozReview-Commit-ID: CY71vSdDjLP

--HG--
extra : rebase_source : 6b83d98aff1c5e73ac0a802b5a83b8be95adf59a
2016-09-27 22:54:50 +01:00
James Graham c5c505d049 Bug 1265582 - Add a copy of reftest analyzer for working with structured log files, r=dbaron
This allows reftests from web-platform-tests to be analyzed using the
wpt_raw.log link on treeherder, and also supports the existing reftest harness.

MozReview-Commit-ID: I6TdGKQXpf8

--HG--
rename : layout/tools/reftest/reftest-analyzer.xhtml => layout/tools/reftest/reftest-analyzer-structured.xhtml
extra : rebase_source : be2718204d4dacd5f3353060b39010ab134fe68d
2016-09-29 14:17:28 +01:00
Dale Harvey b694c34086 Bug 1267495 - Fallback to local config for fresh GMP installs. r=mconley, r=rhelmer, feedback=ksteuber 2016-09-27 11:57:41 +01:00
Andrew Halberstadt cf6932328f Bug 1301431 - Support running Android reftests from a one-click-loaner with mach, r=armenzg
This adds the ability to run Android reftests from a taskcluster interactive loaner using
mach.

MozReview-Commit-ID: 5HMfm64wmK2

--HG--
extra : rebase_source : c17763e6916ef5dbaab25c6de6691aeb7541c3d9
2016-09-13 09:07:16 -04:00
Andrew Halberstadt a29b02d756 Bug 1301431 - Pass in adb_path to devicemanager if specified in Android reftests, r=gbrown
When using an interactive loaner, we compute an explicit path to the adb binary. Passing it in
directly to mozdevice seems a bit cleaner than modifying the $PATH. This also does a minor
refactor around how the DM instances are instantiated.

MozReview-Commit-ID: 5HMfm64wmK2

--HG--
extra : rebase_source : a42afcc49f2b07892c2da083c5ce3589276cc765
2016-09-13 09:07:05 -04:00
Andrew Halberstadt 8f32d32df0 Bug 1301431 - Change reftest harness to accept Namespace object instead of kwargs, r=armenzg
Reftests hackily create a second argument parser and set defaults on it to get around the fact
that the mach command sends the harness a dict rather than a Namespace object. This is bad because:

1. It's much less hacky to just create a Namespace object directly (rather than making a second parser)
2. Most other mach commands actually *do* return a Namespace object, reftest is the odd one out here.

So this patch makes the reftest mach commands convert to the Namespace object, which allows us to get
rid of the hacks in the reftest harness. This also does some light refactoring of the entry points to
the reftest harness so make it more consistent with mochitest and xpcshell.

MozReview-Commit-ID: 5HMfm64wmK2

--HG--
extra : rebase_source : 7e9c0fc64e3aeced7662a9df13f94b1b5d751bc8
2016-09-13 09:26:09 -04:00
Andrew Halberstadt ff33b36e48 Bug 1301431 - Stop using imp to import reftest module on Android, r=gbrown
Android reftests still use os.chdir and imp to import reftest files. But there's a
_setup_objdir method (used by b2g) that does a similar thing instead. I decided to
try getting Android to use this as well and it seems to work. This is just a cleanup.

MozReview-Commit-ID: 5HMfm64wmK2

--HG--
extra : rebase_source : b9f52c01e0d1311a0c4511ffbc0a60e7d149ffe8
2016-09-13 09:26:04 -04:00
Andrew Halberstadt 4fecf32869 Bug 1300163 - Reuse the 'e10s' value from the mozharness config on interactive loaners, r=armenzg
I noticed that if you request a loaner for a non-e10s job then run mach, it will be run with e10s
enabled. The mach command should accurately reflect the type of job that got requested. This patch
grabs the 'e10s' argument from the mozharness localconfig.json and uses that.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : 6f7b45146bb7f3431c242d92b4206d41f7217c03
2016-09-02 14:42:36 -04:00
Andrew Halberstadt fb05814e0d Bug 1300163 - Lazy load certain mach context attributes using the 'key' mechanism, r=armenzg
You can set attributes on a mach context by using the 'key' argument to the context_handler. Basically,
whatever gets returned by the handler when <key> is passed in, will get set (i.e cached) on the context
object for fast retrieval next time. This is a way to lazy load these attributes.

Previously I was setting functions like 'find_firefox()' on the context object, and then having the
mach_commands call that directly. But this way is much cleaner.

Now, the loaded 'mozharness_config' can be stored as an attribute on the context. Also 'find_firefox()'
is now an attribute called 'firefox_bin'.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : af5e32e05a29b8e91d4cd0005689baa8079ec137
2016-09-02 14:35:14 -04:00
Geoff Brown 5c628bb103 Bug 1298023 - Remove some redundant android reftest prefs; r=jmaher 2016-09-02 15:09:03 -06:00
Terrence Cole 5f357f7c51 Bug 1299204 - Do GC and CC even more aggressively in reftests; r=mchang 2016-08-30 09:28:07 -07:00
Phil Ringnalda e04eaf90ff Backed out changeset 0c135a70a81a (bug 1292218) for increasing the time to run debug reftests, without actually solving the problem it hoped to solve 2016-08-29 20:26:42 -07:00
Xidorn Quan 0adbbea38f Bug 1297049 - Include tests with query string and hash string when specifying test path. r=dbaron
MozReview-Commit-ID: 27x0vTs1aDa

--HG--
extra : rebase_source : a426489c01260df302f790b0a28b262cbbe723fc
extra : source : 61c7ab9bea3f154aef14f425875100b0ac824674
2016-08-23 10:32:43 +10:00
Ryan VanderMeulen 01c4e8cc1b Merge inbound to m-c. a=merge 2016-08-19 09:52:53 -04:00
Andrew McCreight 5f12e5d1fd Bug 1292218 - Run collectors more in reftests. r=jmaher
MozReview-Commit-ID: E7TQpBMeiVB

--HG--
extra : rebase_source : cd1dffff886567ad74c621d27a9628c7ff6eccb1
2016-08-04 08:03:25 -07:00
Mason Chang b9665be6df Bug 1296360 - Add a dwrite enabled check to the reftest sandbox. r=lsalzman 2016-08-18 16:06:51 -07:00
James Graham 8bdb6331c6 Bug 1293250 - Make reftest log generation less magical, r=ahal
Ensure that the first line of the log for failing tests is identical to
one that would be produced by the tbplformatter from mozlog. This means
that treeherder will be able to sucessfully cross-match error lines.

Also make the data structures used for storing screenshots identical
between reftests and web-platform-tests so that we can start to move
toward removing the reftest-specific codepath here.

MozReview-Commit-ID: FZQXLjj9Ejv

--HG--
extra : rebase_source : 3e9bf70ff7915817b8c02032c8da0d0a659e4661
2016-08-08 17:48:39 +01:00
Andrew Halberstadt 16c7acfe05 Bug 1292660 - Fix |mach mochitest| kwargs['app'] is None error on android, r=gbrown
This fixes a regression from bug 1288827. It happened because I moved the logic that finds
the application path a little later on in the test harness. But there was an instance where
it was being used in the android mach command before that point.

As it turned out, we don't really *need* that value there. This patch grabs the same value
from build_obj.substs which is already an argument to the function.

MozReview-Commit-ID: 3IsI4VzEIIF

--HG--
extra : rebase_source : ceb718b265c7886b831e0378436baebf2b4e7598
2016-08-05 16:40:08 -04:00
Seth Fowler c379e3a8ce Bug 1290681 (Part 3) - Remove the single color optimization pref. r=edwin 2016-08-01 17:51:15 -07:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Andrew Halberstadt da291f0301 Bug 1278890 - Add reftest support to test package mach environment, r=armenzg
This adds reftest support to the test package mach environment. It will allow
developers to easily run reftests after checking out an interactive worker.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : 84b4a9fff7f2f27a325ffad4af1de7726bad296e
2016-07-13 10:57:22 -04:00
Benjamin Smedberg be3857f963 Bug 1277905 - Remove in-product links to plugincheck. Also remove support for startup prompting about outdated plugins, since that's annoying to users. r=Gijs r=mconley
MozReview-Commit-ID: 69tMivPVxuW

--HG--
extra : rebase_source : bd4d2979beff0f460a20156b0f954e2f1a2a5e85
2016-07-01 11:01:07 -04:00
Matt Woodrow a871a80e98 Bug 1263092 - Improve error logging when reftests fail due to the screen resolution being too low. r=dholbert 2016-07-11 13:11:08 +12:00
Brad Werth e3bcca28e9 Bug 1285062 - Change an improper warning in reftests into an info message. r=dbaron 2016-07-06 18:14:24 -07:00
Krishna ae19df0488 Bug 1276560 - Package hyphenation-dictionaries separately for reftests. r=sebastian
MozReview-Commit-ID: IRvIqGEfc1m

--HG--
extra : transplant_source : c%CD%7F%D8%89%E4q%1D%A2%FF%10%94y%A0l%99%C0%98%F4p
2016-07-05 01:00:15 +08:00
Thomas Nguyen ffba687a20 Bug 1025965 - Rename browser.safebrowsing.enabled to browser.safebrowsing.phishing.enabled. r=francios
MozReview-Commit-ID: 3TMs6MPtWsC
2016-05-09 14:44:08 +08:00
James Graham bc68fdaad1 Bug 1278577 - Use simple strings as reftest test ids, r=ahal
The idea of mozlog ids being tuples unfortunately didn't work so well
with external systems that found the tuple|string datatype difficult to
work with. Convert reftests to use simple ids of the form "<test url>
<comparison> <refurl>" e.g. "about:blank == data:text/html," instead of
tuples.

MozReview-Commit-ID: 18jufbssn4A

--HG--
extra : rebase_source : 542888186fecf3671847d1fca307770c7a989ad3
2016-06-06 16:28:22 +01:00
Jonathan Hao 525c086187 Bug 1259871 - Replace getSimpleCodebasePrincipal with createCodebasePrincipal. r=sicking
MozReview-Commit-ID: Frx0CjBzuve

--HG--
extra : histedit_source : 036eb321d9ccb20e0e071ba588b0a1249eb34bdd
2016-05-24 18:01:34 +08:00
Geoff Brown dd65ba7f12 Bug 1274395 - Delete pending crash reports before running tests; r=jmaher 2016-05-25 14:48:42 -06:00
Gijs Kruitbosch a41e908395 Bug 1270144 - use error() rather than warning() in order to ensure this shows up on the treeherder summary, rs=emorley-over-irc
MozReview-Commit-ID: COtfpoU14vg

--HG--
extra : rebase_source : 0bfd093b6dc762498a5a737cab3b6c85fe186ec0
2016-05-25 15:14:56 +01:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Gijs Kruitbosch 40ea68f72f Bug 1270144 - fix message from timed out tests to indicate the following crash is caused by us terminating the browser process, r=ahal,RyanVM
MozReview-Commit-ID: Hyr7xkZdbqc

--HG--
extra : rebase_source : 013339bec54f1ecb0123fa1388dbb350258790df
extra : amend_source : 26e6c904d7031e700560ca32057edba65ad1632d
2016-05-10 22:53:17 +01:00