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

1315 Коммитов

Автор SHA1 Сообщение Дата
Gerald Squelart 6c4a10dba6 Bug 1630448 - Set MOZ_PROFILER_STARTUP_NO_BASE=1 in Talos tests - r=canaltinova
Talos tests suffer the most from intermittents that seem due to the Base Profiler.
So until symptoms are reduced (bug 1648324) or the root cause is fixed (bug 1648325), Talos tests will run without the Base Profiler.

Differential Revision: https://phabricator.services.mozilla.com/D81019
2020-06-25 07:34:36 +00:00
Julian Descottes 426d07f236 Bug 1646636 - Disable devtools.contenttoolbox.fission in inspector tests for frames + context menu r=ochameau,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D80503
2020-06-23 13:26:06 +00:00
Sylvestre Ledru 46af48052b Bug 1646421 - flake8 Fix a bunch of actual errors r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D80078
2020-06-20 09:46:45 +00:00
Mike Conley e40f4cfba0 Bug 1622088 - Part 3: Add startup_about_home_paint_cached Talos test. r=davehunt,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D71794
2020-06-16 17:18:27 +00:00
Butkovits Atila eafc99f75d Backed out changeset 5b6153efe67f (bug 1645488) as requested by dev a=backout 2020-06-16 18:03:51 +03:00
Taegeon Lee 44587e00b4 Bug 1645488 Remove condition and set required to not mach_interface r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D79600
2020-06-16 14:31:25 +00:00
Coroiu Cristina 7d48b5a40a Backed out changeset 49c61831e2a7 (bug 1645488) on request by bebe 2020-06-16 14:22:05 +03:00
Taegeon Lee 8771ba314f Bug 1645488 Remove condition for '--executablePath' command and set required to false r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D79600
2020-06-16 09:43:17 +00:00
Emilio Cobos Álvarez 421c78970d Bug 1599160 - Allow waiting for less expected requests in a complicated netmonitor test. r=bomsy,perftest-reviewers,sparky
The complicated test loads a lot of iframes. Now that with my changes we
coalesce stylesheet loads across documents it's expected to have way
less network loads for this test, which has a lot of facebook iframes
that load multiple stylesheets each.

The value is the one that made it reliably pass on my machine.

Differential Revision: https://phabricator.services.mozilla.com/D79394
2020-06-15 13:15:35 +00:00
Emilio Cobos Álvarez 88493a8db6 Bug 1599160 - Wait for less zoom messages in a DAMP test. r=nchevobbe,perftest-reviewers,sparky
DAMP refreshes the page that it loads, and it bypasses the caches, but
we still coalesce in-progress loads, so it's expected to see less of
this.

This actually caught another issue, that I'm fixing in bug 1645180.

Differential Revision: https://phabricator.services.mozilla.com/D79352
2020-06-15 13:53:46 +00:00
Razvan Maries 7b30d6e82e Backed out 7 changesets (bug 1599160) for damp failures. CLOSED TREE
Backed out changeset edb0e17f3c98 (bug 1599160)
Backed out changeset 64b42ac358e6 (bug 1599160)
Backed out changeset ce1521b895e1 (bug 1599160)
Backed out changeset 0b0ff0ad8db7 (bug 1599160)
Backed out changeset c7ef05dae614 (bug 1599160)
Backed out changeset 466cfd0ad5db (bug 1599160)
Backed out changeset b3f28494f0e7 (bug 1599160)
2020-06-12 02:40:38 +03:00
Emilio Cobos Álvarez 76be476529 Bug 1599160 - Temporarily don't wait for the zoom messages in a DAMP test. r=nchevobbe a=NPOTB. CLOSED TREE
DAMP refreshes the page that it loads, but doesn't clear the stylesheet
cache, so the second+ time around some of the zoom messages will not be
sent.

This is actually a wider issue, that I plan to fix in bug 1645180.
Meanwhile don't wait for these messages.

