Commit Graph

803 Commits

Author SHA1 Message Date
arthur.iakab
9bffb6aa72 Merge inbound to mozilla-central. a=merge 2018-02-27 11:58:55 +02:00
Matt Woodrow
b64eef3eaf Bug 1439807 - Extend displaylist_mutate to also test inactive layers. r=jmaher 2018-02-27 13:26:40 +13:00
Alexandre Poirot
6e7897e220 Bug 1439991 - Fix complicated.netmonitor timeout on windows. r=Honza
When opening the netmonitor, some pending requests may still occur after the toolbox is opened.
So that we overflow the expected number of requests we except during page reload.

MozReview-Commit-ID: If9okZONF8V

--HG--
extra : rebase_source : f4ca4f80079cbe0ef0d980f5d4a6900d8499dec8
2018-02-21 01:02:33 -08:00
Alexandre Poirot
a98d2b6e44 Bug 1439991 - Re-enable netmonitor test on windows. r=rwood
MozReview-Commit-ID: DZDrkyo3nqm

--HG--
extra : rebase_source : e3fecc01c2988f662b822a74a9648f7818955c29
2018-02-20 11:01:28 -08:00
Julian Descottes
8fc42f2131 Bug 1432416 - Consistent folder hierarchy for DAMP custom test pages;r=ochameau
Create one folder for each tool in devtools/addon/content/pages/custom/
All tools follow the same convention custom/${tool}/index.html

MozReview-Commit-ID: 5SCD2Oy5X47

--HG--
rename : testing/talos/talos/tests/devtools/addon/content/pages/custom/console.html => testing/talos/talos/tests/devtools/addon/content/pages/custom/console/index.html
rename : testing/talos/talos/tests/devtools/addon/content/pages/custom/generate-inspector-html.js => testing/talos/talos/tests/devtools/addon/content/pages/custom/inspector/generate-inspector-index-html.js
rename : testing/talos/talos/tests/devtools/addon/content/pages/custom/inspector.html => testing/talos/talos/tests/devtools/addon/content/pages/custom/inspector/index.html
extra : rebase_source : b7bb449b855a2e9bbdf5ea167fbd0d145f002bbd
2018-02-22 11:04:12 +01:00
Julian Descottes
8697ea8d48 Bug 1432416 - Add comments and documentation about adding new DAMP tests;r=ochameau
MozReview-Commit-ID: LxFbX0AzJfX

--HG--
extra : rebase_source : 2b78c3a617f54f46d9583a8f99c8b919fb3381d7
2018-02-22 10:54:28 +01:00
Julian Descottes
8d757c2152 Bug 1432416 - Add talos/DAMP test for inspector with many CSS rules;r=ochameau
MozReview-Commit-ID: HJxw8i5kBLM

--HG--
extra : rebase_source : e9710d484d67c5649b19043840719862daab748c
2018-02-19 14:55:05 +01:00
Julian Descottes
6819f1381c Bug 1432416 - Use DAMP test helper for inspector.layout.open;r=ochameau
MozReview-Commit-ID: 5CPG1mvX6gP

--HG--
extra : rebase_source : 6156916b03b7df37b44c1114e6dbc4813ed3deb2
2018-02-20 11:47:02 +01:00
Joel Maher
bcab1863d7 Bug 1436719 - gecko_profile.py uses deprecated symbolsapi.mozilla.org. r=rwood 2018-02-23 12:33:37 -05:00
Joel Maher
31b5da71fe Bug 1436726 - ensure gecko profiling works for new tests like stylebench and motionmark. r=rwood 2018-02-23 12:33:33 -05:00
Joel Maher
a88222fd76 Bug 1437425 - disable ares6 on osx. r=rwood 2018-02-22 11:43:11 -05:00
Joel Maher
52c88de2a4 Bug 1438292 - add JetStream benchmark to talos. r=rwood 2018-02-22 11:43:02 -05:00
Mark Banner
01319d9d04 Bug 1437584 - Enable ESLint rule mozilla/use-services for testing/. r=jmaher
MozReview-Commit-ID: DMkgj5UAId4

