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

29928 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc 1e962bc8dc Bug 1512075 - Upgrade to latest robustcheckout; r=ted
From changeset d0828787e64fa55b535c7e783bc97612f5c30cff from
version-control-tools repository.

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

--HG--
extra : moz-landing-system : lando
2018-12-04 23:30:29 +00:00
James Graham a26b0b0040 Bug 1352355 - Fix use of wpt settings in firefox Browser, r=ato
The settngs() method is called to get a list of session-level settings
that should be applied when running a test. If those settings differ
from the ones applied to the previous test then we have to restart the
browser. But if we set the session on the class in the settings method
then at shutdown time we'll have incorrect settings. This is important
for things like leak checking where the values affect the shutdown
process. So instead ensure that we only set the settings on the class
during startup.

Depends on D12414

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

--HG--
extra : moz-landing-system : lando
2018-11-30 23:17:47 +00:00
James Graham 86c99d92b5 Bug 1352355 - Add metadata to allow existing leaks, r=mccr8
Depends on D12413

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

--HG--
extra : moz-landing-system : lando
2018-11-30 23:17:45 +00:00
James Graham a4a8fdddac Bug 1352355 - Enable leak checks by default in wpt debug builds, r=ato
MozReview-Commit-ID: 7JqVXVibiwy

Depends on D12412

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

--HG--
extra : moz-landing-system : lando
2018-11-30 23:17:43 +00:00
James Graham 6cfa59fd1a Bug 1352355 - Ensure leaks cause mozharness to fail, r=ahal
Depends on D12411

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

--HG--
extra : moz-landing-system : lando
2018-11-30 23:17:41 +00:00
James Graham 41e09716e0 Bug 1352355 - Enable storing and updating mozleak metadata in wpt ini, r=ato
This adds two new properties to wpt metadata files:

mozleak-allowed - This is a list of the form [process-name:object
name], which indicates objects that may be leaked in that specific
process. Automatic updates that find a leak may add that object to
this list.

mozleak-threshold - This is a list (but conceptually a map) of
[process-name: threshold bytes], indicating a threshold below which
leaks will not cause a test failure. This number is updated by setting
it to the observed value for a process.

MozReview-Commit-ID: KA1oPl837a8

Depends on D12410

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

--HG--
extra : moz-landing-system : lando
2018-11-30 23:17:39 +00:00
James Graham 8518c20ec1 Bug 1352355 - Allow lists as default values in wpt expectation metadata files, r=ato
A bug in the wptmanifest parser meant that we were erroneously parsing
lists in the default-value position for conditionals as strings i.e.

key:
  if cond: [a, b]
  [c]

with cond false was evaluating as the string "[c]" rather than a
one-item list containing "c". To fix this we need to ensure that when
the indent level doesn't decrease we parse the line after a
conditional expression as an expr_or_value rather than as a normal
line (this is because the list syntax is ambiguous with headings, and
we put too much logic into the tokeniser rather than the parser).

Depends on D12409

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

--HG--
extra : moz-landing-system : lando
2018-11-30 23:17:32 +00:00
James Graham 13499e559e Bug 1352355 - Convert mozleak to structured logging, , r=ahal,mccr8
Moves mozleak to use structured logging. The logger gets two new
actions, mozleak_object to indicate the name of an object that leaked
in a specific process and mozleak_total to indicate the total number
of bytes leaked in a process.

The output from the TBPL formatter is
expected to remain near-identical to the previous output from the
logger, so there shouldn't be any effect on the ability to fail jobs
if there are leaks.

Additional features required by web-platform-tests are also added
here; the leak thresholds are passed to the logger for mozleak_total
and a list of any objects allowed to leak are passed for
mozleak_object, so that a log consumer may decide whether a leak is
unexpected. In addition, the scope attribute is used to specify the
set of tests (or other tasks) running at the time of the leak, which
may be used to associate a leak with a specific set of files.

MozReview-Commit-ID: 19FsMxVQExH

Depends on D12408

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

--HG--
extra : moz-landing-system : lando
2018-12-04 22:18:23 +00:00
James Graham a44e6d715d Bug 1511335 - Fix logging setup for ./mach wpt --product, r=ahal
When running non-Firefox products in wpt we go through the run.py
script from upstream. Therefore we need to initialise the logger in
that module as well as the one in wptrunner now that it's been
properly converted to use logging rather than print statements.

In addition, we change the run.py module to allow passing in logging
defaults for the case where nothing is specified on the command line
since the behaviour for wpt upstream is different to the behaviour for
gecko.

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

--HG--
extra : moz-landing-system : lando
2018-12-04 21:53:27 +00:00
Henrik Skupin fb4e180e6c Bug 1504756 - [marionette] Added opening a new browsing context to Marionette client. r=ato
The patch updates the Marionette client and all Marionette unit
tests to make use of the new `Create Window` command as much as
possible.

Depends on D13663

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

