Commit Graph

30704 Commits

Author SHA1 Message Date
Andrew McCreight
745e73bc07 Bug 1518354, part 3 - Update whitelist for fetch/api/abort. r=jgraham
I saw this intermittent leak, but it was only a single string.

Depends on D16089

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:36:55 +00:00
Andrew McCreight
8b2881e8d6 Bug 1518354, part 2 - Remove ResolveHost whitelisting. r=jgraham
This leak was fixed by bug 1467914.

Depends on D16088

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:36:53 +00:00
Andrew McCreight
92fceba95d Bug 1518354, part 1 - Remove empty lsan-allowed lists. r=jgraham
These are not needed.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:36:51 +00:00
Henrik Skupin
941be3d64d Bug 1441437 - [marionette] Remove dependency to cssTransform.html and cssTransform2.html in test_visibility.py. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16182

--HG--
extra : moz-landing-system : lando
2019-01-10 14:27:20 +00:00
Henrik Skupin
ccadd49d38 Bug 1507067 - [marionette] Listen for "visibilitychange" event in content process. r=ato
To detect when the window got minimized usally "visibilitychange" events
are fired to the content window. The "WebDriver:MinimizeWindow" command
has to wait for those.

Depends on D16096

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

--HG--
extra : moz-landing-system : lando
2019-01-10 14:26:52 +00:00
Henrik Skupin
96e367f76b Bug 1507067 - [marionette] Add support for EventListener callback to WebElementEventTarget. r=ato
Depends on D16095

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

--HG--
extra : moz-landing-system : lando
2019-01-10 14:26:26 +00:00
Henrik Skupin
5638bd8735 Bug 1507067 - [marionette] Add logging of received DOM events to ContentEventObserverService. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16095

--HG--
extra : moz-landing-system : lando
2019-01-10 14:26:02 +00:00
Henrik Skupin
c820e2d61d 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
2019-01-10 10:13:17 +00:00
Henrik Skupin
c631c98202 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 `New 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
2019-01-10 10:14:24 +00:00
Henrik Skupin
ea87c4dedf Bug 1504756 - [marionette] Remove default timeout from PollPromise. r=ato
By default PollPromise has to behave similar to a normal Promise
and wait forever until it gets resolved or rejected.

Depends on D13662

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:12:24 +00:00
Henrik Skupin
74c45eb2ed 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
2019-01-10 10:14:22 +00:00
Henrik Skupin
a384666194 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
2019-01-10 10:12:17 +00:00
Henrik Skupin
2575586fb6 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
2019-01-10 10:10:47 +00:00
Henrik Skupin
be3136d0ab 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
2019-01-10 10:10:14 +00:00
James Graham
679f0aa4c4 Bug 1517322 - Allow LSAN suppressions path to be set from wptrunner command line, r=mccr8
Previously we assumed that the path for the lsan_suppressions.txt file was the same as the prefs path,
which is correct in CI but wrong for local builds. This adds a --lsan-dir command line argument and sets
it in mach to the correct value for local builds and uses the prefs directory as a default for backwards
compatibility

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

--HG--
extra : moz-landing-system : lando
2019-01-09 20:39:40 +00:00
Brian Birtles
075271a248 Bug 1518403 - Make IsCurrent return false for animations with playback rate == 0 that are in before/active phase; r=hiro
As per following spec update:

  0c369c0806

Depends on D16001

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

--HG--
extra : moz-landing-system : lando
2019-01-10 01:03:24 +00:00
Brian Birtles
1ec94901a9 Bug 1518403 - Make "is current" depend on the direction of the associated animation's playback rate; r=hiro
As per the following spec change:

  4ec1deb76a

Spec issue:

  https://github.com/w3c/csswg-drafts/issues/3193

Of the added test cases, only the last one, "Returns reversed animations yet to
reach their active phase" fails without this code change. The others pass
because the animation is finished at that point but I added them for consistency
with the previous tests.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 00:31:54 +00:00
Edwin Gao
0f390a7703 Bug 1514075 - added updated hostutils for macOS r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D16111

--HG--
extra : moz-landing-system : lando
2019-01-09 22:59:12 +00:00
shindli
eae80bd903 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-09 23:45:39 +02:00
shindli
e196689816 Merge inbound to mozilla-central. a=merge 2019-01-09 23:42:10 +02:00
Brindusan Cristian
75f86d396d Backed out 7 changesets (bug 1504756) for xpcshell failures on test_sync.js.
Backed out changeset 9d80f662ad2b (bug 1504756)
Backed out changeset 8f9d90979825 (bug 1504756)
Backed out changeset 9715660f8c07 (bug 1504756)
Backed out changeset c25c93d2dc4d (bug 1504756)
Backed out changeset 58ab81d373b9 (bug 1504756)
Backed out changeset 21658a2d0174 (bug 1504756)
Backed out changeset 93ff3f0d95bd (bug 1504756)
2019-01-09 21:57:50 +02:00
Henrik Skupin
95263f179b 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
2019-01-09 18:25:08 +00:00
Henrik Skupin
d950f23ac6 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 `New 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
2019-01-09 18:27:28 +00:00
Henrik Skupin
3664921097 Bug 1504756 - [marionette] Remove default timeout from PollPromise. r=ato
By default PollPromise has to behave similar to a normal Promise
and wait forever until it gets resolved or rejected.