--HG--
extra : rebase_source : 155f657e68f04850e878535afdb1421933b4a13b
2018-02-12 17:10:00 +00:00
Rob Wood
9fd4018d70 Bug 1384272 - Add a talos test that tracks the performance of opening about:preferences; r=jmaher
MozReview-Commit-ID: LuHosK5chMN

--HG--
extra : rebase_source : 2bdf10c088c9a93b91cd09a85f62630c53bd3992
2018-02-09 18:46:04 -05:00
Rob Wood
8202c90789 Bug 1438340 - Only install talos pageloader addon when required, not by default on all tests; r=jmaher
MozReview-Commit-ID: AIfZESSXoWg

--HG--
extra : rebase_source : 32953d8da45bd0e8c472deda91a6b5a5b50a627c
2018-02-15 14:03:11 -05:00
Narcis Beleuzu
2d9816273c Merge inbound to mozilla-central. a=merge 2018-02-16 11:49:59 +02:00
Margareta Eliza Balazs
9003462ae4 Backed out 2 changesets (bug 1438292) for multiple failures in /builds/worker/workspace/mozharness/mozharness/base/script.py on a CLOSED TREE
Backed out changeset 8508dc544f8b (bug 1438292)
Backed out changeset a9db2b954595 (bug 1438292)
2018-02-16 00:04:54 +02:00
Joel Maher
86bb036ec8 Bug 1438292 - add JetStream benchmark to talos. r=rwood 2018-02-15 16:18:03 -05:00
Joel Maher
71428ed6cf Bug 1438291 - add ares-6 benchmark to talos. r=rwood 2018-02-15 13:02:43 -05:00
Andreea Pavel
b4467319f9 Backed out changeset 62b6738695de (bug 1432037) for talos damp crashes on a CLOSED TREE 2018-02-12 20:53:54 +02:00
Alexandre Poirot
58e12beee8 Bug 1432037 - Wait for tab animation end when closing test tabs. r=bgrins
MozReview-Commit-ID: 2XxcOFOqJo

--HG--
extra : rebase_source : ae7482dc3ebc67285f6ca666804edb2819280ca8
2018-02-06 06:26:49 -08:00
Rob Wood
e8c98e8bd1 Bug 1437028 - Disable DAMP's complicated.netmonitor on Win; r=ochameau
MozReview-Commit-ID: DuVW4cr6BqF

--HG--
extra : rebase_source : 242ecc215ac2a437e052447b1156b9a1ba3d3e01
2018-02-09 09:01:25 -05:00
Alex Gaynor
fd8dcc3bde Bug 1435434 - remove usage of enablePrivilege in talos which was solely for calling loadSubScript; r=jmaher
MozReview-Commit-ID: AiFNzMZ2tIN

--HG--
extra : rebase_source : e764819cb309852af6ad631000c506d75995fc82
2018-02-07 12:36:59 -05:00
Joel Maher
c9827cf1b5 Bug 1423267 - Add motionmark benchmark to try, mozilla-central. r=rwood 2018-02-08 14:44:28 -05:00
Narcis Beleuzu
d299fdd9b4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-08 21:36:33 +02:00
Joel Maher
628233fdd4 Bug 1435907 - "ImportError: No module named jsonschema". r=rwood 2018-02-08 13:50:12 -05:00
Joel Maher
c42ef837b6 Bug 1432201 - remove references to CART test in talos source. r=rwood 2018-02-08 13:50:11 -05:00
Joel Maher
671c4c9fe4 Bug 1436606 - Remove stylo_disabled talos test. r=rwood 2018-02-08 13:50:11 -05:00
Gregory Szorc
9e795ff565 Bug 1435729 - Always use vendored tooltool.py; r=jlund
Previously, we were downloading tooltool.py from random servers.
Considering tooltool.py is used to secure the download of future
components, downloading tooltool.py from potentially 3rd party
services was a major lapse in our end-to-end security, as a
compromised tooltool.py wouldn't honor integrity checks.

