Commit Graph

1232 Commits

Author SHA1 Message Date
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
Andrew Halberstadt
aea682d7a3 Bug 1271448 - Stop saving reftest.log for |mach reftest| perf improvements, r=jgraham
In bug 1271035 gps identified disk I/O as a major cause for reftest slowness.
He was able to fix most of it, but the new highest source of I/O in reftest is
reftest.log.

To note, we were only saving reftest.log when running via mach, so this won't
impact automation in any way:
https://hg.mozilla.org/mozilla-central/file/043082cb7bd8/layout/tools/reftest/mach_commands.py#l204

I don't know why we are doing this given that the same output goes to stdout.
And as dholbert pointed out, since bug 1034290 landed, that log contains raw
structured logs, which are not at all useful for debugging. Given that it is
no longer useful and causes slowness, we should stop saving it.

If anyone wishes to keep saving to a log, they can use:
./mach reftest --log-tbpl reftest.log

If they wish this to be the default behaviour they can make a machrc (or
.machrc) in either topsrcdir, ~/.mozbuild or $MACHRC. Then add:
[alias]
reftest = reftest --log-tbpl reftest.log

MozReview-Commit-ID: A3e2X7qF90H

--HG--
extra : rebase_source : 9286e3061c068c6fef55b503017b3f4a9588be46
2016-05-09 17:53:04 -04:00
Andreas Tolfsen
90edca9757 Bug 1123506 - Update references to __webDriverArguments; r=automatedtester
__marionetteParams was renamed to __webDriverArguments.

MozReview-Commit-ID: 9t1skl5MESf
2016-05-09 16:08:27 +01:00
Gregory Szorc
e13542b72f Bug 1271035 - Disable Places during reftests, preventing 50 GB of I/O; r=dholbert
It was a cold Friday night in San Francisco. Earlier in the day, I
informed Chris AtLee that I was going to start focusing on improving
the efficiency of Firefox automation and asked him where the biggest
capacity issues were. He said "we're hurting most on Windows tests."