Differential Revision: https://phabricator.services.mozilla.com/D79352
2020-06-11 20:26:12 +00:00
Kunchanapalli Shriram 75c48c9453 Bug 1518313 - Removes --geckoProfile from talos-test mach command and replaces it with --gecko-profile; r=AlexandruIonescu,perftest-reviewers
Also removes import argparse as per https://bugzilla.mozilla.org/show_bug.cgi?id=1518313#c15
Addresses defect found in code analysis as per https://code-review.moz.tools/#/diff/242580
Changes parameters value as per https://phabricator.services.mozilla.com/D66380#2132590

Differential Revision: https://phabricator.services.mozilla.com/D66380
2020-06-09 13:22:15 +00:00
Dorel Luca 13c718e2f2 Backed out 3 changesets (bug 1622088) for XPCshell and Browser-chrome failurs on browser/abouthomecache/browser_process_crash.js. CLOSED TREE
Backed out changeset 238fa307504a (bug 1622088)
Backed out changeset ceaa7857baea (bug 1622088)
Backed out changeset 9c75ae56f50e (bug 1622088)
2020-06-08 20:17:42 +03:00
Mike Conley 5871cc1e82 Bug 1622088 - Part 3: Add startup_about_home_paint_cached Talos test. r=davehunt,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D71794
2020-06-08 15:56:38 +00:00
Sonia Singla 228fa97fb8 Bug 1628599 - Fixing all links pointing to docs.firefox-dev.tools r=Honza,remote-protocol-reviewers,perftest-reviewers,maja_zf,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D77560
2020-06-01 10:58:38 +00:00
David Major 2372940165 Bug 1642749 - Reduce the iterations on the attr-selector-1.html perf test r=perftest-reviewers,emilio,Bebe
`attr-selector-1.html` currently takes 89 seconds on my machine. That's quite an outlier when its sibling tests are in the few-tenths to few-seconds range.

Because these tests are run for PGO, I'm concerned about a risk of overtraining. The #1 function in our profile, related to the attrs test, has 1200M counts, while more typical values for our hottest functions are in the 200M range. This might make functions lower on the list seem colder than they really are.

Differential Revision: https://phabricator.services.mozilla.com/D77899
2020-06-04 08:21:34 +00:00
Cameron McCormack 4d86697e24 Bug 1641108 - Add perf-reftest-singleton for bug 1640545 changes. r=emilio,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D76966
2020-05-27 12:01:53 +00:00
Greg Tatum 4d20207a95 Bug 1628073 - Remove the view_gecko_profile.py tool; r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D74294
2020-05-22 13:19:58 +00:00
Greg Tatum 593ab0604f Bug 1628073 - Move gecko profiler testing files to mozgeckoprofiler; r=sparky,perftest-reviewers,gbrown
I need to add symbolication support for the mochitest Gecko Profiler command line
option. These profiles also need to be symbolicated. Unfortunately, there is not
a common place where I could use these files. Talos and Raptor each had their
own copy of the snappy symbolication server.

This commit consolidates these packages into a re-usable mozbase package that can
be used in mochitests, and eventually in other places like xpcshell tests.

I stubbed out a test file, but it doesn't do anything quite yet. This commit makes
it so that the tests still work in Raptor and Talos, but doesn't add any features.
It also doesn't try too hard to make the files look like a mozbase package.

Differential Revision: https://phabricator.services.mozilla.com/D74289
2020-05-22 13:18:44 +00:00
Greg Tatum 11e4654387 Bug 1628073 - Document some of the symbolication python code; r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D74287
2020-05-22 13:17:55 +00:00
Greg Tatum 01b425b6d5 Bug 1628073 - Rewrite view_gecko_profile.py to open a URL; r=perftest-reviewers,sparky
The current implementation opens the built Firefox in the objdir. This is not
optimal as the built Firefox is not really great for viewing files in. The build
could be broken. With this patch, the profiles will instead be opened in the users
default browser.