This commit copies the already vendored copy of tooltool.py into
the mozharness directory. A copy needs to be in the mozharness
directory because then a copy of mozharness without access to
a source checkout will have access to it.

We modify the code in mozharness that fetches tooltool to use
the copy from mozharness (unless `mach artifact toolchain` is
available).

Since a copy of tooltool.py is always reliably available, we
can remove all config entries related to tooltool.py.

MozReview-Commit-ID: C7ls1xWrPMq

--HG--
rename : python/mozbuild/mozbuild/action/tooltool.py => testing/mozharness/external_tools/tooltool.py
extra : rebase_source : d7b48d837805f9312c97b6e21c6527cc5f5018dc
2018-02-07 14:37:48 -08:00
Mark Banner
ff6299c6be Bug 1436389 - Fix space-unary-ops issues picked up by the new version of ESLint. r=mossop
MozReview-Commit-ID: 9yCnRlu2k1a

--HG--
extra : rebase_source : fa1d571ddc3aefd66abcf4f884c9669f64e5f230
2018-02-07 16:41:19 +00:00
Andrew McCreight
754a4bcd3c Bug 1432992, part 2 - Manually remove some empty blocks. r=florian
Also, remove a now-obsolete comment from placesOverlay.xul and remove
some now-empty XPCShell test head files.

MozReview-Commit-ID: 6kKVQu8FAL3

--HG--
extra : rebase_source : 7dd05818d68a15bd170af734078db4ba45029d80
2018-01-25 16:52:25 -08:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Joel Maher
a78be3d8cb Bug 1425058 - summarize stylebench scores properly. r=rwood,emilio 2018-02-06 11:23:26 -05:00
Brian Grinstead
9d3fb06b54 Bug 1425330 - Part 1 - set up talos configurations for tart and ts_paint with XUL flexbox emulation;r=rwood
MozReview-Commit-ID: 7hl8cafIaSz

--HG--
extra : rebase_source : 653f5c7fb0022e64384983d33d7ab0a809a1396c
2018-01-30 15:17:47 -08:00
Andrew McCreight
a6f34d4700 Bug 1435115 - Remove usage of enablePrivilege from quit.js. r=jmaher
This patch moves the contents of quit.js into talos-powers-content.js,
and makes it callable from content via TalosPowersContent. The code
required a few minor tweaks.

MozReview-Commit-ID: KkAbcFO0xzT

--HG--
extra : rebase_source : 4a165bc613fbc73ff8edd7bcfe2cf9cbd4a2af05
2018-02-01 16:05:30 -08:00
Andrew Halberstadt
f354075c7a Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood
This is a new issue that gets linted with flake8 3.5.0. Basically you should
never use a blank except: statement.

This will catch all exceptions, including KeyboardInterrupt and SystemExit
(which is likely not intended). If a catch all is needed, use
`except: Exception`.  If you *really* mean to also catch KeyboardInterrupt et
al, use `except: BaseException`.

Of course, being specific is often better than a catch all.

MozReview-Commit-ID: FKx80MLO4RN

--HG--
extra : rebase_source : 7c74a7d0d81f2c984b47aff3a0ee3448b791177b
2018-01-31 14:32:08 -05:00
Andrew McCreight
7073cf07e2 Bug 1434977 - Remove old UniversalXPConnect related stuff from Talos. r=jmaher
MozReview-Commit-ID: GHCPPMsf6N9

--HG--
extra : rebase_source : 1c9481491836b1b2d131455d5bc75aed0d111843
2018-02-01 11:23:55 -08:00
Gurzau Raul
1315ffda06 Merge inbound to mozilla-central. a=merge 2018-02-02 00:22:39 +02:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Andrew McCreight
470a8fdc64 Bug 767640, part 1 - Put Ci, Cr, Cc, and Cu on chrome contexts. r=bz,florian,jmaher
Almost every chrome script uses these abbreviations. We can avoid some
boilerplate by automatically defining them on chrome contexts where we
define Components.

