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

1730 Коммитов

Автор SHA1 Сообщение Дата
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
aarushivij 58b3a02016 Bug 1631439 - Rewrite callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...) r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D71579
2020-04-20 15:42:03 +00:00
Geoff Brown e245496607 Bug 1612345 - Ensure that most custom retriggers repeat the original task by default; r=bc
Various updates to the custom retrigger action so that, without any custom changes to
parameters, the retriggered task runs with the same parameters as the original task.
Several issues were found and corrected, notably:
 - parameters like --allow-software-gl-layers were ignored
 - MOZHARNESS_TEST_PATHS was ignored
 - many parameter customizations in the desktop mozharness configs were ignored
 - mochitest suite/subsuite/flavor selection was not always correct
 - using repeat=1 by default meant that each test ran twice

Differential Revision: https://phabricator.services.mozilla.com/D70457
2020-04-17 22:11:02 +00:00
Kartikaya Gupta 6066dbc1b7 Bug 1625250 - Set a couple of env vars to help debug MIT-SHM error. r=jgraham
This sets the env vars when running with WR enabled in reftests or WPT,
which is where the errors seem to be manifesting.

Differential Revision: https://phabricator.services.mozilla.com/D71375
2020-04-17 18:59:14 +00:00
Andrea Marchesini 13481ea877 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-11 13:42:12 +00:00
Razvan Maries b74e338c98 Backed out 6 changesets (bug 1363541) for perma failures. CLOSED TREE
Backed out changeset a775f6e9eb41 (bug 1363541)
Backed out changeset 9212bfd89eca (bug 1363541)
Backed out changeset bf41b0c139f6 (bug 1363541)
Backed out changeset aa7c6668b249 (bug 1363541)
Backed out changeset 9f413a8a47bb (bug 1363541)
Backed out changeset 827a9a2866bd (bug 1363541)

--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 11:31:20 +03:00
Andrea Marchesini b523b552a4 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 22:08:02 +00:00
Coroiu Cristina d37de5ed78 Backed out 6 changesets (bug 1363541) for browser-chrome failures at browser/base/content/test/performance/browser_startup_mainthreadio.js on a CLOSED TREE
Backed out changeset 947073be919f (bug 1363541)
Backed out changeset 1f397b686c11 (bug 1363541)
Backed out changeset d2ba944a47a3 (bug 1363541)
Backed out changeset 80d4d1f0c921 (bug 1363541)
Backed out changeset 9d6b9052f413 (bug 1363541)
Backed out changeset aeaa10789071 (bug 1363541)

--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 01:00:15 +03:00
Andrea Marchesini 8764c55c53 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 13:27:35 +00:00
Ting-Yu Lin 014e9adb5c Bug 1627398 Part 3 - Add a menu item in layout debugger to dump frames in CSS pixels. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D69916

--HG--
extra : moz-landing-system : lando
2020-04-08 00:29:36 +00:00
Bob Clary 9bcd644524 Bug 1611473 - fix desktop mach jstestbrowser by updating paths to test manifest and user.js after Bug 1596567, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D69312

--HG--
extra : moz-landing-system : lando
2020-04-02 19:13:47 +00:00
Andrea Marchesini 9bea58365a Bug 1624146 - Cookie code refactoring - part 10 - CookieService under mozilla::net, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D67759

--HG--
rename : netwerk/cookie/nsCookieService.cpp => netwerk/cookie/CookieService.cpp
rename : netwerk/cookie/nsCookieService.h => netwerk/cookie/CookieService.h
extra : moz-landing-system : lando
2020-04-06 12:26:14 +00:00
Andrea Marchesini 42df52a06f Bug 1624146 - Cookie code refactoring - part 3 - CookiePermission, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D67752

--HG--
rename : netwerk/cookie/nsCookiePermission.cpp => netwerk/cookie/CookiePermission.cpp
rename : netwerk/cookie/nsCookiePermission.h => netwerk/cookie/CookiePermission.h
extra : moz-landing-system : lando
2020-04-06 12:22:57 +00:00
Geoff Brown d46135408b Bug 1598746 - Adjust some mochitest and reftest SCHEDULES.exclusive entries; r=ahal
Use finer granularity for some reftest/mochitest SCHEDULES.exclusive entries,
so that reftest-plain does not run when only crashtests are modified, and
vice versa; similarly, break up mochitest into mochitest/browser-chrome/chrome/
a11y. Use schedules-component instead of category.

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

