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

23364 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione cfd00caeef Bug 1461145: Follow-up: Fix more racy tests. r=bustage,test-only
MozReview-Commit-ID: 9740WVNkuhX
2018-05-26 16:51:40 -07:00
Andreea Pavel 5bd314e326 Backed out changeset 0d2aecae5a71 (bug 1462836) for failing web platform tests on a CLOSED TREE 2018-05-26 16:22:52 +03:00
Natalia Csoregi 211628f22d Bug 1462836 - Disabled redirect-count.any.js test on Linux. r=jmaher 2018-05-25 09:39:00 +03:00
Dorel Luca 047df7a932 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-26 07:09:39 +03:00
Eric Rahm 615cc19d67 Bug 1463296 - Handle if size is found but has no output. r=me CLOSED TREE
--HG--
extra : histedit_source : 36f94caad4c6ff419aa94c048dc012d08a41a863
2018-05-25 15:56:32 -07:00
Gregory Mierzwinski 6e9713d33a Bug 1462434 - Prevent baseline coverage tests from being skipped. r=jmaher
This patch prevents baseline coverage tests from being skipped when too many tests are being run.

MozReview-Commit-ID: JVTOYZAXbwf

--HG--
extra : rebase_source : dedd6a323445f030b60180805c6c6adf5d10771b
2018-05-23 12:41:52 -04:00
Eric Rahm 299ee7b991 Bug 1463296 - Track section sizes in build metrics. r=jmaher, froydnj
This adds section size metrics in order to track finer grained improvements
and regressions in binary size. Currently it implements tracking of:
  - XUL
  - NSS
  - NSPR
  - mozavcodec
  - mozavutil

The sections tracked are limited in order to avoid too much noise:
  - .text
  - .data
  - .rodata
  - .data.rel.ro
  - .bss

Currently this is limited to measure Linux and Android builds, but can be
easily extended to support other platforms once we have a `size`-like tool
available.

--HG--
extra : rebase_source : 494922e60c1ea47392e3121425d7aacef6c3003a
2018-05-21 17:11:30 -07:00
Ryan Hunt e1ae204a81 Bug 1462449 - Dump snapshot of about:support in talos. r=jmaher
--HG--
extra : rebase_source : 497726bef6787bdd4c8f889d2e07442930f1b1a4
2018-05-18 12:43:38 -05:00
Ryan Hunt b00603123d Bug 1426499 - Add an error message for unzipping tp5n on windows. r=erahm
--HG--
extra : rebase_source : e6999c6a418acc3ff616d4e79977d08fb0e49187
2018-05-16 13:55:37 -05:00
Ryan Hunt 4846d7b517 Bug 1426499 - Disable windows content process sandbox when using DMD with AWSY. r=erahm
--HG--
extra : rebase_source : 9af460b07207c8bd2b0187b41ba65fe00c03871a
2018-05-17 13:46:29 -05:00
James Graham 4fb2322229 Bug 1463801 - Fixup wpt metadata, a=testonly ON A CLOSED TREE
MozReview-Commit-ID: 1MtKJOELAJo
2018-05-25 20:30:52 +01:00
Chris AtLee 6ced44821e Bug 1237182: Fix python unitests r=bustage on a CLOSED TREE
--HG--
extra : rebase_source : 1e118ab5aed8251dfff28f6c3c4f885e1de24a04
extra : histedit_source : 635a7aa2a4fb47ff1b3b28f0ce099948d6f1101a
2018-05-25 13:42:58 -04:00
Henrik Skupin b3ecd158be Bug 1463739 - [marionette] Use closeChromeWindow() to close reftest window. r=ato
The reftest window gets opened with chrome flags, and as such has
to be closed by using "closeChromeWindow()" instead of "close()".

MozReview-Commit-ID: KiSxnrmMqmk

--HG--
extra : rebase_source : 92c15e90d863ef5a765fddf2f1887dddf915550c
2018-05-24 11:05:53 +02:00
Henrik Skupin 1651ca60c9 Bug 1463739 - [marionette] Move check for loaded state of reftest window to base reftest code. r=jgraham
While using openDialog() with the extra parameters for passing
in the callback to resolve is fine, it adds extra complexity.
The base reftest code in Marionette itself should better handle
that.

MozReview-Commit-ID: AtOV3LevK1c

--HG--
extra : rebase_source : 2a32617abf2e33d520b37d186285db6d04657965
2018-05-24 10:08:14 +02:00
Andrew Halberstadt 851c87fc61 Bug 1445975 - Add a basic mach command for running jsshell benchmarks, r=jmaher
Run with:
./mach jsshell-bench ares6