--HG--
extra : moz-landing-system : lando
2018-12-04 22:00:19 +00:00
Henrik Skupin 1a084b6641 Bug 1504756 - [marionette] Added "WebDriver:NewWindow" command to open a new top-level browsing context. r=ato
The patch adds the end-point for the recently defined `Create window`
command (https://github.com/w3c/webdriver/issues/1138). It allows
to open a new top-level browsing context as tab or as window.

Depends on D13662

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

--HG--
extra : moz-landing-system : lando
2018-12-04 21:59:43 +00:00
Henrik Skupin 6cd30adf3d Bug 1504756 - [marionette] Use waitForObserverTopic when waiting for observer notifications. r=ato
Depends on D13661

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

--HG--
extra : moz-landing-system : lando
2018-12-04 21:59:39 +00:00
Henrik Skupin 614fbd008f Bug 1504756 - [marionette] Use waitForMessage() to wait for an expected message manager message. r=ato
Depends on D13660

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

--HG--
extra : moz-landing-system : lando
2018-12-04 21:59:37 +00:00
Henrik Skupin cbb83ceeeb Bug 1504756 - [marionette] Use waitForEvent() when waiting for events. r=ato
Depends on D13659

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

--HG--
extra : moz-landing-system : lando
2018-12-04 21:57:51 +00:00
Henrik Skupin 23bbc3c83d Bug 1504756 - [marionette] Add executeSoon() to run tasks on the main thread. r=ato
To be closer to other test harnesses which are using executeSoon()
to run a task on the main thread, this patch adds the same
method to Marionette's sync module.

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

--HG--
extra : moz-landing-system : lando
2018-12-04 21:57:28 +00:00
Razvan Maries f53637a09f Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-12-04 23:59:45 +02:00
Wes Kocher d64dcc72d0 Bug 1511894 - Re-enable wasm abort.any.js on fennec wpt r=me a=testonly
--HG--
extra : rebase_source : cdf8dca1ce4d79027d6cf3af440fa7a8037e7855
2018-12-03 14:37:58 -08:00
Eric Rahm 0d6916073e Bug 1510829 - Upload AWSY artifacts even if processing fails. r=bc
It's useful to get DMD reports even if we end up with negative
heap-unclassified. This catches any assertions during processing and makes
sure we move the reports to the upload dir even if there's a failure.

--HG--
extra : rebase_source : 3268d7b8f7f33c36c9b59bfdd5f181d80a0c4201
2018-12-03 11:50:45 -08:00
Michael Froman a94c2df4cc Bug 1512023 - fixes for mochitest failures when RDD pref'd on for Win/OSX. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D13734

--HG--
extra : moz-landing-system : lando
2018-12-04 20:43:56 +00:00
Noemi Erli c9261f8a58 Backed out changeset b3c8a3a052ea (bug 1452146) for mochitest automation.py failures 2018-12-03 05:13:57 +02:00
Nils Ohlmeier [:drno] 31d3bd0b33 Bug 1452146 - flip av1 and rdd on for OSX and Win. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D13638

--HG--
extra : moz-landing-system : lando
2018-12-02 15:23:37 +00:00
Gurzau Raul a2ac06c603 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-01 16:33:38 +02:00
Coroiu Cristina 1ca919f882 Merge mozilla-central to autoland a=merge 2018-12-01 07:55:13 +02:00
Coroiu Cristina 3564dfde3b Merge inbound to mozila-central a=merge 2018-12-01 07:46:00 +02:00
Bogdan Tara 53c3627d2f Backed out changeset 8d0d845aa081 (bug 1511565) for perma failing on shape-outside-ellipse-005.html CLOSED TREE 2018-12-01 15:51:52 +02:00
Wes Kocher 8dc2c13bb7 Bug 1511193 - Update test annotations for fennec wpt csp/navigate-to/ a=testonly
Differential Revision: https://phabricator.services.mozilla.com/D13579

--HG--
extra : moz-landing-system : lando
2018-11-30 21:18:14 +00:00
Emilio Cobos Álvarez 763b1c5dd2 Bug 1511565 - Cleanup more expectations in that test.
This test shouldn't be os-specific at all.
2018-12-01 10:59:16 +01:00
Emilio Cobos Álvarez 79f84f13e8 Bug 1511565 - Cleanup a bit more the android expectations of the shapes stuff. 2018-12-01 10:56:44 +01:00
Coroiu Cristina 8a1a16a9bd Bug 1509983 - Fix for Wr1 failures. a=RyanVM on a CLOSED TREE
--HG--
extra : histedit_source : a94643c80bc2c0206f4aefe1b384f4f9046bf12c
2018-11-30 22:46:47 +02:00
Emilio Cobos Álvarez 6f920453a5 Bug 1511324 - followup: Add back an entry that was removed by mistake.
CLOSED TREE
2018-11-30 20:08:45 +01:00
James Graham 8f1d162922 Bug 1509983 - Update metadata for android reftests, r=KWierso
An automated update based on the observed results on try.

Depends on D13090

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

--HG--
extra : moz-landing-system : lando
2018-11-30 15:31:54 +00:00
James Graham 3319035104 Bug 1509983 - Enable wpt android reftests on try/m-c, r=gbrown,ato
Depends on D13089

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

--HG--
extra : moz-landing-system : lando
2018-11-30 15:31:50 +00:00
James Graham f40b284be6 Bug 1510258 - Fixup shutting down fennec, r=gbrown
Remove the desktop-only shutdown code and ensure that the app isn't
running before the tests start, since we can't have multiple copies of
the same app running at a time.

Depends on D13088

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

--HG--
extra : moz-landing-system : lando
2018-11-30 15:31:48 +00:00
James Graham 05a1d0ad3a Bug 1510254 - Remove custom FirefoxRunner subclass, r=gbrown,KWierso
This was only being used to set prefs and most prefs are either
already set in
testing/profiles/[common|unittest|web-platform-tests].js or can be set
there so they apply to desktop too.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 15:31:46 +00:00
Emilio Cobos Álvarez 9fb888a541 Bug 1511324 - Green up android WPT expectations a bit more. r=jgraham
The shapes tests are such garbage.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 14:07:17 +00:00
Jason Orendorff 388017b68a Bug 1505122 - Enable ReadableStream for beta and release. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D12187

--HG--
extra : moz-landing-system : lando
2018-11-30 16:31:47 +00:00
Henrik Skupin 4e4c002028 Bug 1511311 - [marionette] GeckoInstance classes should not overwrite already set custom preferences. r=automatedtester
Custom preferences as passed into both classes via the constructor
are getting set in the base GeckoInstance class. But both the
DesktopInstance and FennecInstance classes could override those
custom preferences if they have the same preference set as
required preference. As such the custom preference doesn't have
any effect.

This patch allows both classes to override required prefs with
a different value.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 13:27:22 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Emilio Cobos Álvarez c279a94301 Bug 775618 - Implement page-break-{before,after} as legacy shorthands for {before,after}. r=heycam
This is all the style-system work needed for this.

This implements the concept of legacy shorthands, teaches tests to understand
it, and adds a few more tests for these properties in particular.

The WPT even caught a few WebKit / Blink bugs:

  https://bugs.chromium.org/p/chromium/issues/detail?id=906336
  https://bugs.webkit.org/show_bug.cgi?id=191803

This doesn't change the layout behavior for page-break-before: always, since
it'd stop breaking in multicol and such. Similarly, break-before / break-after:
column and page still behave the same, I'll file followups for those given
comment 22.

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

--HG--
extra : moz-landing-system : lando
2018-11-30 05:35:47 +00:00
Henrik Skupin e29124dec1 Bug 1508670 - [geckodriver] Fix Rust code to be compatible with Rust 2018 edition. r=ato
Depends on D13399

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

--HG--
extra : moz-landing-system : lando
2018-11-29 20:45:07 +00:00
Henrik Skupin ffd608a8a0 Bug 1508670 - [webdriver] Fix Rust code to be compatible with Rust 2018 edition. r=ato
Depends on D13398

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

--HG--
extra : moz-landing-system : lando
2018-11-30 06:05:15 +00:00
Henrik Skupin 5c33925458 Bug 1508670 - [mozrunner] Fix Rust code to be compatible with Rust 2018 edition. r=ato
Depends on D13397

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

--HG--
extra : moz-landing-system : lando
2018-11-29 20:44:15 +00:00
Henrik Skupin 1a682c6e7c Bug 1508670 - [mozversion] Fix Rust code to be compatible with Rust 2018 edition. r=ato
Depends on D13396

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

--HG--
extra : moz-landing-system : lando
2018-11-29 20:43:52 +00:00
Henrik Skupin 4daa7928cd Bug 1508670 - [mozprofile] Fix Rust code to be compatible with Rust 2018 edition. r=ato
Depends on D13395

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

--HG--
extra : moz-landing-system : lando
2018-11-29 20:43:30 +00:00
Henrik Skupin 9a86603828 Bug 1508670 - Convert usages of try macro to ? for webdriver and geckodriver. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D13395

--HG--
extra : moz-landing-system : lando
2018-11-29 20:58:36 +00:00
Razvan Maries 77d87d9972 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-30 05:13:14 +02:00
Razvan Maries d696b8eb57 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-29 23:46:52 +02:00
Wes Kocher 83cea4adb0 Bug 1504357 - Make sure --repeat-until-unexpected doesn't loop over zero tests r=jgraham
If zero tests are selected to run while --repeat-until-unexpected is specified, wptrunner can get into a fast infinite loop of running nothing until killed by the user.

This patch should stop that from happening by breaking the loop after the first iteration of nothing finishes.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 17:12:18 +00:00
Daniel Varga b3613ec011 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-29 18:59:59 +02:00
Emilio Cobos Álvarez e119964c92 Bug 1510862 - Prevent exponential blowup of custom properties. r=jwatt
Put a hard cap on the value length instead of counting substitutions, because it
works best, see the comment.

Differential Revision: https://phabricator.services.mozilla.com/D13352
2018-11-29 12:14:01 +01:00