--HG--
extra : moz-landing-system : lando
2020-03-24 14:55:28 +00:00
Geoff Brown 534483c227 Bug 1177545 - Remove automation.py.in entirely; r=egao,bc
Remove the remainder of automation.py.in and the build support for generating
automation.py.
Some of this functionality was in use, especially for android tests.
Some code was moved or re-implemented in remoteautomation.py or in the affected
harness(es). Some features were removed: There are some minor changes in behavior.
For instance, instead of using a different server startup timeout for debug builds,
one value is used for all builds (due to performance improvements over time,
the longer timeout is no longer needed).

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

--HG--
extra : moz-landing-system : lando
2020-03-17 19:06:34 +00:00
Simon Giesecke 8aa47bcfb7 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D66016

--HG--
extra : moz-landing-system : lando
2020-03-17 09:38:32 +00:00
Nicholas Nethercote ee6065433a Bug 1622712 - Fix incorrect path to `crashreporter-symbols` in `mach reftest`. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D66919

--HG--
extra : moz-landing-system : lando
2020-03-16 22:57:40 +00:00
Emilio Cobos Álvarez 14521d064e Bug 1622093 - Fix print reftests. r=dholbert
These have been broken for a while, because we don't run them on automation...

The way we import PDFJS in reftest.jsm was broken. And PDFJS updates caused
breakage.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 04:35:14 +00:00
Brendan Dahl a1088aa304 Bug 1566930 - Default to auto install on the various android mach commands. r=gbrown,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D64230

--HG--
extra : moz-landing-system : lando
2020-03-13 20:48:52 +00:00
Geoff Brown 313e12e535 Bug 1177545 - Cleanup automation.py.in; r=egao
Remove unused code from automation.py.in, move some android-specific code from
automation.py.in to remoteautomation.py, and eliminate some other easily-replaced
code. In the long term we want to eliminate automation.py.in completely; I may
attempt that once these changes have landed.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 21:42:26 +00:00
Mike Shal d6e9df170e Bug 1620744 - Convert test_archive action to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65858

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:49 +00:00
Daniel Varga 09acd57d19 Backed out 13 changesets (bug 1620744) for causing diffoscope failures firefox/browser/chrome/browser/content/browser/built_in_addons.json
CLOSED TREE

Backed out changeset 6beda54bcb9b (bug 1620744)
Backed out changeset a1e97f0b91ef (bug 1620744)
Backed out changeset b8faa0184d4f (bug 1620744)
Backed out changeset 3bc8fda68107 (bug 1620744)
Backed out changeset 8e95b21b2ae3 (bug 1620744)
Backed out changeset 1de09de1a802 (bug 1620744)
Backed out changeset 622a2f7414fa (bug 1620744)
Backed out changeset 3372c9ab721c (bug 1620744)
Backed out changeset 0997313a9f99 (bug 1620744)
Backed out changeset 2fa34749bbfa (bug 1620744)
Backed out changeset 6d597d2eb792 (bug 1620744)
Backed out changeset 78e78f7c7b26 (bug 1620744)
Backed out changeset 6e4d85b19f88 (bug 1620744)
2020-03-10 21:13:18 +02:00
Mike Shal d181929c22 Bug 1620744 - Convert test_archive action to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65858

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:50 +00:00
Andrew Halberstadt a9dd0b2e3e Bug 1325207 - [reftest] Stop treating 'skip/skip-if' as a failure type in the manifests r=kats
Currently the RefTest manifest parser has 5 possible statuses:

0 => EXPECTED_PASS
1 => EXPECTED_FAIL
2 => EXPECTED_RANDOM
3 => EXPECTED_DEATH   (aka skip)
4 => EXPECTED_FUZZY

In the manifests, the last status annotation that appears on the line will take
precedence. For example:

    skip-if(true) fails-if(true) == test1.html ref.html
    fails-if(true) skip-if(true) == test2.html ref.html

The first test will have an expected status equal to EXPECTED_FAIL, whereas the
second one will be EXPECTED_DEATH. The same holds true for any combination of
'fail/random/skip/fuzzy' annotations. This means developers need to be very
careful about the order they specify these annotations as getting the order
wrong can easily lead to unexpected behaviour.