As I was casually drinking a barleywine (note to reader: barleywines
are serious beers - there's nothing casual about them), I found myself
tediously clicking through Treeherder looking at logs for Windows jobs,
looking for patterns and other oddities. As I was clicking through,
something stood out to me: the sheer number of reftest jobs. I
recalled a random project I started a few years ago. Its aim was to
analyze buildbot job metadata so we could better understand where time
was spent in automation. I had mostly written off the side project as
a failure and a near complete waste of my time. Not even a stray
random thought of this project had entered my mind in the past year.
But clicking through Treeherder after a few glasses of barleywine
somehow reminded me of one of the few useful findings of that project:
reftest jobs consumed a seemingly disproportiate amount of machine time,
something like 35 or 40% IIRC of the time spent on all jobs.

Now, this finding was several years ago and almost certainly no longer
relevant. But, again, I had a few glasses of barleywine in me and was
bothered by the amount of reftest jobs and their duration, so I thought
"hey, why don't I run reftests and see why they take so long." So I
built Firefox on Windows - the platform Chris AtLee said we're "hurting
most on."

I decided to start my very casual profiling session by recording a
`mach reftest` run using Sysinternals Process Monitor. To my surprise,
it yielded a very obvious and unexpected result: the Places SQLite
database was incurring a lot of I/O. On my i7-6700K Windows 10 desktop
with a high performance SSD, `mach reftest` yielded the following:

File Time  #Events  #Reads   #Writes  RBytes        WBytes          Path
198s       980,872  243,270  669,231  7,971,471,360 20,667,084,080  places.sqlite-wal
165s       645,853  222,407  367,775  7,287,701,820 14.071,529,472  places.sqlite
  2s       377,121        1        0         32,768              0  places.sqlite-shm

The Places SQLite database accounts for 2,003,846 of the total of
3,547,527 system calls (56.49%) recorded by procmon during `mach
reftest` execution. This represents a staggering 49,997,786,732 of the
50,307,660,589 (99.38%) bytes of I/O recorded! Yes, that's 50 GB.

I reckon the reason the Places database accumulates so much I/O load
during reftests is because the reftest suite essentially loads thousands
of pages as quickly as possible. This effectively performs a stress
test against the Places history recording service.

As effective as reftests are at stress-testing Places, it adds no value
to reftests because reftests are testing the layout features, not the
performance of history recording. So these 2M system calls and 50 GB
of I/O are overhead.

This commit disables Places when executing reftests and prevents
the overhead.

After this commit, `mach reftest` has significantly reduced interaction
with the Places SQLite database:

File Time  #Events  #Reads   #Writes  RBytes        WBytes         Path
0.09s          502     138       302     4,521,984      8,961,528  places.sqlite-wal
0.07s          254      20       140       524,604      8,126,464  places.sqlite
0.01s        3,289       1         0        32,768              0  places.sqlite-shm

Of the 948,033 system calls recorded with this change (26.7% of
original), 691,322 were related to I/O. The Places SQLite database
only consumed ~22MB of I/O, <0.01% of original. It's worth noting that
~half of the remaining I/O system calls are related to reftest.log,
which now accounts for the largest percentage of write I/O (only
~53 MB, however). It's worth noting that reftest.log appears to be
using unbuffered writes and is requiring an excessive amount of
system calls for writing. But that's for another bug and commit.

In terms of wall time, the drastic I/O reduction during `mach reftest`
appears to have minimal impact on my machine: maybe 30s shaved from a
~900s execution, or ~3%. But my machine with its modern SSD doesn't
struggle with I/O.

In automation, it is a different story.

I pushed this change to Try along with the base revision and triggered
4 runs of most reftest jobs. The runtime improvements in automation
are impressive. Here are the fastest reported times for various jobs:

Job                     Before      After     Delta
Linux Opt R1               31m        34m       +3m
Linux Opt R2               43m        35m       -8m
Linux Opt Ru1              40m        34m       -6m
Linux Opt Ru2              43m        37m       -6m
Linux Opt R E10s           89m        72m      -17m
Linux Debug R1             52m        40m      -12m
Linux Debug R2             49m        42m       -7m
Linux Debug R3             60m        51m       -9m
Linux Debug R4             42m        37m       -5m
Linux Debug R1 E10s        84m        72m      -12m
Linux Debug R2 E10s        97m        85m      -12m
Linux64 Opt R1             35m        24m      -11m
Linux64 Opt R2             37m        26m      -11m
Linux64 Opt Ru1            32m        29m       -3m
Linux64 Opt Ru2            37m        26m      -12m
Linux64 Opt TC R1          12m        10m       -2m
Linux64 Opt TC R2          10m         7m       -3m
Linux64 Opt TC R3          11m         9m       -2m
Linux64 Opt TC R4          11m         9m       -2m
Linux64 Opt TC R5          13m        11m       -2m
Linux64 Opt TC R6          11m         9m       -2m
Linux64 Opt TC R7           9m         8m       -1m
Linux64 Opt TC R8          11m        10m       -1m
Linux64 Opt TC Ru1         30m        25m       -5m
Linux64 Opt TC Ru2         36m        27m      -11m
OS X 10.10 Opt             31m        27m       -4m
OS X 10.10 Opt E10s        26m        25m       -1m
OS X 10.10 Debug           68m        55m      -13m
Win7 Opt R                 30m        28m       -2m
Win7 Opt Ru                28m        26m       -2m
Win7 Opt R E10S            29m        27m       -2m
Win7 Debug R               85m        76m       -9m
Win7 Debug R E10S          75m        65m      -10m
Win8 x64 Opt R             29m        26m       -3m
Win8 x64 Opt Ru            27m        25m       -2m
Win8 x64 Debug R           90m        71m      -19m
Android 4.3 API15 Opt R1   89m        71m      -18m
Android 4.3 API15 Opt R2   78m        64m      -14m
Android 4.3 API15 Opt R3   75m        64m      -11m
Android 4.3 API15 Opt R4   74m        68m       -6m
Android 4.3 API15 Opt R5   75m        69m       -6m
Android 4.3 API15 Opt R6   91m        86m       -5m
Android 4.3 API15 Opt R7   87m        66m      -21m
Android 4.3 API15 Opt R8   87m        82m       -5m
Android 4.3 API15 Opt R9   80m        66m      -14m
Android 4.3 API15 Opt R10  80m        67m      -13m
Android 4.3 API15 Opt R11  73m        66m       -7m
Android 4.3 API15 Opt R12 105m        91m      -14m
Android 4.3 API15 Opt R13  72m        59m      -13m
Android 4.3 API15 Opt R14  82m        61m      -21m
Android 4.3 API15 Opt R15  73m        62m      -11m
Android 4.3 API15 Opt R16  79m        78m       -1m

The savings total 6+ *hours* or ~15% when running all reftests. I'd
say this isn't bad for a one-line code change!

MozReview-Commit-ID: H1LkACgSpVn

--HG--
extra : rebase_source : 891a5ce8e1f6c3d70fc646f116c2f49f897ad735
2016-05-07 02:53:14 -07:00
Andrew Halberstadt
48a50c124b Bug 1265124 - [reftest] Make sure marionette waits long enough when attaching a debugger, r=chmanchester
As of bug 1245092, reftest depends on marionette. Normally marionette client has an internal timeout of around
60 seconds where it waits for the server to become available. But when using debuggers (and especially valgrind),
it can take much much longer than a minute for Firefox to start. This patch adds a couple hidden command line
args to reftest to tweak the marionette timeouts.

MozReview-Commit-ID: 3xF0InBJNEf

--HG--
extra : rebase_source : f18092bc90a7d8aab34b527a15bd3b1dc6afc997
2016-04-29 15:41:23 -04:00
Mike Shal
8689f72e8b Bug 1266875 - Remove custom install rules; r=chmanchester
MozReview-Commit-ID: CoWdHidlDrV
2016-04-18 10:36:07 -04:00
Daniel Holbert
b199fea9a7 Bug 1268588: Add missing space to "assertion count[...] is less than expected" reftest log message. r=gbrown
MozReview-Commit-ID: GA2mvt4WyqU

--HG--
extra : rebase_source : ed194ccc7f1e116b7d8b01ea15b2281ba08bfd47
2016-04-28 10:52:42 -07:00
Hiroyuki Ikezoe
a4b111280b Bug 1267908 - Don't call flushApzRepaints if reftest-no-flush is specified. r=kats
flushApzRepaints leads flush paint.

MozReview-Commit-ID: 5pt7Gq5zHTx

--HG--
extra : rebase_source : 90416872d2e271654767bfc7bd73ecbc451c65d6
2016-04-28 06:16:30 +09:00
Geoff Brown
71f1e3bc75 Bug 1267020 - Dump reftest assertion count mismatches to log file on Android; r=jmaher 2016-04-27 14:56:09 -06:00
Sebastian Hengst
b4020b78c0 Backed out changeset e786ecce31b2 (bug 1266875) for pgo build bustage in xpcshell/xpcom/tests/unit/nsIFileEnumerator. r=backout on a CLOSED TREE 2016-04-27 18:35:41 +02:00
Mike Shal
a204083dd1 Bug 1266875 - Remove custom install rules; r=chmanchester
MozReview-Commit-ID: CoWdHidlDrV
2016-04-18 10:36:07 -04:00
Andrew Halberstadt
018bb9b783 Bug 1255565 - Close extraneous browser window when running reftests, r=dholbert
This extra window was initially left open because closing it was causing memory leaks
on debug e10s crashtests. There was pressure to get the regressing patch landed due
to addon signing, so it got landed with this extra window hanging around (as it didn't
impact test results).

But it is a UX wart for several reasons. Upon testing it again recently, the leaks all
seem to have vanished. I'm not sure why, possibly it was a bug fixed in e10s.

MozReview-Commit-ID: CEI2enKAOyv

--HG--
extra : rebase_source : da0e8889f67d57aa61670105c14c2235607d79a7
2016-04-13 10:23:47 -04:00
Joel Maher
585b69b5f8 Bug 1262954 - Explicitly set the 'layers.acceleration.disabled' pref to true on Windows XP e10s test runs. r=ahal
MozReview-Commit-ID: 2KsBZDNvsdU

--HG--
extra : rebase_source : 0869acfae1af0ab92ae142797b9e4b1a4e452781
2016-04-08 14:46:25 -04:00
Andrew Halberstadt
273f8a751c Bug 1243083 - Enable e10s by default when running reftests, r=jmaher
MozReview-Commit-ID: NlTGwdQ2nw

--HG--
extra : rebase_source : 524578da02c2c84487bfe497783a6ea9de594ed9
2016-04-01 11:00:37 -04:00
Ting-Yu Lin
219e330768 Bug 1259889 Part 1 - Add @supports -moz-bool-pref for internal-only style sheets. r=heycam
This is a internal-only syntax for guarding rules from a boolean
preference. Nothing causes @supports rules to be re-evaluated except
html.css registered in Part 2.

This is needed for rendering the disclosure triangle of the
summary element by using "display: list-item".

Usage example:
@supports -moz-bool-pref("dom.details_element.enabled") {
  /* css rules */
}

MozReview-Commit-ID: HDCa8zHxYTA

--HG--
extra : rebase_source : b7a72a48166edf1d486014ff37363ed8be9127d9
2016-04-01 21:11:11 +08:00
Andrew Halberstadt
eaf4ca74c0 Bug 1245092 - Fix beta-only non-local network bustage on reftest, r=me, a=test-only
MozReview-Commit-ID: 1N6lsrbMNyI

--HG--
extra : commitid : MnX4BePWDx
extra : source : f902121e4d1b1c612b6a270743bf4830c8c8dcbf
extra : amend_source : 035d59b83e35cd72256ae079cdea5212273c7b82
2016-03-14 17:00:40 -04:00
Tobias Schneider
9dd3cff0b6 Bug 1237198 - Block SWFs on the content blocking list hosted on the Shavar service. r=francois 2016-03-29 00:37:44 -07:00
Francois Marier
63c2afbc28 Bug 1259288 - Safe Browsing should be fully disabled in our test suites. r=gcp
MozReview-Commit-ID: 2og99Gl9w9n

--HG--
extra : rebase_source : 33961d97454e71e5b7fc3ad5f9eb145099c0fc6e
2016-03-23 17:59:55 -07:00
Xidorn Quan
b377ad08c2 Bug 1257099 - Normalize the path of extensions for reftest. r=jmaher
MozReview-Commit-ID: 7nTx3uniJik

--HG--
extra : rebase_source : 4d757211c4fda9953a5817ad5e037b4b70994636
2016-03-16 14:26:27 +08:00
Xidorn Quan
0fb001761f Bug 1256257 - Clear Win10 intro page url for reftest. r=jmaher
MozReview-Commit-ID: 3iJ8QVSNaKx

--HG--
extra : rebase_source : af532bdaf1c9fa66fff5dd530cf9639ed9bab63d
2016-03-16 14:27:25 +08: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
Stanley Mwangi
ecaaff970b Bug 1243083 - Added --disable-e10s to mochitest_options.py and reftestcommandline.py. r=ahal
MozReview-Commit-ID: I3UIS8eEZ8D

--HG--
extra : rebase_source : cad52821f891915b2d174f60c250fb80ec307525
extra : amend_source : fe1a47030662a58c409e3cf2b42dc0ace452178d
2016-03-02 16:33:13 -05:00
Felipe Gomes
0fcf346707 Bug 1250744 - Disable e10s add-ons blocking on testing profiles. r=jmaher 2016-03-02 13:50:55 -03:00
Milan Sreckovic
65bcdb7519 Bug 1249640: Part 2 gfxPlatform simplification when it comes to accelerated canvas, using the new blocking. r=gw280 2016-02-22 14:23:00 +01:00
Sebastian Hengst
00a63ca413 Backed out changeset 303b759e886e (bug 1249640) 2016-02-24 19:02:00 +01:00
Milan Sreckovic
1498964285 Bug 1249640: Part 2 gfxPlatform simplification when it comes to accelerated canvas, using the new blocking. r=gw280 2016-02-22 14:23:00 +01:00
Geoff Brown
763998cf8c Bug 1249681 - Set utilityPath for Android mach reftests; r=bdahl 2016-02-19 16:10:22 -07:00
chaithanya
1cea93e0d5 Bug 1243435 Remove unused prefs toolkit.telemetry.prompted / toolkit.telemetry.notifiedOptOut from test suites r=Dexter
MozReview-Commit-ID: 83IOB4Xvf8I
2016-02-18 10:51:24 -08:00
Carsten "Tomcat" Book
3a87a933e7 Backed out changeset 53b0b5b29776 (bug 1243435)
--HG--
extra : rebase_source : faf90230fecdfe1f0150015c039800828723a576
2016-02-17 15:00:51 +01:00
chaithanya
458420bbd7 Bug 1243435 - Remove unused prefs toolkit.telemetry.prompted / toolkit.telemetry.notifiedOptOut from test suite. r=Dexter 2016-02-16 05:11:00 +01:00
Edwin Flores
7d1d94d936 Bug 1229250 - Auto-extend the reftest timeout - r=kats 2016-02-16 14:46:56 +00:00
ISHIKAWA, Chiaki
be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Andrew Halberstadt
97c3a77bc1 Bug 1247054 - Fix |mach reftest| on Android, r=gbrown
There is an ImportError on Android, as well as a log related
regression from the structured log patch once that is fixed.

MozReview-Commit-ID: KxSEotr38qO

--HG--
extra : rebase_source : 15d8421aab813d9e0dbf6d00611f921aaa779a49
2016-02-09 16:19:44 -05:00
Andrew Halberstadt
cc33abe5c7 Bug 1034290 - Follow-up fix for reftest error message when application returns non-zero, r=chmanchester
MozReview-Commit-ID: JpHzDSuSQqH

--HG--
extra : rebase_source : 8424bdc1b8c9b5027837fd5ac8023f0f4873e08e
extra : amend_source : 62a8e7d3dfbfa3c03354859de33d86ca781cccea
2016-02-08 14:54:23 -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
David Anderson
7b6e752abc Add software mix-blend mode support to the D3D9 compositor. (bug 1243071 part 3, r=bas,mattwoodrow) 2016-02-01 16:28:00 -08:00
Geoff Brown
6fe30ec610 Bug 1241907 - Grant runtime permissions before running browser tests; r=jmaher 2016-02-01 15:52:34 -07:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Wes Kocher
84714308b8 Merge fx-team to central, a=merge
--HG--
extra : commitid : 2DZ63I10LcS
2016-01-28 17:47:33 -08:00
Jerry Shih
8f5046dca5 Bug 1242876 - turn on the display before reftest. r=ahalberstadt 2016-01-27 18:59:00 +01:00
Gijs Kruitbosch
ef04fd0f90 Bug 1172165 - check all nested URI schemes in CAPS. Make view-source dangerous to load, and about: URIs use per-URI flags so they keep working, r=bz
Also, add an opt-out for crashtest/reftest for the view-source thing so they don't all break, r=bz

--HG--
extra : commitid : 8NqvmbphSgh
extra : rebase_source : bbe0b6f11a77d7e6241a5733931d9baa95bb3fed
2015-12-11 08:06:41 -05:00
Benoit Girard
c93c572d7a Bug 1196831 - Add 'run-until-failure' and 'repeat' flags to reftest. r=jmaher
--HG--
extra : commitid : Ig2JmBnAcrw
extra : rebase_source : ee3026bd82263dd77583dfd3d576eb622fa582bc
2016-01-15 18:30:23 -05:00
Christoph Kerschbaumer
85f65d6c64 Bug 1232792 - Convert JS callsites to use open2 within layout/ (r=sicking) 2015-12-15 13:33:44 -08:00
Wes Kocher
80765f938f Backed out changeset 7c4f0da2f1e5 (bug 1232792) on the chance it caused a bunch of b2g test bustage CLOSED TREE
--HG--
extra : commitid : 5NsyQ1o2oSV
2016-01-11 14:20:34 -08:00
Christoph Kerschbaumer
c262655b27 Bug 1232792 - Convert JS callsites to use open2 within layout/ (r=sicking) 2016-01-11 12:16:54 -08:00
Bob Clary
5a470be233 Bug 1237465 - Work around Android 5.1+ permission restrictions by changing pushed directory permissions to rwx, r=gbrown. 2016-01-09 15:40:17 -08:00
Andrew Halberstadt
2bfb20ef72 Bug 1228636 - Add mach support for running reftests on mulet, r=jgriffin
Usage:
mach reftest --profile path/to/gaia/profile path/to/test/dir

--HG--
extra : rebase_source : 6efffc77ef2b108617214c5ead35f8c4e90fcd3f
2016-01-04 16:27:37 -05:00
Lee Salzman
5512fbeae7 Bug 1229983 - verify that paths are finite in DrawTargetSkia::Stroke/Fill to handle Canvas paths containing infs. r=jmuizelaar 2015-12-30 13:39:13 -05:00
Ting-Yu Lin
d477595b16 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng, r=roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Nigel Babu
fd9c9b233f Backed out changeset 9f30d3caa231 (bug 1221459) 2015-12-22 14:03:21 +05:30
Ting-Yu Lin
0fd840e0d8 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng,roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.

--HG--
extra : rebase_source : b31db322130f665e7dda53d1061cfc40f81ce411
2015-12-22 14:14:12 +08:00
Geoffrey Sneddon
f753e1d3e3 Bug 1231261 - Append plugins to extra profile files instead of overwriting. r=dbaron 2015-12-10 13:34:00 +01:00
Andrew Halberstadt
12895ab349 Bug 1226017 - Drop support for b2g desktop in reftests, r=jgriffin
--HG--
rename : layout/tools/reftest/b2g_desktop.py => layout/tools/reftest/runreftestmulet.py
extra : commitid : wGGadWUFZp
extra : rebase_source : 13d48365298276de9b235c72c930173627d033bd
2015-11-27 13:56:43 -05:00
Mike Hommey
08417dc44f Bug 1228467 - Don't preprocess layout/tools/reftest/reftest-cmdline.manifest. r=gps 2015-12-01 08:25:22 +09:00
Mike Hommey
3a7b31cfb5 Bug 1228444 - Rename DIST_FILES to FINAL_TARGET_PP_FILES. r=gps
This makes it clearer that really it's the same thing as FINAL_TARGET,
with preprocessing.
We still keep DIST_FILES in backend.mk because it's shorter and doesn't
really matter.
2015-12-01 08:25:22 +09:00
Kartikaya Gupta
5b361ff365 Bug 1226864 - Don't wait for an APZ flush on load-only or script type reftests, since they don't get snapshotted. r=dbaron
--HG--
extra : commitid : E9G7TUheJ8A
2015-11-24 09:20:42 -05:00
Geoff Brown
e7a25cb373 Bug 1197716 - On Android, include fonts in test profile; r=jmaher 2015-11-06 12:01:33 -07:00
dlee
f3324e8193 Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08:00
Julien Pagès
5fe647171b Bug 1185969 - [mozdevice] Allow to use android preview releases. r=bc
--HG--
extra : commitid : Ea3gZOnjoy6
extra : rebase_source : 822864eb9507c5650bc9ef29d308ffff63c44b25
2015-10-28 17:22:16 +01:00
Ehsan Akhgari
db84bc015e Bug 1215686 - Disable ASAN leak reporting on reftests for now; r=mccr8 2015-10-19 14:08:55 -04:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Phil Ringnalda
65c005fc8d Back out changeset 7a8d20f52da6 (bug 1215686) for ASan jsreftest/reftest failures
CLOSED TREE
2015-10-16 20:21:54 -07:00
Chris Manchester
8fe6d000de Bug 1203266 - Allow reading reftest manifests from a provided finder. r=gps
--HG--
extra : commitid : G7g6Lr9ODZQ
2015-10-16 15:31:20 -07:00
Ehsan Akhgari
0d3dcab66e Bug 1215686 - Disable ASAN leak reporting on reftests for now; r=mccr8 2015-10-16 17:46:38 -04:00
Geoff Brown
6a2cf00030 Bug 1087791 - Follow-up on 340c1df41b69 (pushed wrong version of patch); r=nalexander 2015-10-14 16:31:19 -06:00
Geoff Brown
01baa3ee01 Bug 1087791 - Add |mach {reftest,crashtest,jstestbrowser}| for mobile/android. r=nalexander 2015-10-14 15:20:20 -06:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Eugen Sawin
0a9af65e7d Bug 1188240 - Enable media auto-play for tests to allow for script play() invocations. r=snorp 2015-10-01 18:15:40 +02:00
Gregory Szorc
022105cc96 Bug 1208320 - Do not stage reftest test files before archiving; r=glandium
This is slightly more involved than earlier changes because reftests
have a one-off mechanism for finding files. Essentially, the master
reftest manifest is loaded, directories are discovered, and every file
in those directories is packaged.

We add support to our test archive generation tool to read sources from
reftest manifests and tell it where the reftest manifests are.
print-manifest-dirs.py was only being used for staging reftest files.
Since we don't do that any more, the functionality doesn't need to exist
in a standalone file, so it has been moved inline into test_archive.py.

This change avoids copying ~26,000 tests consuming 131 MB during test
packaging. This is a majority of the file count that was remaining in
the stage directory at this point. On my machine (which hasn't typically
seen major wall time wins from not staging files due to its fast SSD),
this change made test packaging ~20% faster, reducing wall time from
~50s to ~40s!

A Try push seemed to indicate drastic results with the series up to this
point. Including the already landed changes to generate test archives
concurrently, test packaging times on OS X builders dropped from ~18:40
to 6:29! Times on Linux x64 remained about the same (~2:46). This is
possibly due to these machines already having SSDs and due to normal
variance in performance of builders and EC2 instances.

--HG--
extra : commitid : 34E8V8lSGg7
extra : rebase_source : 720afcd35f6a2b6cb1217df23ae981408a88cb94
2015-09-30 17:39:33 -07:00
Gregory Szorc
d460d0b2dc Bug 1208320 - Do not stage some reftest support files before archiving; r=glandium
After this, only reftest files themselves are staged. Those will be
addressed in a subsequent commit.

--HG--
extra : commitid : 9jWl9Twcizr
extra : rebase_source : 3e4a319d60b7ee7eddecc597eb250184140b1e71
2015-09-30 10:46:52 -07:00
Bas Schouten
1369a96bd4 Bug 1208465 - Part 1: Fix some reftest annotations. r=jrmuizel 2015-10-01 04:45:26 +02:00
James Willcox
35d4172d9c Bug 1182665 - Turn off tile size adjustments on pandaboard debug reftests due to weirdness r=nical 2015-09-28 09:37:02 -05:00
Julian Seward
0ce48c0f5e Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-28 12:01:42 +02:00
L. David Baron
d8077000b9 Bug 1208220 - Remove test of manifest filename that breaks my workflow. r=jgraham
--HG--
extra : commitid : D1TVe5fBbvj
2015-09-27 02:19:13 -07:00
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Wes Kocher
d4897fa1ef Backed out changeset feceb41f1c3c (bug 1185244) for breaking running tests locally CLOSED TREE a=backout 2015-09-22 17:08:37 -07:00
Julian Seward
b3bc139b1e Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-22 12:00:57 +02:00
Daniel Holbert
55686feb97 Bug 1206230: Make ReftestArgumentsParser defer to self.build_obj for 'bindir' (fixing local mach reftest|crashtest runs). r=jgraham 2015-09-20 00:03:13 -07:00
Seth Fowler
3e6e1a075a Bug 1146663 (Part 1) - Remove HQ scaling, which is now dead code. r=tn 2015-09-19 16:20:56 -07:00
James Graham
0daf7d760b Bug 1198257 - Better support for providing a directory name and discovering reftests under that directory, r=jmaher 2015-09-17 10:50:59 +01:00
James Graham
25921f1b96 Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-17 10:50:57 +01:00
James Graham
70c8392f18 Bug 1181516 - Allow reftests to take paths to multiple directories containing tests on the command line, r=jmaher
This makes reftest command line arguments behave more like other test suites,
so we can use a simple unified syntax for e.g. |mach try|. The patch also
reworks the command line argument parsing to use argparse rather than optparse,
and causes mach to reuse the same parser as the suite.
2015-09-17 10:50:55 +01:00
James Graham
b108664fa9 Bug 1181520 - Remove support for passing in reftest arguments via the command line, r=jmaher
This unifies how reftests are invoked across desktop and
mobile, and paves the way for introducing more complex
datatypes that are unreasonable to express on the
command line.
2015-09-17 10:50:53 +01:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Wes Kocher
e2c033639c Backed out 7 changesets (bug 1181516, bug 1198257, bug 1193257, bug 1194166, bug 1193223, bug 1193224, bug 1181520) for breaking android 4.0 debug reftests CLOSED TREE
Backed out changeset 25f22b3433e0 (bug 1194166)
Backed out changeset a824847677c5 (bug 1193257)
Backed out changeset 6cc19a8f1bb0 (bug 1193224)
Backed out changeset bf1271f6cfa0 (bug 1198257)
Backed out changeset 75b3c43770bd (bug 1193223)
Backed out changeset 81a5cf4c8f19 (bug 1181516)
Backed out changeset db3691ee6fd1 (bug 1181520)
2015-09-15 08:52:19 -07:00
James Graham
77000f40b9 Bug 1198257 - Better support for providing a directory name and discovering reftests under that directory, r=jmaher 2015-09-15 15:33:35 +01:00
James Graham
1b361ed03b Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-15 15:33:34 +01:00
James Graham
5042d96464 Bug 1181516 - Allow reftests to take paths to multiple directories containing tests on the command line, r=jmaher
This makes reftest command line arguments behave more like other test suites,
so we can use a simple unified syntax for e.g. |mach try|. The patch also
reworks the command line argument parsing to use argparse rather than optparse,
and causes mach to reuse the same parser as the suite.
2015-09-15 15:33:33 +01:00
James Graham
14841af906 Bug 1181520 - Remove support for passing in reftest arguments via the command line, r=jmaher
This unifies how reftests are invoked across desktop and
mobile, and paves the way for introducing more complex
datatypes that are unreasonable to express on the
command line.
2015-09-15 15:33:32 +01:00
Nathan Froyd
21e096a42c Bug 1196430 - part 7 - teach process_leak_log how to symbolicate leaked object stacks; r=mccr8 2015-08-26 19:41:43 -04:00
Nathan Froyd
956d3c942b Bug 1196430 - part 6 - move cut-and-paste stack fixer code into mozrunner; r=wlach
This code is cut-and-pasted in several different places around the tree.
Let's put it in a common place.
2015-08-26 19:57:36 -04:00
Gian-Carlo Pascutto
34122d2ae8 Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-09-08 08:22:10 +02:00
Geoff Brown
b0e201cce7 Bug 1196814 - Fail Android mochitest, robocop, reftests when Fennec is not installed; r=jmaher 2015-09-02 14:20:01 -06:00
Kartikaya Gupta
3a4b8916d2 Bug 1185747 part 2 - Remove magical reftest harness properties and use standard meta-viewport tags instead. r=tn
--HG--
extra : commitid : KYDd76jwpXj
2015-09-01 16:47:52 -04:00
Carsten "Tomcat" Book
fa01817a0a Backed out changeset 2734a3110b4a (bug 1107372) for Talos Bustage on a CLOSED TREE 2015-08-31 16:19:39 +02:00
Gian-Carlo Pascutto
ba3b7a169c Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-08-27 10:05:23 +02:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Kartikaya Gupta
fa26656650 Bug 1180267 - Switch Fennec over to using the MobileViewportManager for computing the CSS viewport. r=snorp
--HG--
extra : commitid : IwWBhpML3bl
2015-08-24 13:45:45 -04:00
Benjamin Smedberg
c7c2a60c7e Bug 1098064 part C - remove SimpleTest and reftest testPluginIsOOP and related usage, r=jimm
--HG--
extra : rebase_source : c834e7ff20c9a9a352e2e037f6a70b611a45a8b8
2015-08-14 14:10:17 -04:00
Brian Grinstead
3ef1e8cacf Bug 1175606 - Disable tracking protection for reftests;r=philor
--HG--
extra : commitid : 40tbnOyz9zn
2015-08-08 23:16:27 -07:00
Mason Chang [:mchang]
f83fc0b5b6 Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on d2d backends. r=jrmuizel 2015-08-04 08:13:00 +02:00
Julien Pagès
23e4c1d4a3 Bug 1091285 - move dumpScreen in a new mozscreenshot package. r=jgriffin
This also completely remove build/automationutils.py.

--HG--
extra : commitid : 50v6EAQNEHV
extra : rebase_source : 4ac1347d73498f068979514c6afb16ac50ab4033
2015-07-29 17:50:16 +02:00
Kartikaya Gupta
659b91fef4 Bug 1187025 - Add keyboard shortcuts for differences/next/prev in the reftest analyzer. r=dbaron
Save trees, DONTBUILD this.
2015-07-23 18:00:06 -04:00
Kartikaya Gupta
75997e4ed0 Bug 1186004 - Split the asyncPanZoom reftest sandbox condition into asyncPan and asyncZoom. r=mstange 2015-07-22 23:42:08 -04:00
L. David Baron
ee7c2b0554 Bug 1186061 patch 1 - Add feature to reftest harness to allow skipping the flush. r=mattwoodrow 2015-07-22 08:58:42 -07:00
Ryan VanderMeulen
a33e05c88c Merge inbound to m-c. a=merge 2015-07-17 10:26:22 -04:00
Ryan VanderMeulen
e5e20485f9 Merge m-c to fx-team. a=merge 2015-07-16 16:23:27 -04:00
Geoff Brown
6ab6eec4a3 Bug 1183717 - Increase default timeout for Android Debug reftests; r=jmaher 2015-07-16 06:20:08 -06:00
Wes Kocher
ff2f0d32cf Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Michael Layzell
72b02534d8 Bug 1165263 - Part 4: Update reftest runners to support new moz_hosts schema, r=dbaron 2015-07-14 15:06:36 -04:00
Michael Layzell
d9e4072585 Bug 817007 - Part 2: Update reftests due to removal of <file> magic host, r=ehsan 2015-07-14 15:06:32 -04:00
Florian Quèze
1b4b660dd8 Bug 1184045 - Enable region specific search defaults, r=markh. 2015-07-15 21:17:35 +02:00
Michael Layzell
5f6646bf5e Bug 1165263 - Part 4: Update reftest runners to support new moz_hosts schema, r=dbaron 2015-07-16 14:49:57 -04:00
Michael Layzell
54c96b6816 Bug 817007 - Part 2: Update reftests due to removal of <file> magic host, r=ehsan 2015-07-16 14:49:49 -04:00
Andrew Halberstadt
2be5ff0c10 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.

--HG--
rename : testing/mozbase/docs/mozlog_structured.rst => testing/mozbase/docs/mozlog.rst
rename : testing/mozbase/mozlog/mozlog/structured/commandline.py => testing/mozbase/mozlog/mozlog/commandline.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/__init__.py => testing/mozbase/mozlog/mozlog/formatters/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/base.py => testing/mozbase/mozlog/mozlog/formatters/base.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/errorsummary.py => testing/mozbase/mozlog/mozlog/formatters/errorsummary.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/__init__.py => testing/mozbase/mozlog/mozlog/formatters/html/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/html.py => testing/mozbase/mozlog/mozlog/formatters/html/html.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/main.js => testing/mozbase/mozlog/mozlog/formatters/html/main.js
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/style.css => testing/mozbase/mozlog/mozlog/formatters/html/style.css
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/xmlgen.py => testing/mozbase/mozlog/mozlog/formatters/html/xmlgen.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/machformatter.py => testing/mozbase/mozlog/mozlog/formatters/machformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/tbplformatter.py => testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/unittest.py => testing/mozbase/mozlog/mozlog/formatters/unittest.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/xunit.py => testing/mozbase/mozlog/mozlog/formatters/xunit.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/__init__.py => testing/mozbase/mozlog/mozlog/handlers/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/base.py => testing/mozbase/mozlog/mozlog/handlers/base.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/bufferhandler.py => testing/mozbase/mozlog/mozlog/handlers/bufferhandler.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/statushandler.py => testing/mozbase/mozlog/mozlog/handlers/statushandler.py
rename : testing/mozbase/mozlog/mozlog/structured/logtypes.py => testing/mozbase/mozlog/mozlog/logtypes.py
rename : testing/mozbase/mozlog/mozlog/structured/reader.py => testing/mozbase/mozlog/mozlog/reader.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/__init__.py => testing/mozbase/mozlog/mozlog/scripts/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/format.py => testing/mozbase/mozlog/mozlog/scripts/format.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/logmerge.py => testing/mozbase/mozlog/mozlog/scripts/logmerge.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/unstable.py => testing/mozbase/mozlog/mozlog/scripts/unstable.py
rename : testing/mozbase/mozlog/mozlog/structured/stdadapter.py => testing/mozbase/mozlog/mozlog/stdadapter.py
rename : testing/mozbase/mozlog/mozlog/structured/structuredlog.py => testing/mozbase/mozlog/mozlog/structuredlog.py
rename : testing/mozbase/mozlog/mozlog/logger.py => testing/mozbase/mozlog/mozlog/unstructured/logger.py
rename : testing/mozbase/mozlog/mozlog/loggingmixin.py => testing/mozbase/mozlog/mozlog/unstructured/loggingmixin.py
rename : testing/mozbase/mozlog/mozlog/loglistener.py => testing/mozbase/mozlog/mozlog/unstructured/loglistener.py
extra : commitid : 3JWk75JY4N0
extra : rebase_source : 229bad7a7bf8ead013ce62d128c0896a75cad393
2015-07-16 10:38:40 -04:00
James Graham
cb5657df7a Bug 1181521 - Reformat runreftest.py according to PEP8 rules, r=Ms2ger,jmaher
--HG--
extra : commitid : AnzOlk7AZll
extra : rebase_source : 7250fc6f3c325f1e11d2a201324e45cc4a347703
extra : amend_source : b5c67390d9448446208aba95f7e082a20c02f35b
2015-07-08 11:58:56 +01:00
Julien Pagès
addba42d69 Bug 1091274 - Move leak log functions out of automationutils and into mozbase. r=jgriffin 2015-07-03 07:04:22 +02:00
Dragana Damjanovic
7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Julien Pagès
3af2d87e17 Bug 1091284 - Remove systemMemory, environment from automationutils. r=jgriffin
--HG--
extra : commitid : BHwyu2fUyFY
extra : rebase_source : 152496df202df4355268cb54987a587eddbe6ddc
2015-07-01 22:00:07 +02:00
Gregory Szorc
3e949ee8fe Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.

--HG--
extra : commitid : 6tFME1KKfTD
extra : rebase_source : 78728f82f5487281620e00c2a8004cd5e1968087
2015-06-21 17:39:09 -07:00
Andrew Comminos
b5ad1a9975 Bug 1169666 - Mark reftests failing due to scrollbar transparency random on GTK3. r=karlt 2015-06-19 07:51:00 -04:00
Kartikaya Gupta
cd8ba74c1c Bug 1163832 - Update the reftest harness to wait for APZ repaint flushes before finishing. r=dbaron 2015-06-19 08:25:41 -04:00
Dave Townsend
6d2cc20764 Bug 1172028: Sideloaded add-ons without full signing shouldn't ever be loaded. r=dveditz
--HG--
extra : commitid : F3febINTh2u
extra : rebase_source : c31e1ae284fb8b3bb4ba188ea0a83cd4930b03f3
extra : amend_source : 42a884ddef8d8765dfb093c684fca5dc1ce62b8d
extra : source : f3760acfed2ac7f66c0170948e5c91561bfda44a
2015-06-05 11:46:11 -07:00
Carsten "Tomcat" Book
fb6be5d957 Backed out changeset f3760acfed2a (bug 1172028) for causing xperf regression
--HG--
extra : rebase_source : 81a92eaeacf909703c9944554bc8c54446a1af9e
2015-06-10 13:44:00 +02:00
Dave Townsend
936ce348c8 Bug 1172028: Sideloaded add-ons without full signing shouldn't ever be loaded. r=dveditz
--HG--
extra : commitid : 58eDMD7nkod
extra : rebase_source : f10644cd193e5fe0f69ca31b157eff400b320f67
2015-06-05 11:46:11 -07:00
Ms2ger
d5fa7d0cfe Bug 1171440 - Stop using for-each loops in reftest.js; r=dbaron
--HG--
extra : commitid : 2mj8f35nTBx
2015-06-05 11:23:14 +02:00
Mason Chang
1ab5797256 Bug 1169956. Backout bug 1073209 for tiled image regressions on OS X. r=jrmuizel 2015-06-04 15:59:11 -07:00
David Anderson
b2eb29a9c5 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Kartikaya Gupta
5b6ed7c5d7 Bug 1164218 - Allow running individual mochitests and reftests in chaos mode. r=roc,froydnj 2015-06-04 13:44:55 -04:00
Andrew Comminos
065394444c Bug 1170158 - Apply GTK2 reftest exceptions to GTK3. r=karlt 2015-06-02 13:47:00 -04:00
Andrew McCreight
aa913043f6 Bug 1157308 - part 1 - Reduce the leak threshold for content processes more. r=erahm 2015-05-27 07:53:00 +02:00
Kartikaya Gupta
0b76e02507 Bug 1167712 - Allow the reftest analyzer to ignore timestamps from |mach reftest| at the start of the line. r=dbaron 2015-05-27 17:22:35 -04:00
Timothy Nikkel
f3507bdc3b Bug 1160642. Add reftest-async-zoom to apply an async zoom before taking snapshot. r=dbaron 2015-05-24 16:48:26 -04:00
Kartikaya Gupta
b54dc47f24 Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
CLOSED TREE
2015-05-22 07:51:55 -04:00
Kartikaya Gupta
46f8e7ceee Bug 1163832 - Update the reftest harness to wait for APZ repaint flushes before finishing. r=dbaron 2015-05-22 06:42:09 -04:00
Chris Manchester
82719046b5 Bug 1161270 - Add source manifest to reftest manifest representation in moz.build.;r=gps,roc 2015-05-11 16:35:39 -07:00
Geoff Brown
550cacb4e3 Bug 1162285 - Remove unused environment vars on Android; r=jmaher 2015-05-07 18:49:15 -06:00
Georg Fritzsche
93609ecc96 Bug 1148500 - Part 4 (Fx 40): Disable Telemetry recording in reftests. r=dexter 2015-04-30 14:00:58 +02:00
Carsten "Tomcat" Book
596e5f9960 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Nathan Froyd
d264a57b76 Bug 1155776 - move USE_EXTENSION_MANIFEST to moz.build; r=mshal 2015-04-17 13:51:42 -04:00
Dave Townsend
7b5d12ad46 Bug 1038068: Check add-on signatures and refuse to install unsigned or broken add-ons (preffed off for now). r=dveditz
--HG--
extra : source : 3b48e1a81a170634dce964cd462c752d09680805
2015-03-31 11:32:40 -07:00
Carsten "Tomcat" Book
20f04c6b64 merge fx-team to mozilla-central with the correct cset a=merge 2015-04-23 15:48:43 +02:00
Carsten "Tomcat" Book
ad1045aa02 merge mozilla-inbound to mozilla-central a=merge 2015-04-23 15:41:03 +02:00
Carsten "Tomcat" Book
30b01a14e8 Backed out changeset f99621542727 (bug 1038068) for test failures in test_corrupt.js etc on a CLOSED TREE 2015-04-23 09:09:30 +02:00
Wes Kocher
b43e5283da Merge m-c to fx-team a=merge 2015-04-22 17:27:15 -07:00
Dave Townsend
2fb50ac667 Bug 1038068: Check add-on signatures and refuse to install unsigned or broken add-ons (preffed off for now). r=dveditz
--HG--
extra : source : 3b48e1a81a170634dce964cd462c752d09680805
extra : amend_source : 4aa3ae86e2afc75529e880ab962c67163405248b
2015-03-31 11:32:40 -07:00
Wes Kocher
9adc1fecb8 Backed out changeset 3b48e1a81a17 (bug 1038068) for xpcshell orange even after a clobbering IGNORE IDL
--HG--
extra : amend_source : 086173e953ae46aa2292993601380ab04884b1ac
2015-04-21 18:21:52 -07:00
Dave Townsend
f4b5328e0d Bug 1038068: Check add-on signatures and refuse to install unsigned or broken add-ons (preffed off for now). IGNORE IDL. r=dveditz
--HG--
extra : rebase_source : a48282c6b3f10391e9492d4f0a89cef8697ea622
extra : amend_source : 17c0645d0577dad789b2d9b4879459327fcef1f7
2015-03-31 11:32:40 -07:00
Mason Chang
30c8ca5402 Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on OS X. r=jrmuizel 2015-04-20 08:38:43 -07:00
Ehsan Akhgari
6cff744014 Bug 1112469 - Part 4: Disable periodic updates of service workers when running tests; r=nsm
This is meant to avoid random issues with Gecko suddenly kicking off the
periodic updates in the middle of our test runs.  This uses a hidden pref
intentionally since nobody should be able to discover this pref by going
to about:config.
2015-04-17 14:06:02 -04:00
Alessio Placitelli
748aeb48ed Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Nathan Froyd
d876b3e545 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Ryan VanderMeulen
4fa8326641 Backed out 3 changesets (bug 1137252) for suspicion of causing frequent B2G mochitest timeouts.
Backed out changeset bbb1b526cb56 (bug 1137252)
Backed out changeset 0c3d670f0c14 (bug 1137252)
Backed out changeset 1e0fa4ab7c6f (bug 1137252)

CLOSED TREE
2015-04-14 13:33:28 -04:00
Wes Kocher
5e9e8610ab Merge central to b2ginbound a=merge 2015-04-13 17:28:59 -07:00
Alexandre Lissy
d9b693d281 Bug 1140394 - Protect standard output from interleaving. r=ahal 2015-04-12 14:01:00 -04:00
Alessio Placitelli
77e10bc782 Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Ryan VanderMeulen
b79ce1078e Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-06 18:48:20 -04:00
Ted Mielczarek
581f9ce759 bug 1139922 - Fix loading mozinfo in runreftest.py. r=dbaron
--HG--
extra : rebase_source : e3f6ebeec022b991e0135538903784e676b6d442
2015-04-06 15:10:20 -04:00
Felipe Gomes
8beb4c1fa1 Bug 1147156 - Re-enable e10s by default for Nightly users who may have disabled it. r=poirot,mconley 2015-04-06 15:06:46 -03:00
Bill McCloskey
6bba9d317a Bug 1150151 - Set leak threshold for reftests (r=mccr8) 2015-04-01 14:42:37 -07:00
Markus Stange
d72114bc33 Bug 1146626 - Refresh the reftest snapshot after adjusting the async scroll offsets. r=roc 2015-03-25 22:35:57 -04:00
Kartikaya Gupta
57fccccc35 Bug 1147038 - Update some tests to pass on desktop platforms. r=tn
The test in question sets up an inconsistent state for desktop platforms because
it intends to simulate what the APZ does, but does it only partially. The APZ
code would set a CSS viewport (which the test does) but it doesn't set the
scroll-position-clamping-scroll-port-size which the APZ would always do.
2015-04-22 10:16:33 -04:00
Mike Hommey
525ae5030d Bug 1147283 - Replace mozpack.path with mozpath. r=mshal
Back when mozpack.path was added, it was used as:

  import mozpack.path
  mozpack.path.func()

Nowadays, the common idiom is:

  import mozpack.path as mozpath
  mozpath.func()

because it's shorter.

$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123

This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-27 08:13:16 +09:00
Kartikaya Gupta
69c669cbeb Bug 1147552 - Add a yellow background on the active test item in the reftest analyzer. r=dbaron
DONTBUILD because NPOTB
2015-03-26 14:54:21 -04:00
Geoff Brown
3336b867e0 Bug 1145364 - Use more portable ps command line for orphan cleanup; r=kmoir 2015-03-20 13:50:14 -06:00
Geoff Brown
09006b9294 Bug 1084614 - Clean up orphan servers before starting mochitests or reftests; r=kmoir 2015-03-19 11:01:01 -06:00
Markus Stange
dee805a312 Bug 1142211 - Add layerization testing mechanisms to reftest. r=roc
This adds support for class="reftest-opaque-layer" and for
reftest-assigned-layer="some-layer-name" to the reftest harness.

From reftest/README.txt:

Opaque Layer Tests: class="reftest-opaque-layer"
================================================

If an element should be assigned to a PaintedLayer that's opaque, set the class
"reftest-opaque-layer" on it. This checks whether the layer is opaque during
the last paint of the test, and it works whether your test is an invalidation
test or not. In order to pass the test, the element has to have a primary
frame, and that frame's display items must all be assigned to a single painted
layer and no other layers, so it can't be used on elements that create stacking
contexts (active or inactive).

Layerization Tests: reftest-assigned-layer="layer-name"
=======================================================

If two elements should be assigned to the same PaintedLayer, choose any string
value as the layer name and set the attribute reftest-assigned-layer="yourname"
on both elements. Reftest will check whether all elements with the same
reftest-assigned-layer value share the same layer. It will also test whether
elements with different reftest-assigned-layer values are assigned to different
layers.
The same restrictions as with class="reftest-opaque-layer" apply: All elements
must have a primary frame, and that frame's display items must all be assigned
to the same PaintedLayer and no other layers. If these requirements are not
met, the test will fail.
2015-03-11 14:51:59 -04:00
Alexandre Lissy
c00c1b9f7a Bug 1039834 - Fix PNG suite reftest on mulet. r=dbaron 2015-03-04 10:12:00 +01:00
Alexandre Lissy
c87d8ae9ed Bug 1138444 - Add Mulet detection for reftests. r=jgriffin
--HG--
extra : rebase_source : 5b50f02fe229b8d0dfaaba3924061dc6b985f3b8
2015-03-03 03:20:00 -05:00
L. David Baron
da27c29b8c Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc
--HG--
extra : transplant_source : %E16mjh%96Y%AB%96%23%A3%BDCF%F6%8D%95%BF%FE%BC
2015-03-03 17:03:19 -08:00
Geoff Brown
855e467da1 Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc 2015-02-27 13:15:00 -07:00
Kartikaya Gupta
4ebb7ef7d1 Bug 1130455 - Remove the mozasyncpanzoom attribute. r=roc
This attribute used to force APZ to be used on content processes even if the
overall APZ pref was false. However, this has a couple of problems, which cancel
each other out:
- If the pref is false, the APZ machinery is never created, and so it's
  impossible to have content processes "using" APZ.
- The reftest harness checks for the pref and ignores mozasyncpanzoom when
  evaluating the "asyncPanZoom" condition in reftest manifests.
Therefore, any reftests which were skip-if(!asyncPanZoom) would never run unless
the pref was set, and in those cases the mozasyncpanzoom attribute would not be
needed at all, as APZ is already enabled with the pref.
However, the mozasyncpanzoom attribute would cause some parts of the child
process code to behave as though APZ was enabled, which is incorrect. Removing
this attribute and relying solely on the pref corrects that.
2015-02-26 08:47:00 -05:00
David Burns
eed0db3148 Bug 1107336: Update b2g desktop ref test runner to use new Marionette Driver; r=ahal
--HG--
extra : rebase_source : a7d25f417045a2c382124c29b017f176d9ecf0f5
2015-02-23 14:42:39 +00:00
Alessio Placitelli
deb826f3fb Bug 1111022 - Tests for the SelfSupport backend. r=gfritzsche 2015-01-09 11:18:00 +01:00
Alexandre Lissy
6a7427dbba Bug 1128986 - Update gaia_lock_screen.js. r=jgriffin 2015-02-03 10:49:00 -05:00
Xidorn Quan
e1df1707b5 Bug 1133617 - Reftest Analyzer: Use process_log() directly instead of log_pasted() for log from url or param. r=dbaron DONTBUILD
--HG--
extra : source : feda36730b72911921c9806ca897c512a4d82e1f
2015-02-17 14:05:23 +13:00
L. David Baron
9df2ba75ee Bug 1084322 followup - Fix reftest-analyzer display of image from a failing != test. 2015-04-22 19:37:04 -07:00
Tooru Fujisawa
1056f2b4d2 Bug 1130268 - Fix NameErrors in killAndGetStack in runreftest.py. r=ted.mielczarek 2015-02-06 22:03:01 +09:00
Eugen Sawin
13fb4549cf Bug 792992 - Make update URL configurable via pref. r=snorp 2015-02-03 17:18:13 +01:00
Seth Fowler
594a776fc1 Bug 1126146 - Disable the single-color optimization in reftests. r=tn 2015-01-27 17:43:21 -08:00
L. David Baron
42aec8e460 Bug 1121327 patch 1 - Make the OSX variable in the reftest condition sandbox be an integer (1006, 1010) so that it scales for 10.10, and undefined for non-Mac rather than 0. r=ted.mielczarek
Using undefined has the advantage that we can use < and > tests with the
OSX variable.  (We currently have no such tests in the tree, perhaps
partly because they didn't work with non-OSX being 0.)
2015-01-15 15:07:50 -08:00
James Willcox
396525896e Bug 1110271 - Enable GMPInstallManager on Android r=mfinkle 2015-01-05 11:03:27 -06:00
Christoph Kerschbaumer
cc96f3ae3c Bug 1087735: Make JS callers of ios.newChannel call ios.newChannel2 in layout/ (r=dbaron) 2014-10-24 14:58:25 -07:00
Mark Hammond
8dc853f068 Bug 1109120 - use a geoip xhr request for more reliable country detection for search. r=gavin 2014-12-23 22:17:12 +11: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
Kartikaya Gupta
39ed588bca Bug 1089822 - Fix running reftest-remote on B2G using a local emulator build. r=ahal 2014-12-10 05:07:00 -05:00
Kartikaya Gupta
239293451e Bug 1109263 - Clamp the reftest drawWindow call to the canvas. r=dbaron
In some cases the area reported by MozAfterPaint can be extremely large. Since
that area determines what we pass to drawWindow, we could end up trying to
drawWindow an area that is too large for drawWindow to handle. Instead, this
patch clamps that area to the canvas size so that we don't unnecessarily try to
paint (and fail at painting) the whole invalid area.
2014-12-10 07:50:47 -05:00
Nathan Froyd
4d28406638 Bug 1097125 - part 2 - make |mach reftest| and related commands support single files; r=ted.mielczarek 2014-11-11 12:20:33 -05:00
Nathan Froyd
75d860a713 Bug 1097125 - part 1 - add filtering support to |mach reftest-{remote,b2g-desktop}|; r=ted.mielczarek 2014-11-11 12:16:53 -05:00
Nathan Froyd
bb859982fe Bug 1097125 - part 0 - fix cut-and-pasted comment; r=ted.mielczarek 2014-11-11 12:12:40 -05:00
Alexandre Lissy
2b2037cf77 Bug 1094362 - Completely disable update prefs for reftest. r=vingtetun, r=jgriffin
When running reftests on Mulet, we do not want that forced update
checking gets triggered. We can block this by setting the following
prefs:
 - app.update.enabled to false
 - app.update.url.override and app.update.url to empty string
We also disable tiles-related pinging and downloading by setting empy
values for:
 - browser.newtabpage.directory.source
 - browser.newtabpage.directory.ping
Gaia also does force check app updates at some point, so we introduce a
new pref, webapps.update.enabled, that we can use to make sure webapps
update won't be triggered.
2014-12-05 07:14:00 -05:00
Nazma Panjwani
9bd7bfc683 Bug 1091280 - moved options from AutomationUtils.addCommonOptions to runreftest.py, mochitest_options.py, runxpcshelltests.py and removed the addCommonOptions from automationUtils and automation.py.in, r=ahal 2014-11-19 12:31:45 -08:00
Mike Hommey
2277137650 Bug 1094037 - Move EXTRA_COMPONENTS and EXTRA_PP_COMPONENTS to the misc tier. r=gps 2014-11-06 09:29:11 +09:00
Felipe Gomes
70982a275f Bug 1093691 - Part 3. Safeguard Mochitest, Reftest from e10s-on-nightly pref. r=gavin 2014-11-05 02:15:16 -02:00
Pankaj Malhotra(:bitgeeky)
4351fe04c1 Bug 1091270 - Move isURL out of automationutils; r=jgriffin 2014-11-04 16:59:40 -08:00
Robert O'Callahan
f458f27d6b Bug 1080205. Part 2: Add test. r=tn
--HG--
extra : rebase_source : 9f8a41ae255e132e572fdb5012f851554fde69d9
2014-10-30 16:33:55 +13:00
Robert O'Callahan
7f0095de5c Bug 1083635. Part 4.2: Create nsDOMWindowUtils::UpdateLayerTree and use it to flush layers in reftest content processes instead of doing a DRAW_WIDGET_LAYERS drawWindow. r=mattwoodrow
--HG--
extra : rebase_source : b1db1f0171180ed0a7ca36f92653cb702124fc95
2014-11-04 17:05:44 +13:00
Armen Zambrano Gasparnian
eeb05f45e8 Bug 1043699 - Add Mulet reftests support. r=jgriffin 2014-11-04 09:18:27 -05:00
Bill McCloskey
61098bacba Bug 1090627 - [e10s] Ensure hasTestPlugin is true in reftests (r=roc) 2014-11-03 07:10:28 -08:00
Kartikaya Gupta
bbc930876b Bug 1090931 - Update logcat-filtering regex in reftest analyzer. r=dbaron
The logcat format used by tbpl jobs in some (maybe all) cases now has a
timestamp and other decorations at the beginning of the line. The regex that
was previously added to filter out reftest failure lines duplicated in logcat
no longer matches the lines correctly; this makes the regex more generic so that
the filtering works again.
2014-10-29 21:09:10 -04:00
Alessio Placitelli
f07d9efba6 Bug 1087647 - Prevent ./mach reftest from looking for a debugger if one was not provided as an argument. r=ted.mielczarek 2014-10-29 03:30:00 -04:00
Mats Palmgren
3eb1a8b0bd Bug 1089002 - Replace 'appname' with 'app'. r=nalexander
Fixes:

./mach reftest error: runreftest.py: error: could not find the application path, --appname must be specified

--HG--
extra : rebase_source : 75c3c9ef00bceb0da418cdb592e736478dd442cb
2014-10-24 17:27:00 -07:00
Nicholas Nethercote
c24a781566 Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium. 2014-10-23 17:35:27 -07:00
Jonathan Watt
5b22d99725 Bug 1084322 - Allow reftest analyzer to accept pasting of non-raw log output from treeherder. r=dbaron 2014-10-26 01:15:25 +01:00
Wes Kocher
a689009ad0 Merge m-c to inbound a=merge 2014-10-23 18:09:47 -07:00
Markus Stange
4a9b04adc7 Bug 1087293 - Remove unused nsIFrameLoader::renderMode. r=kats 2014-10-23 22:45:14 +02:00
Nick Alexander
e2aa678126 Bug 1083279 - Follow-up: address review comments. r=gbrown
Pushed without committing the changes addressing gbrown's review
comments.

--HG--
extra : rebase_source : 4df8be9befc251aa8652baa62da81d1637a6a86d
2014-10-23 11:28:46 -07:00
Nick Alexander
fd08a3a7bb Bug 1083279 - Part 2: Allow SCRIPT_DIRECTORY to depend on the invocation script name. r=ted
This issue manifests itself as the reftest extension not being installed
for local testers.  This is because the extension's location is
determined relative to SCRIPT_DIRECTORY, and for local testers, __file__
ignores the symlink from $OBJDIR/_tests/reftest/runreftest.py ->
$SRCDIR/layout/tools/reftest/runreftest.py.

This was changed in Bug 915865.
2014-10-23 11:05:49 -07:00
Nick Alexander
76e714925e Bug 1083279 - Part 1: Don't get_binary_path on mobile/android. r=gbrown
The logic was cribbed from the final output of |mach run|.
2014-10-23 11:05:48 -07:00
Jonathan Watt
dd387d8232 Bug 1084665 - Make reftest-analyzer.xhtml support test/reference images of arbitrary dimensions. r=dholbert 2014-10-22 10:48:36 +01:00
Bob Clary
0cea442ede Bug 1079931 - Update reftest remotereftest.py to support connecting to device by serial number, r=ahal. 2014-10-15 07:09:16 -07:00
Bobby Holley
a94527ccc8 Bug 1082450 - Remove exposedProps from reftest harness. r=gabor 2014-10-15 15:05:09 +02:00
Ted Mielczarek
9ab511ff7d bug 915865 - port reftest to mozbase. r=ahal 2014-07-29 11:47:50 -04:00
Andrew McCreight
f3d650b7c0 Bug 1076969 - processLeakLog should come up with reasonable defaults itself. r=jmaher
Instead of grabbing attributes off options at every call site, pass
in the options object to processLeakLog, and attempt to get the attributes
there. If not present, use a restrictive default value.

This will prevent silent harness failures if one of the many ways to invoke
processLeakLog fails to set up these options, and makes it so they
don't have to set it up if they don't care.
2014-10-06 14:23:17 -07:00
Andrew McCreight
e71a398f84 Bug 1068276, part 4 - Fix indentation of leak option setting in reftests. r=ted 2014-10-02 08:42:11 -07:00
Andrew McCreight
687f957f6f Bug 1068276, part 3 - Set some defaults for leak parameters on B2G reftests. r=jmaher 2014-10-02 08:40:21 -07:00
Andrew McCreight
b71a75b37a Bug 1068276, part 1 - Allow configuring which type of processes we complain about when there's no leak log. r=jmaher
Then don't warn for missing logs from tab and geckomediaplugin processes, or default processes on B2G.
2014-09-30 14:17:27 -07:00
Andrew McCreight
3a5312793b Bug 1067664, part 1 - Allow different leak thresholds for different types of processes. r=jmaher 2014-09-30 09:54:25 -07:00
Jim Mathies
af9be8e2a8 Bug 1072417 - Remove the browser.tabs.remote pref and turn everything it controls on by default. r=felipe 2014-09-29 16:11:08 -05:00
Ryan VanderMeulen
8bcef57acc Backed out 4 changesets (bug 1068276, bug 1067664) for Android leaktest complaints.
Backed out changeset 846faaa68219 (bug 1068276)
Backed out changeset 35e71ffcf8e1 (bug 1068276)
Backed out changeset 605f59a806fd (bug 1067664)
Backed out changeset 2d5b7ea96b70 (bug 1067664)

--HG--
extra : rebase_source : 7a90c78ba35f31acce7609d5d8375a593cb9825d
2014-09-26 16:02:12 -04:00
Andrew McCreight
7630b62a5b Bug 1068276, part 1 - Allow configuring which type of processes we complain about when there's no leak log. r=jmaher
Then don't warn for missing logs from tab and geckomediaplugin processes, or default processes on B2G.
2014-09-26 10:34:09 -07:00
Andrew McCreight
ddb5b793b3 Bug 1067664, part 1 - Allow different leak thresholds for different types of processes. r=jmaher 2014-09-26 10:34:08 -07:00
Aaron Klotz
70797271f3 Bug 1070042: Fix --debugger parameter in reftest/crashtest; r=ted 2014-09-19 14:49:34 -06:00
Alessio Placitelli
a7b1ef77b3 Bug 928397 - Enable xpcshell-test debugging on Windows platforms and default debugger detection. r=ted.mielczarek 2014-07-02 13:52:00 +02:00
William Lachance
c5c27fe755 Bug 1059331 - Additional options for reftest analyzer useful for treeherder. r=jmaher 2014-09-03 14:37:22 -04:00
Ed Lee
a823ae58e9 Bug 1042876 - Reftest bustage to correctly disable remote connections for reftests [r=froydnj]
--HG--
extra : rebase_source : f2065bf559560fbc852d7e57e6d18bc5bcf65b40
2014-08-22 18:05:09 -07:00
Chenxia Liu
7a148d6ee8 Bug 1021751 - Homebanner snippet. r=lucasr 2014-08-22 15:07:40 -07:00
Birunthan Mohanathas
b622eeebf0 Bug 1053013 - Collapse test-only moz.build files under layout/ into ancestor moz.build files. r=glandium 2014-08-20 10:27:18 -07:00
L. David Baron
22fec013ea Bug 1054163 - Replace numbered reftest manifest file errors with more descriptive error messages. r=dholbert
--HG--
extra : transplant_source : %0C%F1%20%BEB%03%01%8E%FC%95%AC%24%11%EE%09W%5Bs%AC%93
2014-08-17 21:21:21 -07:00
L. David Baron
8bf306f8b3 Bug 1052907 - Make --this-chunk and --total-chunks arguments to mach reftest-remote work by coercing them to ints, which they need to be. r=ahal 2014-08-13 15:39:03 -07:00
Geoff Brown
8c277a965f Bug 1042097 - Upload Android tombstones to blobber; r=dminor 2014-08-11 11:55:28 -06:00
Sylvestre Ledru
2e0c1ce1ec Bug 1050715 - Update the description of the various tests targed proposed by './mach help' r=jmaher
--HG--
extra : rebase_source : 29019a02711ffce5c148787517051855259b6446
2014-08-09 15:37:29 +02:00
Markus Stange
637219fcf9 Bug 1050229 - Use matchMedia when computing the value for the windowsDefaultTheme reftest variable. r=ehsan 2014-08-08 12:46:48 +02:00
Ting-Yu Lin
770d931ad3 Bug 1016184 - Part 3g: Disable auto-hide feature in mochitest and reftest. r=ehsan 2014-07-27 00:21:00 +02:00
Nathan Froyd
067f2791c6 Bug 1046782 - remove layout/tools/layout-debug/src/Makefile.in; r=mshal
The libs:: rule is empty and the clobber:: rule serves no useful purpose
nowadays.
2014-07-31 10:37:47 -04:00
Ryan VanderMeulen
908eceaa30 Backed out 9 changesets (bug 1016184) for frequent OSX Gip timeouts.
Backed out changeset 0893f2ef4b9a (bug 1016184)
Backed out changeset 93587ce1162b (bug 1016184)
Backed out changeset a52c9d674927 (bug 1016184)
Backed out changeset ca2fd0f41a12 (bug 1016184)
Backed out changeset 84dacf014e39 (bug 1016184)
Backed out changeset 16854e321f23 (bug 1016184)
Backed out changeset 8acd5e707c83 (bug 1016184)
Backed out changeset d0513eae0c97 (bug 1016184)
Backed out changeset 0d03cd217c64 (bug 1016184)
2014-07-31 13:29:30 -04:00
Ting-Yu Lin
89bf44d38c Bug 1016184 - part 3g - Disable auto-hide feature in mochitest and reftest. r=ehsan 2014-07-27 00:21:00 +02:00
Ehsan Akhgari
7d3ab121f1 Bug 1044243 - Remove unused Fennec reftest sandbox variables; r=ted 2014-07-25 17:10:39 -04:00
Fabrice Desré
d62a4325de Bug 1045478 - Disable the app update timer in reftests and crashtests r=ryanvm 2014-07-29 10:02:20 -07:00
Bill McCloskey
803109b939 Bug 1001039 - Disable plugin tests in desktop e10s (r=roc) 2014-07-26 12:22:13 -07:00
Bill McCloskey
6f37484071 Bug 1001039 - Disable APZ tests in desktop e10s (r=roc) 2014-07-26 12:21:57 -07:00
Trevor Saunders
dfb8d4ea04 bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
Bobby Holley
7cf5df66a7 Bug 1038844 - Flip the scary automation pref for crashtests and marionette. r=jgriffin 2014-07-17 21:34:48 -07:00