This requires a non-artifact build with ac_add_options --enable-js-shell. Otherwise,
a custom JS shell can be specified with --binary.

MozReview-Commit-ID: C8WAxG9pIkk

--HG--
extra : rebase_source : 99163261b771bfb2f903892f4c1260c8b241ce71
2018-05-15 14:41:16 -04:00
Jared Wein e76681c5a2 Bug 1464102 - Add support for todo_is within ContentTask. r=Gijs
MozReview-Commit-ID: 9GUJIMpylBb

--HG--
extra : rebase_source : d0cecc5abad7168d4749fe6c6b547a19faca9e52
2018-05-24 12:06:36 -04:00
Jared Wein e04caaa29a Bug 1464102 - Add message listener for content-task:test-todo so todo from within ContentTask will work. r=Gijs
MozReview-Commit-ID: EuWX8eMl8hY

--HG--
extra : rebase_source : 2d12cc6a91b18c327622f03508e760d1903bd9ef
2018-05-24 12:00:09 -04:00
Coroiu Cristina 0ad8e6325d Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-05-25 20:57:32 +03:00
Emilio Cobos Álvarez 2cf03f5d2f Bug 1464392: De-race sizes-dynamic-001.html. r=dholbert
There's no guarantee the image will be resized before the harness takes the
screenshot.

Indeed, the image is guaranteed to have the old width / offsetWidth if we were
to query it from frameLoaded. We do need to wait for the image load task to run.

This makes the test reliable in both Blink and Gecko at least, afaict.

MozReview-Commit-ID: 7EDC7jlUScc

--HG--
extra : amend_source : a24f6b687b22c6a6a818c4ac160db0c6dbf25f3c
2018-05-25 15:14:24 +02:00
James Graham 0ebb40fcee Bug 1265584 - Update wpt metadata, r=maja_zf
MozReview-Commit-ID: F0KYHBJ8nIh
2018-05-25 11:58:20 +01:00
James Graham 1a3bcbfdd3 Bug 1265584 - Add a test for wpttest metadata, r=maja_zf
MozReview-Commit-ID: Jme9GND8ihS
2018-05-25 11:58:18 +01:00
James Graham 42f8d7d1ff Bug 1265584 - Output asserts to wptreport.json, r=maja_zf
In the future we want to update metadata using the wptreport.json data, since
that's much much smaller and easier to parse. In addition, this is
required to determine if a test fully passed, so it makes sense to
store it here.

MozReview-Commit-ID: ErYT33BhqGg
2018-05-25 11:58:16 +01:00
James Graham 1cabd2b4ba Bug 1265584 - Use ujson where possible for faster metadata update, r=maja_zf
Profiling shows that switching to this library means we no longer
spend most of the update time parsing json (vs 80% or so before),
making other optimisations worthwhile. This is never used in
automation (except wptsync) so availability of the library in the
internal pypi isn't a problem.

MozReview-Commit-ID: U5gabb5lz8
2018-05-25 11:58:13 +01:00
James Graham 1b363212b2 Bug 1265584 - Support updating asserts with wpt-update, r=maja_zf
With support for asserts, it's also necessary to be able to update the
expected number of asserts automatically using
wpt-update. Unfortunately asserts don't work quite like test statuses,
so this involves a reasonable amount of refactoring.

For asserts the desired behaviour is that the max asserts is either
one plus the highest recorded number of asserts, or the current
value, whichever is higher, and for the minimm asserts, it's the
minumum of the current value and one lower than the lowest recorded
value (clamped at zero). Instead of creating per-platform
expectations, the code only updates the defaults (or any existing
conditional that happens to match). It's not clear that we have enough
information to meaningfully make per-platform expectations, and we
want to reduce the risk of intermittents.

MozReview-Commit-ID: HuTpbAZYGzo
2018-05-25 11:58:11 +01:00
James Graham 0a07a439cb Bug 1265584 - Reverse the order of metadata iteration, r=maja_zf
wptrunner previously iterated over properties from least significant
to most significant. However this was broken since it caused
per-directory properties to override per-test properties, which wasn't
expected. Therefore we reverse the order of iteration from most
significant to least.

MozReview-Commit-ID: 5Rh6EGNtnUS
2018-05-25 11:58:09 +01:00
James Graham 59093647f3 Bug 1265584 - Add support for recording asserts in wptrunner, r=ato, maja_zf
Gecko has an API for producing a non-fatal "assert". For quality
control, it should be possible to annotate the range of possible
numbers of these asserts produced during a test execution, and fail if
the actual number of asserts falls outside this range.