With the introduction of defaults in bug 1616368, the risk of unexpected behaviour
is far greater. Since defaults are simply prepended to the test line, a manifest
that looks like:

    defaults skip-if(true)
    == test1.html ref.html
    fails-if(true) == test2.html ref.html

will actually skip the first test, but run the second (since the fails-if
overwrites EXPECTED_DEATH with EXPECTED_FAIL).

The root of the problem appears to be that 'skip' and 'fuzzy' are not actually
test statuses. They are modifiers that affect how we run the test, but don't
actually affect whether the test is expected to pass or fail.

Therefore, this patch solves the problem by making 'skip/skip-if' its own thing
that does not get overwritten by other failure types. In otherwords, a 'skip-if'
can appear before or after a 'fails-if' and it will have the same meaning.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 15:20:11 +00:00
Timothy Nikkel 5c0874aab0 Bug 1615505. Forward MozAfterPaint events from child processes to the reftest harness. r=kmag,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D62859

--HG--
extra : moz-landing-system : lando
2020-02-28 12:06:27 +00:00
Timothy Nikkel a27d8f7082 Bug 1615504. Fix remaining uses of concat with no side effects in reftest code. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D63703

--HG--
extra : moz-landing-system : lando
2020-02-28 02:37:42 +00:00
Timothy Nikkel df2a059fdd Bug 1615504. Ensure that the visible rect is up to date when we paint in child processes in the reftest harness. r=mattwoodrow,kmag
The code comment should explain it.

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

--HG--
extra : moz-landing-system : lando
2020-02-28 02:37:39 +00:00
Timothy Nikkel be692d349d Bug 1615504. Make handling of UpdateLayerTree msg in ReftestFissionChild more like other msgs. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D62857

--HG--
extra : moz-landing-system : lando
2020-02-28 02:37:37 +00:00
Geoff Brown 5fc9f15115 Bug 1614640 - Improve reftest suite_start data to provide consistent group/manifest names even when not run-by-manifest; r=ahal
Reftest-family test suites can be "run-by-manifest" (reftest-plain, on desktop), or not
(all reftest-family suites on Android, crashtest and jsreftest on desktop). When not
run-by-manifest, code in reftest.jsm is used to format the suite_start data; when
run-by-manifest, code in runreftest.py is used. Currently, the reftest.jsm implementation
submits a simple array of test IDs -- no associated manifests -- possibly consistent with
the concept that tests are not being run/grouped by manifest.

This patch updates the reftest.jsm implementation to generate the same format of
suite_start data as the python implementation: An array of dictionaries mapping
manifest IDs to arrays of associated test IDs.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 22:34:44 +00:00
Geoff Brown 4f620e31e9 Bug 1617637 - Use string rather than tuple for reftest test ids in suite_start; r=ahal
reftest-plain test identifiers may be tuples like ['this', '==', 'that'], which are
undesirable to ActiveData. This patch converts such identifiers to simple strings,
'this == that' in the suite_start message (string format is already used in other
messages, like test_start).

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

--HG--
extra : moz-landing-system : lando
2020-02-26 15:45:33 +00:00
Andrew Halberstadt 029550abce Bug 1616879 - [reftest] Add some selftests for invalid manifests, r=dbaron
Adds some tests to cover error cases in reftest manifests. This is far from
comprehensive, but gives us an easy place to add more in the future.

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

--HG--
rename : layout/tools/reftest/selftest/files/defaults-invalid.list => layout/tools/reftest/selftest/files/invalid-defaults.list
extra : moz-landing-system : lando
2020-02-26 14:15:14 +00:00
Andrew Halberstadt 4ebb46cb17 Bug 1616879 - [reftest] Exit gracefully when there is an error parsing the manifests, r=dbaron
Currently a parsing error causes reftest.jsm to hang, leaving the browser open.
Once the browser is manually closed, the Python side then emits an unrelated
traceback (since it assumes that parsing was succesful).

This ensures we both quit Firefox and check that parsing was successful (and
exit gracefully if not).

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