Depends on D13662

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

--HG--
extra : moz-landing-system : lando
2019-01-09 18:24:06 +00:00
Henrik Skupin
b0f2aca7f3 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
2019-01-09 18:27:25 +00:00
Henrik Skupin
cc62f45167 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
2019-01-09 18:22:57 +00:00
Henrik Skupin
2412720695 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
2019-01-09 18:22:19 +00:00
Henrik Skupin
c9dc562750 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
2019-01-09 18:21:50 +00:00
Daniel Holbert
49fdf204f2 Bug 1518314: Adjust talos help text to point to documented --gecko-profile commands (rather than undocumented --geckoProfile aliases). r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D15871

--HG--
extra : moz-landing-system : lando
2019-01-09 17:50:37 +00:00
Henrik Skupin
9f79ca4861 Bug 1517196 - [wdspec] Add tests for "Switch To Frame" command. r=ato
Depends on D15953

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

--HG--
extra : moz-landing-system : lando
2019-01-09 15:53:11 +00:00
Henrik Skupin
8044935482 Bug 1517196 - [geckodriver] Fix unit test for invalid frame id. r=ato
Depends on D16049

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

--HG--
extra : moz-landing-system : lando
2019-01-09 16:22:00 +00:00
Henrik Skupin
6740c4d043 Bug 1517196 - [marionette] Raise "no such element" error in "Switch To Frame" for unknown elements. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16049

--HG--
extra : moz-landing-system : lando
2019-01-09 16:21:58 +00:00
James Graham
abd64d1508 Bug 1518819 - Fix setting logger from mach command line, r=Ms2ger
We assumed that this method returned a logger and the fact that it
doesn't means we end up initialising logging a second time with the
default settings rather than the user overrides.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 16:07:32 +00:00
Emilio Cobos Álvarez
915cf35dec Bug 1518795 - Properly track responsive content in a connected ShadowRoot. r=smaug
Took more to write the test than the fix :)

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

--HG--
extra : moz-landing-system : lando
2019-01-09 15:59:10 +00:00
Jonathan Kingston
bb647b021c Bug 1517301 - Move CSP check for form-action to be within HTMLFormSubmission to prevent checking before the form should be submitted. r=ckerschb,smaug
Differential Revision: https://phabricator.services.mozilla.com/D16032

--HG--
extra : moz-landing-system : lando
2019-01-09 15:42:04 +00:00
James Graham
865c90cc75 Bug 1273247 - Reenable autofocus test, r=automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D14251