This patch adds assert checking by default in debug builds. It adds
two metadata properties; max-asserts and min-asserts for specifying
the range of possible asserts produced in a test.

MozReview-Commit-ID: BFiIfYKuB9L
2018-05-25 11:58:07 +01:00
James Graham 9087c92706 Bug 1265584 - Make base_executor_kwargs arguments match executor_kwargs, r=ato
MozReview-Commit-ID: IS7KwuRjmc6
2018-05-25 11:58:05 +01:00
James Graham fd46bd3d60 Bug 1265584 - Move wptrunner marionette usage onto a single thread, r=ato
Running marionette on a background thread is problematic in the case
that a test times out. In this case the background thread is not
terminated. If we then call into marionette again on the main thread
we may race with something that happens on the runner thread. The
marionette client isn't threadsafe, so this leads to buggy behaviour.

The simplest fx for the problem is just to move all the marionette
calls onto the main thread and instead of waiting on the main thread,
spin up a thread with a timer.

MozReview-Commit-ID: 3vVlMcwPHSx
2018-05-25 11:58:02 +01:00
James Graham bf28f809d2 Bug 1265584 - Fix logging of unexpected assertions with mach formatter, r=ahal
MozReview-Commit-ID: Dk1ahUYyYIm
2018-05-25 11:58:00 +01:00
Dorel Luca d54a3b06aa Backed out changeset da12c077747f (bug 1448040) for Android build bustage on build/src/obj-firefox/dist/include/mozilla/HangAnnotations.h. CLOSED TREE
--HG--
extra : amend_source : 683201b5a47af3cb7fdcb7426c65f1c9ed713186
2018-05-25 20:13:26 +03:00
Doug Thayer 9765bdd0e0 Bug 1448040 - Remove HangMonitor/ChromeHangs r=Nika
Fairly straightforward, just a blanket removal. Haven't heard
anything on dev-platform or fx-data-dev regarding this removal,
so I think it's likely safe to remove on Nightly, and we can
revert if anyone makes a fuss.

As part of removing the HangMonitor, I renamed a few things and
reorganized the namespaces to not depend on a HangMonitor
namespace. Hopefully this doesn't produce too much noise in the
diff, it just seemed appropriate to move everything around
rather than keep dangling vestiges of the old system.

MozReview-Commit-ID: 8C8NFnOP5GU

--HG--
extra : rebase_source : a8840bd26f4b01b756ffa72345ababb625048550
2018-04-29 18:21:20 -07:00
Rob Wood 7844966513 Bug 1450069 - Have the raptor control server shutdown the browser; r=ahal
Having the control server shutdown the browser via the browser pid is a better (and cross-browser) solution.

MozReview-Commit-ID: 19Gwg5TwIIy

--HG--
extra : rebase_source : d1321889d784e526d2f5ec8a593000d97b7f0927
2018-05-23 18:45:51 -04:00
Bogdan Tara 597ad02dc7 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032.html
2018-05-25 13:01:23 +03:00
Brad Werth 39c314e889 Bug 1463794: Move new WPT reftests to correct source-of-truth directory. r=dbaron+3881
MozReview-Commit-ID: DcM0kVCAsZn

--HG--
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032.html
extra : rebase_source : add4f42d16a770eac4915b26fb4a7fffd5ac6ac4
2018-05-23 12:53:34 -07:00
Narcis Beleuzu 8bfcff6f8c Backed out 3 changesets (bug 1186265) for devtools chrome failures on browser_webconsole_visibility_messages.js. CLOSED TREE
Backed out changeset 4a9965aeeef3 (bug 1186265)
Backed out changeset 55bd80764231 (bug 1186265)
Backed out changeset 00fefd3eb634 (bug 1186265)
2018-05-25 05:36:52 +03:00
Noemi Erli 6425126b27 Bug 1461972 - Removed OSX references. r=jmaher 2018-05-24 03:43:00 +03:00
Andreea Pavel 9ef2973212 Bug 1461968 - Removed OSX references. r=jmaher 2018-05-23 14:35:00 +03:00
Brindusan Cristian 830478fd5f Merge inbound to mozilla-central. a=merge 2018-05-25 03:04:03 +03:00
J. Ryan Stinnett e2c2e9c3e4 Bug 1463924 - Remove Dev. Edition promo doorhanger. r=nchevobbe
MozReview-Commit-ID: LIg6o35CvD2