Differential Revision: https://phabricator.services.mozilla.com/D70089
2020-05-22 13:17:30 +00:00
Razvan Caliman d8b0ded34b Bug 1636111 - Add DAMP test for Inspector Rules view with many CSS Variables r=jdescottes,sparky,perftest-reviewers
Inspecting a node with many CSS variables makes the Rules view render slowly. A patch to improve performance is in development in D73062.

This patch adds a new subtest, `custom.inspector.manycssvariables.selectnode`, to the existing custom Inspector DAMP test to measure the rendering time for a node with 300 CSS variables all of them used (600 declarations in total).

It might seem extreme. In May 2020 youtube.com has 1,375 CSS variables applicable to the `<html>` element. They all get inherited by all CSS rules for most nodes on the page. This slows down the action of inspecting CSS for any node. The largest CSS rule from youtube's stylesheets has 287 declarations of CSS variables. In the age of automatically-generated stylesheets for design systems this scenario becomes more common.

Differential Revision: https://phabricator.services.mozilla.com/D73289
2020-05-12 14:09:25 +00:00
alexandru.ionescu 3497d554d1 Bug 1614805 Part 2: modify the re.match expression to cover the empty event r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D73608
2020-05-12 12:25:27 +00:00
Nicolas Chevobbe 1c52c579d2 Bug 1595046 - Display thrown object as inspectable elements. r=Honza,perftest-reviewers,davehunt.
This patch use the new `exception` and `hasException` field from nsIScriptError
so we can render the actual object in the message error instead of a stringified
version.
Error object are still displayed using the `customFormat` prop, so we display
only the type + message + stacktrace (but we'll have a way to inspect them
in the sidebar soon).
Existing tests were updated to fix failures, and some tests/test cases were
added to make sure we cover all the different kind of errors we can display
in the console.

Differential Revision: https://phabricator.services.mozilla.com/D71288
2020-05-11 10:38:57 +00:00
Csoregi Natalia 9955440e45 Backed out 3 changesets (bug 1622088) for sanitizer failures on RootingAPI.h. CLOSED TREE
Backed out changeset 43477ef52982 (bug 1622088)
Backed out changeset 35c3d2b322fa (bug 1622088)
Backed out changeset 77f71cbc61ec (bug 1622088)
2020-05-06 01:32:41 +03:00
Mike Conley cef57051cc Bug 1622088 - Part 3: Add startup_about_home_paint_cached Talos test. r=davehunt,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71794
2020-05-05 21:03:52 +00:00
Dão Gottwald fc90cf03c9 Bug 1634861 - Set ui.prefersReducedMotion instead of toolkit.cosmeticAnimations.enabled for tabpaint. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D73541
2020-05-04 20:43:44 +00:00
Sebastian Hengst 3236feed5b Bug 1557982 - Add linebreak at end of about:support dump statement to log error on its own line. r=jmaher,perftest-reviewers,sparky DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D73232
2020-04-30 11:58:17 +00:00
jayati 0881978969 Bug 1620438 - Remove references to extensions.webservice.discoverURL. r=robwu,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D71203
2020-04-27 14:36:04 +00:00
Tooru Fujisawa 2108f90fcf Bug 1623965 - Improve error message when binary not found while testing. r=glandium,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,Bebe,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D67726
2020-04-21 11:58:04 +00:00
Hubert Boma Manilla 2ead8181d2 Bug 1621914 - Remove PRE for rendering large content r=Honza,perftest-reviewers,Bebe
Remove PRE for rendering large content, to take advantage of
virtualization in codemirror.

Differential Revision: https://phabricator.services.mozilla.com/D68729

--HG--
extra : moz-landing-system : lando
2020-04-14 10:37:51 +00:00
Nicolas Chevobbe a56b91bd4e Bug 1628308 - Fix console complicated test for non-nightly builds. r=jdescottes,perftest-reviewers,sparky.
Differential Revision: https://phabricator.services.mozilla.com/D71054

--HG--
extra : moz-landing-system : lando
2020-04-15 21:31:50 +00:00
Nicolas Chevobbe f3d8b676db Bug 1628258 - Reduce logging in reloadConsoleAndLog helper. r=jdescottes,perftest-reviewers,Bebe.
The function now only logs the missing messages after 3s, if no other
DOM updates happened.
This will probably result in having no logs if the test is successful,
while still showing the missing messages if the test is failing.