--HG--
extra : moz-landing-system : lando
2019-01-09 14:50:44 +00:00
Henrik Skupin
254cb0fb45 Bug 1422741 - [marionette] Re-enable test TestPageLoadStrategy.test_strategy_after_remoteness_change. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16014

--HG--
extra : moz-landing-system : lando
2019-01-09 11:11:01 +00:00
Cosmin Sabou
1e50aa1d21 Merge mozilla-central to mozilla-inbound.
--HG--
rename : devtools/client/shared/multi-e10s-helper.js => devtools/shared/multi-e10s-helper.js
rename : toolkit/themes/shared/numberbox.css => toolkit/themes/shared/numberinput.css
extra : rebase_source : 3aa7c3b9f560aaa47259594ce1e52f1bfbbad169
2019-01-09 18:16:13 +02:00
James Graham
2ded4bc708 Bug 1511875 - Improve the attempt to set window focus in reftests, r=ato
This probably isn't a complete solution, but if we aren't the active
window try to use the focusManager to set us as the active window. A
more complete solution will be easier once
https://bugzilla.mozilla.org/show_bug.cgi?id=1335085 lands.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 11:11:03 +00:00
Razvan Maries
8f65aae19c Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-09 05:57:46 +02:00
Geoff Brown
ac0fbd31e0 Bug 1515653 - Fix per-test handling of MOZHARNESS_TEST_PATHS; r=marco 2019-01-08 18:01:14 -07:00
Kristian Klausen
b21f9d63a7 bug 1385706: marionette: fix WebDriver:TakeScreenshot to use viewport bounds; r=ato
The WebDriver:TakeScreenshot command relied on the document element's
clientWidth/clientHeight, but should according to the WebDriver
specification use the viewport's dimensions.

Thanks-to: JinaJita <jitajina@gmail.com>
2019-01-09 15:06:50 +00:00
Noemi Erli
94a824b783 Backed out changeset 76be2a9fde9e (bug 1385706) per developer's request CLOSED TREE 2019-01-09 17:00:32 +02:00
Andreas Tolfsen
e490d97127 bug 1385706: marionette: fix WebDriver:TakeScreenshot to use viewport bounds; r=ato
The WebDriver:TakeScreenshot command relied on the document element's
clientWidth/clientHeight, but should according to the WebDriver
specification use the viewport's dimensions.

Thanks-to: JinaJita <jitajina@gmail.com>
2019-01-09 14:49:38 +00:00
Daniel Varga
8306d673ed Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-08 18:31:08 +02:00
Daniel Varga
0d21c9eedd Merge mozilla-inbound to mozilla-central. a=merge 2019-01-08 18:23:16 +02:00
Emilio Cobos Álvarez
4653b249d6 Bug 1514074 - Retarget results of offset* DOM APIs. r=smaug
Per https://github.com/w3c/csswg-drafts/issues/159.

The test is imported from WebKit, who has already implemented this, with a few
fixes to avoid duplicate test names and non-undefined return values from
add_cleanup.

See the diff attached to the bug.

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

--HG--
extra : moz-landing-system : lando
2019-01-08 16:04:31 +00:00
Oana Pop Rus
aec8de62bb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-08 12:37:02 +02:00
Oana Pop Rus
3adbeba770 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-08 12:13:02 +02:00
Nick Alexander
848c9b1c1e Bug 1496190 - Add |mach package-multi-locale|; produce multi-locale GeckoView archives. r=Callek,firefox-build-system-reviewers,ted
All that is really required for this ticket is to invoke |mach android
archive-geckoview| after |mach package| in the right place.

But it's actively unhelpful to have this magic in mozharness --
especially since the documentation in `locales.rst` is subtly
incorrect (the environment variables and Make variables don't quite
work as written).  So this commit adds a Mach command to do the actual
work and replaces most of the mozharness magic with that command.
Since the l10n Make targets check out the l10n HG repositories
locally, this basically Just Works without the mozharness checkout
steps when developing locally.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 19:22:44 +00:00