--HG--
extra : moz-landing-system : lando
2020-02-26 14:25:46 +00:00
Kris Maglione f3354d4788 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 22:33:53 +00:00
Arthur Iakab 73b6d9dca6 Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione c65ef42473 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 21:03:58 +00:00
Noemi Erli 6b488deed0 Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione e4c4115afb Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 19:39:25 +00:00
Andrew Halberstadt 4d752c4ca7 Bug 1616368 - [reftest] Replace 'default-preferences' with 'defaults' r=dbaron
With the new 'defaults' key being added, 'default-preferences' is now
redundant. This commit converts all existing uses of 'default-preferences' to
use 'defaults' instead.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 18:47:54 +00:00
Andrew Halberstadt e08b5215e1 Bug 1616368 - [reftest] Implement ability to set manifest-level defaults r=dbaron
This introduces a new 'defaults' key to reftest manifests. It works similarly
to the existing 'default-preferences' key except it can be used for any test
modifier (e.g, skip-if, fail-if, pref, etc.).

See the changes to README.txt in this commit for an explanation on how to use
it.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 16:04:18 +00:00
James Graham af91d7e7ce Bug 1614904 - Add difference summary to reftest analyzer, r=dbaron
Add text with the total number of pixels that differ and the maximum
difference per channel, since this is useful when generating fuzzy
annotations for e.g. antialiasing differences.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 19:19:32 +00:00
Emilio Cobos Álvarez 544c0e8d19 Bug 1615832 - Add a missing file for the test for this bug... d'oh.
Differential Revision: https://phabricator.services.mozilla.com/D63004

--HG--
extra : moz-landing-system : lando
2020-02-15 21:42:45 +00:00
Emilio Cobos Álvarez cae4218c68 Bug 1615832 - Fix diagnostics for error paths in sync loads.
This can happen with invalid @import rules in userContent / userChrome.css

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

--HG--
extra : moz-landing-system : lando
2020-02-15 21:27:06 +00:00
Timothy Nikkel f77460a8fd Bug 1614554. A few reftest cleanups from initial reftest fission landing. r=mattwoodrow
Braces on switch statement cases so scopes are limited.

A missing semicolon.

A mixup with infoStrings/errorStrings return value for UpdateLayerTree message.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 00:49:02 +00:00
Stephen A Pohl ba4b5f43bc Bug 1381938: Add native theme for Windows that avoids native system calls. r=mstange,dbaron
Differential Revision: https://phabricator.services.mozilla.com/D33310

--HG--
extra : moz-landing-system : lando
2020-02-10 19:26:01 +00:00
Geoff Brown 12a26f2d5a Bug 1613929 - Normalize reftest manifest identifiers; r=jmaher
Use the manifest ID rather than the manifest path in the reftest suite_start message.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 14:42:09 +00:00
Geoff Brown 020306b029 Bug 1613792 - Avoid failure in Android 'mach crashtest'; r=bc
Both _setup_objdir() and run_android_test() have code to set the
default test path, and _setup_objdir()'s crashtest path is wrong;
let's rely on the correct code in run_android_test() instead.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 15:55:41 +00:00
Brian Grinstead 3d2d2d0ea7 Bug 1608281 - Automated rewrite away from reading properties on the global `this` in JSM files - round 1 r=mossop
This patch was generated with a script. It doesn't include all files:

- Files that use the preprocessor or fail to parse are skipped
- Files that are loaded as JSMs but don't use the .jsm extension are skipped (those will be renamed in Bug 1609269)

It was generated with the following command using d855222aa2/no-this-property-read.js:

```
hg revert --all &&
cp .gitignore .rgignore &&
rg --files-without-match -g '*.jsm' '^#endif|^#include|^#filter' | jscodeshift --stdin --transform ~/Code/jsm-rewrites/no-this-property-read.js --ignore-pattern ./mobile/android/modules/Sanitizer.jsm --ignore-pattern ./js/xpconnect/tests/unit/syntax_error.jsm &&
./mach eslint `hg st | rg '^M ' | sed 's/^M //'`
```

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

--HG--
extra : moz-landing-system : lando
2020-01-29 21:50:04 +00:00
Kris Maglione ab5a99dd15 Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-21 21:32:28 +00:00
Mihai Alexandru Michis 745c94b1df Backed out changeset 006f4e50e8e5 (bug 1602898) for causing multiple failures.
CLOSED TREE
2020-01-21 22:55:37 +02:00
Kris Maglione aa0306477e Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-21 18:48:26 +00:00