This also allow us to make the logging more correct: since we were
using an `every` function, we could bail early and not have a correct
view of what messages were missing.

Differential Revision: https://phabricator.services.mozilla.com/D70316

--HG--
extra : moz-landing-system : lando
2020-04-14 10:37:58 +00:00
alexandru.ionescu 346ad6cf40 Bug 1614805 Part 1: catch re.match error r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D70678

--HG--
extra : moz-landing-system : lando
2020-04-13 14:57:03 +00:00
Nicolas Chevobbe 1a4bd13b33 Bug 1627687 - Make console complicated reload test more reliable. r=jdescottes,perftest-reviewers,sparky.
This patch modifies the reloadConsoleAndLog helper so it can
consumes an array of expected messages, and not only a number
of expected messages.
This should prevent the performance variations caused by new
warning messages being added.

Differential Revision: https://phabricator.services.mozilla.com/D69816

--HG--
extra : moz-landing-system : lando
2020-04-07 12:15:59 +00:00
Hubert Boma Manilla 0c81407b4e Bug 1623033 - Added response panel damp tests r=ochameau
- Added test for html preview
	- First pass at damp test for rendering response sidepanel

Differential Revision: https://phabricator.services.mozilla.com/D67831

--HG--
extra : moz-landing-system : lando
2020-04-07 10:23:34 +00:00
Brian Grinstead 30b9da5519 Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky
This was generated with

```
cp .gitignore .rgignore
rg -l -g '*.{html,xhtml}' 'href="chrome://global/skin/"' | xargs sed -i "" 's/href\="chrome:\/\/global\/skin\/"/href\="chrome:\/\/global\/skin\/global.css"/g'
```

Differential Revision: https://phabricator.services.mozilla.com/D67687

--HG--
extra : moz-landing-system : lando
2020-04-03 22:23:23 +00:00
Geoff Brown d0dc11cfdb Bug 1625888 - In Talos, check_for_crashes even when exception raised after browser run; r=perftest-reviewers,AlexandruIonescu
In some cases, a browser crash may subsequently cause an exception in the harness before
check_for_crashes is called, effectively bypassing crash reporting. This patch catches
the exception to ensure that check_for_crashes is called regardless of such exceptions.
It also fixes the check for non-unicode file names and adds more diagnostic logging.

Differential Revision: https://phabricator.services.mozilla.com/D68901

--HG--
extra : moz-landing-system : lando
2020-04-03 13:09:05 +00:00
Mike Conley c27226641f Bug 1545438 - Enable the blocklist for startup Talos tests. r=rwood,perftest-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D54033

--HG--
extra : moz-landing-system : lando
2020-03-13 21:29:38 +00:00
Gijs Kruitbosch 3e20ed0bd0 Bug 1623917 - actually call kill_and_get_minidump if talos shutdown times out, r=whimboo,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D67638

--HG--
extra : moz-landing-system : lando
2020-03-20 19:23:53 +00:00
Gijs Kruitbosch e82bacbf03 Bug 1622257 - improve handling of crashes and shutdown hangs on talos runs, especially on Windows, r=perftest-reviewers,whimboo,gbrown
This ensures that we shut down the "real" Firefox, rather than the launcher process,
when forcing process termination. It also ensures that, even when shutdown times out,
we use mozcrash so we get minidump information.

Differential Revision: https://phabricator.services.mozilla.com/D66784

--HG--
extra : moz-landing-system : lando
2020-03-17 16:06:49 +00:00
Gijs Kruitbosch 4e44d3ac2d Bug 1622257 - shutdown hangs should fail the talos job, r=perftest-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D66783