The var declarations for Cc and Ci in MozillaFileLogger.js are run
before enablePrivilege("UniversalXPConnect"). The latter now attempts
to automatically define Cc and Ci, but the non-configurable Cc and Ci
prevent that. Work around this by just removing the var declarations.

MozReview-Commit-ID: 6FV9ahLeqUb

--HG--
extra : rebase_source : 75a3243ea2c267fad19cc6543046dc7b130cc4c1
2018-01-18 13:04:41 -08:00
Nicholas Nethercote
7b9969bae5 Bug 1434813 - Fix integer overflow of places.database.lastMaintenance in testing/profiles/prefs_general.js. r=glandium.
Bug 1383896 added this constant to testing/talos/talos/config.py:

> FAR_IN_FUTURE = 7258114800

which is used as the value for the "places.database.lastMaintenance" pref.
(7258114800 seconds after 1970 is the start of the year 2200.)

 libpref stores integers prefs as int32_t and the current parser doesn't detect
overflow. So this overflows to -1331819792. (I detected this with the new prefs
parser from bug 1423840, which does detect integer overflow.) As a result the
condition testing this pref in
toolkit/components/places/PlacesCategoriesStarter.js ends up always succeeding
in tests, which is the exact opposite of what was intended. This patch changes
it to 2147483647 (the year 2038), the maximum int32_t value.

(Note: this is much the same as bug 1424030, which was fixed recently.)

MozReview-Commit-ID: AQw4b8tmE9u
2018-02-01 15:40:32 +11:00
Andrew McCreight
b1b9c14aef Bug 1434420 - Add missing newline to Talos error message. r=standard8
MozReview-Commit-ID: Hq7eUYPmGaw

--HG--
extra : rebase_source : 2e7b4c03b73cf1c5670656e014e906912e257963
2018-01-30 13:09:22 -08:00
Alexandre Poirot
c4601413b4 Bug 1419328 - Run DAMP test against a document specific to the webconsole. r=nchevobbe
MozReview-Commit-ID: Dzyh733rgfG

--HG--
extra : rebase_source : 8d082d26d46ca67f03a65d03115eebaa72105f89
2017-11-17 03:27:10 -08:00
Kris Maglione
19a956c2c6 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : 09a90b29837e339eec7bdf8504f86c28e74ca3dd
extra : intermediate-source : a1eca62826a1341ca24d4d2a93d4884d4fc7ad51
extra : histedit_source : eb26e73b531f9a34d3401d39f60b533b27b78540
2018-01-18 16:27:26 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Rob Wood
219ef34d85 Bug 1431427 - Add talos suite configs for nightly profiling suite; r=jmaher
MozReview-Commit-ID: dLqkWUQkOR

--HG--
extra : rebase_source : e993f0e5fa9cc24501a84dd96159379f92888b40
2018-01-23 16:57:11 -05:00
Rob Wood
e3dc3085d2 Bug 1432268 - Fix tp6 hero element time measurement; r=tarek
MozReview-Commit-ID: 6z08eFMCp3

--HG--
extra : rebase_source : 23b3a45a9b2ed92bc01e828f5ea5e1e14a1503b0
2018-01-22 16:49:05 -05:00
Rob Wood
6a390f2472 Bug 1432268 - Turn on hero element measurement for tp6 google; r=jmaher
MozReview-Commit-ID: 74qYfVeXeBg

--HG--
extra : rebase_source : ba51c5791a78d483020a33080cbe67f44a42e9f5
2018-01-22 14:34:40 -05:00
Alexandre Poirot
3522ce42d1 Bug 1423517 - Helps tracking JS allocations when running DevTools tests. r=jdescottes
MozReview-Commit-ID: 7PWgsUyR54Q

--HG--
extra : rebase_source : d620f8b704e9da6e8ee7326715a21addeb08bd06
2017-12-06 01:36:51 -08:00
Rob Wood
71750314ca Bug 1426682 - Remove tcanvasmark from talos; r=jmaher
MozReview-Commit-ID: De1WBDevFay

--HG--
extra : rebase_source : 2d00b89e8791a026bdc168aef3010a2884af0573
2018-01-18 15:29:01 -05:00