--HG--
extra : rebase_source : 0eda7252ad7962b5038b3d7df3c8fc2eee9db511
2018-05-23 18:30:36 -05:00
Noemi Erli 2be73dec54 Backed out changeset c19f0dedfb15 (bug 1463794) for reftest failures in build/tests/reftest/tests/layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html on a CLOSED TREE
--HG--
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056-ref.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052-ref.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032-ref.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html
rename : layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032.html => testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html
2018-05-24 18:30:36 +03:00
Brindusan Cristian 309ff0bd1f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-25 03:08:34 +03:00
Blake Kaplan 934317efc9 Bug 1186265 - Resurrect DOMQuad.bounds (deprecated) and count its uses. r=bz
I've made the returned object from .bounds not live. If that's not OK, I'll
resurrect DOMBounds (removed in a previous patch). This also forces
DOMQuad.toJSON() to only return the points.

MozReview-Commit-ID: 10TY5oJUmTN

--HG--
extra : rebase_source : ab209d584390c584aa0d0814b4dd2bbf48c6cca3
2018-05-23 16:56:22 -07:00
Brad Werth 5b8c66a63f Bug 1463794: Move new WPT reftests to correct source-of-truth directory. r=dbaron
MozReview-Commit-ID: DcM0kVCAsZn

--HG--
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-circle-056.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-ellipse-052.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-ellipse-052.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032-ref.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032-ref.html
rename : testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-polygon-032.html => layout/reftests/w3c-css/submitted/shapes1/shape-outside-polygon-032.html
extra : rebase_source : 3286d9c09b8394b5a48168ec9c257ef7b7579c38
2018-05-23 12:53:34 -07:00
Rob Wood 4f36739d0a Bug 1462776 - Add subtest support to raptor; r=ahal
Some minor changes to allow running subtests in Raptor. With this patch (and the other commit in this series) you can run raptor tests that have mutliple subtests. For example, you can specify a raptor test INI and every test inside that INI will be run and ultimately reported as subtests. This will allow, for example, the raptor tp6 test to have multiple testpages. Also just one of the subtests itself can be specified to be run instead of the entire INI.

MozReview-Commit-ID: Fto7wNOzRft

--HG--
extra : rebase_source : 37d02fb43354fa0a799c7af9ea41c16670f2244c
2018-05-23 15:14:41 -04:00
Rob Wood c2edc6eaf3 Bug 1462776 - Run single raptor test or multiple subtests based on test name cmd line arg; r=ahal
MozReview-Commit-ID: 3hVDkEgqCD

--HG--
extra : rebase_source : 1a5108ee6e94323b98b8ad484585dad69a473f7c
2018-05-18 15:33:26 -04:00
Henrik Skupin 17b7d41410 Bug 1452653 - [marionette] Fix race condition for closing a browser and chrome window. r=ato
Until now Marionette assumed that the events `TabClose` and `unload`
indicate that a top-level browsing context or chrome window has been
closed. But both events are fired when the browsing context or chrome
window is about to close. As such a race condition can be seen for
slow running builds.

To clearly wait until the top-level browsing context or chrome window
has been closed, the appropriate message manager needs to be observed
for its destroyed state.

MozReview-Commit-ID: DCdaIiULqey

--HG--
extra : rebase_source : f5659c1aa640d5265240bb1c4fe2059fb46d3cac
2018-04-17 10:43:27 +02:00
Henrik Skupin ec48dece89 Bug 1452653 - [wpt-reftests] Restart after audio_has_no_subtitles.html for false positive. r=jgraham
Restart Firefox after audio_has_no_subtitles.html to prevent a false
positive for basic.html due to bug 1463844.

MozReview-Commit-ID: 2aNPb1jk2rK

--HG--
extra : rebase_source : 34edef237c0e650ee47b271e7ece9c44e35f90ac
2018-05-24 15:07:43 +02:00
Henrik Skupin c48ed5d6f4 Bug 1463781 - Fix expectations for testing/web-platform/meta/webvtt/rendering tests on MacOS. r=jgraham
MozReview-Commit-ID: ARjtDY4gAxC

--HG--
extra : rebase_source : fdaa41e8a3d1328dbc443c88f1fcaa4a1ef3f719
2018-05-23 17:57:22 +02:00
Margareta Eliza Balazs 03394c438d Merge inbound to mozilla-central. a=merge 2018-05-24 12:37:58 +03:00
Andreea Pavel 2c92aa2095 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-05-24 01:03:40 +03:00