--HG--
extra : moz-landing-system : lando
2020-03-17 16:20:33 +00:00
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Mike Conley 8ba260392e Bug 1619992 - Split AboutNewTabService into AboutNewTabParentService and AboutNewTabChildService. r=perftest-reviewers,Mardak,sparky
This patch does the following:
* Moves most logic for initiating about:home / about:newtab into AboutNewTab.jsm
* Makes AboutNewTab the API surface for overriding the default about:newtab URLs.
* Reduces the surface of nsIAboutNewTabService, and makes the properties read-only
* Splits the remaining code in the nsIAboutNewTabService into an implementation for
  the parent process, and one for content processes.

This split will hopefully help reduce confusion about which code in
AboutNewTabService is running in which process.

Differential Revision: https://phabricator.services.mozilla.com/D65569

--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTabService.js => browser/components/newtab/test/xpcshell/test_AboutNewTab.js
extra : moz-landing-system : lando
2020-03-11 03:10:29 +00:00
Dorel Luca 6c6fc9f3dc Backed out changeset 9160f18bc24e (bug 1619992) for XPCshell failures in newtab/test/xpcshell/test_AboutNewTab.js
--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTab.js => browser/components/newtab/test/xpcshell/test_AboutNewTabService.js
2020-03-11 04:20:31 +02:00
Mike Conley 4cb59612e3 Bug 1619992 - Split AboutNewTabService into AboutNewTabParentService and AboutNewTabChildService. r=perftest-reviewers,Mardak,sparky
This patch does the following:
* Moves most logic for initiating about:home / about:newtab into AboutNewTab.jsm
* Makes AboutNewTab the API surface for overriding the default about:newtab URLs.
* Reduces the surface of nsIAboutNewTabService, and makes the properties read-only
* Splits the remaining code in the nsIAboutNewTabService into an implementation for
  the parent process, and one for content processes.

This split will hopefully help reduce confusion about which code in
AboutNewTabService is running in which process.

Differential Revision: https://phabricator.services.mozilla.com/D65569

--HG--
rename : browser/components/newtab/test/xpcshell/test_AboutNewTabService.js => browser/components/newtab/test/xpcshell/test_AboutNewTab.js
extra : moz-landing-system : lando
2020-03-11 01:25:31 +00:00
Gijs Kruitbosch f1a04bd343 Bug 1618188 - remove XML backend for plugin and add-on blocklisting, r=mconley,perftest-reviewers,whimboo
This removes the obsolete backend. Notes on some of the less obvious changes
made as part of this patch:

- some of the gFoo style getters in Blocklist.jsm were only used by the XML
  version of the blocklist; I've removed them and tried to remove spurious
  settings of those properties in the remaining tests.
- some utility methods (e.g. distribution information getters) were also only
  used for the XML version (for the update URL).
- it's no longer necessary to test switching implementations.
- in browser/base/content/test/plugins/, we ran some tests from two manifests
  in order to run them with both blocklist backends. The simplest way of
  reducing this back down to one was to remove the remote-settings one. If I'd
  been more future-oriented when I created the duplication, perhaps I would
  have moved the XML version out into a different manifest instead, but I
  didn't, so now it looks like we're removing the modern one, whereas really
  we're going to be running the modern one as part of the "normal" tests and
  we're no longer running the "old" tests.
- removed all mentions I could see of extensions.blocklist.url which is no
  longer used for anything.
- per https://bugzilla.mozilla.org/show_bug.cgi?id=1016555#c23, updated
  references for the OneCRL timing and how it relates to blocklist updates.

Differential Revision: https://phabricator.services.mozilla.com/D64933

--HG--
extra : moz-landing-system : lando
2020-03-09 12:02:17 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Nicolas Chevobbe e807982a9c Bug 1609942 - Display autocomplete popup at the top of the input. r=jdescottes,Honza,perftest-reviewers,whimboo.
This prevents the popup to cover the eager evaluation result.
In order for the popup to be able to appear outside of the
toolbox, we pass the useXulWrapper option to the HTMLTooltip.

Differential Revision: https://phabricator.services.mozilla.com/D62431

--HG--
extra : moz-landing-system : lando
2020-03-06 13:18:34 +00:00