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

3583 Коммитов

Автор SHA1 Сообщение Дата
Daniel Varga 77036132f7 Merge autoland to mozilla-central. a=merge 2018-11-02 00:26:12 +02:00
Jan Henning ae407ebe3b Bug 1502135 - Make resource://testing-common available for Robocop JS tests. r=gbrown
The code is simply a copy of the corresponding code in runtestsremote.py.

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

--HG--
extra : moz-landing-system : lando
2018-11-01 17:45:07 +00:00
Julian Descottes 260b1e16a3 Bug 1467712 - Fail if SimpleTest ok() is called with more than 2 arguments;r=Standard8
Depends on D10417

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

--HG--
extra : moz-landing-system : lando
2018-11-01 13:50:27 +00:00
Julian Descottes 079a123093 Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D10416

--HG--
extra : moz-landing-system : lando
2018-11-01 13:48:48 +00:00
Csoregi Natalia faba2c8c15 Backed out 4 changesets (bug 1467712) for multiple failures with: Too many arguments passed to ok. CLOSED TREE
Backed out changeset 9ce0ac2b9d71 (bug 1467712)
Backed out changeset 026eb1f6dc6e (bug 1467712)
Backed out changeset 0088a09d869a (bug 1467712)
Backed out changeset 1b19ea76aad6 (bug 1467712)
2018-11-01 15:22:52 +02:00
Julian Descottes 8e101fd73a Bug 1467712 - Fail if SimpleTest ok() is called with more than 2 arguments;r=Standard8
Depends on D10417

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

--HG--
extra : moz-landing-system : lando
2018-11-01 11:12:37 +00:00
Julian Descottes b50a5ba4dc Bug 1467712 - Simplify calls to ok to use only 2 arguments;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D10416

--HG--
extra : moz-landing-system : lando
2018-11-01 11:09:48 +00:00
Gurzau Raul 424b125b93 Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout 2018-11-01 15:27:30 +02:00
Jonathan Kingston 873b26107e Bug 1490257 - Add asserts into loadURI where we imply SystemPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10221

--HG--
extra : moz-landing-system : lando
2018-10-31 18:00:40 +00:00
arthur.iakab de51988046 Merge mozilla-central to inbound 2018-10-31 11:47:33 +02:00
Julian Descottes 229e102468 Bug 1503169 - Only swallow head.js loadSubScript exceptions in browser-test.js;r=markh
The existing regexp used to swallow head.js load failures was a bit too
generic and would catch any loadSubScript failure that may happen in head.js.

The original intent was only to tolerate missing head.js files so we should be able
to be more selective when detecting the exception

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

--HG--
extra : moz-landing-system : lando
2018-10-31 03:11:28 +00:00
Gurzau Raul 42ed3a7d97 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-30 07:32:36 +02:00
Csoregi Natalia cc313f779c Backed out 9 changesets (bug 1472212) for browser-chrome tests run issues on Linux x64 asan and failures on browser_ext_windows_create_tabId.js. CLOSED TREE
Backed out changeset 18e46df44cd1 (bug 1472212)
Backed out changeset 2e5de66c1f60 (bug 1472212)
Backed out changeset b94f9883aef0 (bug 1472212)
Backed out changeset ebdca743668c (bug 1472212)
Backed out changeset f8a06d01437e (bug 1472212)
Backed out changeset b6996abc7d90 (bug 1472212)
Backed out changeset 24c257cd18c3 (bug 1472212)
Backed out changeset 176f3ee14e67 (bug 1472212)
Backed out changeset b4baa63e5b1b (bug 1472212)
2018-10-30 01:58:21 +02:00
Gijs Kruitbosch 968a7a4996 Bug 1502982 - use a capturing focus listeners so we catch focus in windows that don't have a URL bar etc., r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D10103

--HG--
extra : moz-landing-system : lando
2018-10-29 22:16:05 +00:00
Gurzau Raul 8f82fd493f Merge inbound to mozilla-central. a=merge 2018-10-30 00:00:56 +02:00
Brendan Dahl 52f12ef5a5 Bug 1502509 - Handle different event order when waiting for window to open. r=Gijs
In browser.xhtml the focus and activate events can fire before the
DOMContentLoaded event.

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

--HG--
extra : moz-landing-system : lando
2018-10-28 21:21:42 +00:00
Felipe Gomes 35d9ec06a1 Bug 1501761 - Fix EventUtils.synthesizePlainDragAndDrop to enable simulating tab detaching. r=florian
This fixes several problems with this function:

  - the parameters destX and destY were advertised but were actually unused
  - added support for dropping on an invalid drop target (by passing destElement = null)
  - implements the dragend event
  - stale documentation mentioned mouseup event
2018-10-24 17:59:54 -03:00
Jay Lim be822ccbde Bug 1472212 - Rename E10SUtils.canLoadURIInProcess to E10SUtils.canLoadURIInRemoteType and modify it to accept an E10SUtils process type instead of a nsIXULRuntime process type. r=Gijs
See next commit for more info. The idea is to use E10SUtils.canLoadURIInRemoteType to detect
if a URI can load in a given E10SUtils process type. Having it to accept a nsIXULRuntime
process type, which will be mapped back to an E10SUtils process type, is unnecessary.

MozReview-Commit-ID: KeYkuRDyqXO

--HG--
extra : source : a8bba29ad2cb20239b87081f77cdf34249d3337b
extra : intermediate-source : 18f824674b76d87ed8cdaee516ad450c1c9b6496
extra : histedit_source : 3a0a8be23c1a5e749396d7aa8c7decbe152bc1db
2018-07-20 18:02:45 -04:00
Ciure Andrei 60ea98ca60 Backed out 10 changesets (bug 1501044, bug 1472212) for fetch-destination.https.html perma failure CLOSED TREE
Backed out changeset aa35078cabaa (bug 1472212)
Backed out changeset bf02793f802d (bug 1472212)
Backed out changeset 95a7ef6102a6 (bug 1472212)
Backed out changeset 7b7fa6ab2229 (bug 1472212)
Backed out changeset 4fe4ec18f2f3 (bug 1472212)
Backed out changeset 18f824674b76 (bug 1472212)
Backed out changeset 1978a7837502 (bug 1472212)
Backed out changeset 21a6f1a83c73 (bug 1472212)
Backed out changeset 48242d39d532 (bug 1472212)
Backed out changeset 0b5cf2f4305a (bug 1501044)
2018-10-30 23:31:10 +02:00
Jay Lim cd2d62fbcb Bug 1472212 - Rename E10SUtils.canLoadURIInProcess to E10SUtils.canLoadURIInRemoteType and modify it to accept an E10SUtils process type instead of a nsIXULRuntime process type. r=Gijs
See next commit for more info. The idea is to use E10SUtils.canLoadURIInRemoteType to detect
if a URI can load in a given E10SUtils process type. Having it to accept a nsIXULRuntime
process type, which will be mapped back to an E10SUtils process type, is unnecessary.

MozReview-Commit-ID: KeYkuRDyqXO

--HG--
extra : rebase_source : a3f94b45b96539a969d83e4c4c10ef6f16950fb3
extra : source : a8bba29ad2cb20239b87081f77cdf34249d3337b
2018-07-20 18:02:45 -04:00
Jay Lim a0ee0c93dd Bug 1472212 - Rename E10SUtils.canLoadURIInProcess to E10SUtils.canLoadURIInRemoteType and modify it to accept an E10SUtils process type instead of a nsIXULRuntime process type. r=Gijs
See next commit for more info. The idea is to use E10SUtils.canLoadURIInRemoteType to detect
if a URI can load in a given E10SUtils process type. Having it to accept a nsIXULRuntime
process type, which will be mapped back to an E10SUtils process type, is unnecessary.

MozReview-Commit-ID: KeYkuRDyqXO

--HG--
extra : rebase_source : c4f5d562657bc1ca0a2fe7c277f09add9c976975
extra : intermediate-source : b6996abc7d90edbc99d4ac0c5b9bb4a62c5ae5ae
extra : source : a8bba29ad2cb20239b87081f77cdf34249d3337b
2018-07-20 18:02:45 -04:00
vinoth bfafabaade Bug 1498572 - Remove eval from harness.xul r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D9383

--HG--
extra : moz-landing-system : lando
2018-10-23 06:58:11 +00:00
Julian Descottes 2fcd6cb020 Bug 1499096 - Update tests using ok() to is();r=Standard8
This changeset updates all the test that were wrongly using ok() and wanted to
use is() AND for which the assert is still passing without any modification
required.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:12:23 +00:00
Gijs Kruitbosch 73fbe18957 Bug 1500818 - wait for focus and activate of new windows in BTU.waitForNewWindow, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9364

--HG--
extra : moz-landing-system : lando
2018-10-22 13:10:35 +00:00
Mark Banner ceaeb93550 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389

--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Geoff Brown fb38153bda Bug 1494657 - Wait for SpecialPowers before proceeding with mochitest setup; r=aswan 2018-10-18 10:22:26 -06:00
Gijs Kruitbosch 5edd5678f6 Bug 1499234 - wait for focus and activate events when opening browser windows on Linux, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8790

--HG--
extra : moz-landing-system : lando
2018-10-17 09:18:05 +00:00
Olli Pettay 2bf57a7ac2 Bug 1498381 - EventUtils.js shouldn't dispatch artificial mouseup after dnd, r=masayuki
--HG--
extra : rebase_source : 859be80e481a7387a5e2ff66bdd66558cc1faa8d
2018-10-12 14:05:26 +03:00
Gurzau Raul fd63f0c02c Backed out 2 changesets (bug 1498379, bug 1498381) for permafailing at /test/tabs/browser_multiselect_tabs_drag_to_bookmarks_toolbar.js a=backout
Backed out changeset 0178681fab81 (bug 1498379)
Backed out changeset 962c7631d98c (bug 1498381)
2018-10-15 01:14:40 +03:00
Olli Pettay 5e3c384cd7 Bug 1498381 - EventUtils.js shouldn't dispatch artificial mouseup after dnd, r=masayuki 2018-10-12 14:05:26 +03:00
Cosmin Sabou 86aba0737b Backed out 9 changesets (bug 1472212) for browser chrome failures on browser_report_site_issue. CLOSED TREE
Backed out changeset 78a9a2adf32a (bug 1472212)
Backed out changeset 9ff5280fc25a (bug 1472212)
Backed out changeset c3c22abaf108 (bug 1472212)
Backed out changeset a28443371b94 (bug 1472212)
Backed out changeset 55c2a8d227dc (bug 1472212)
Backed out changeset a8bba29ad2cb (bug 1472212)
Backed out changeset e1cafd30a69a (bug 1472212)
Backed out changeset cecc2d52e72e (bug 1472212)
Backed out changeset 101903689bc0 (bug 1472212)
2018-10-12 20:45:48 +03:00
Jay Lim 8c24bca5b7 Bug 1472212 - Rename E10SUtils.canLoadURIInProcess to E10SUtils.canLoadURIInRemoteType and modify it to accept an E10SUtils process type instead of a nsIXULRuntime process type. r=Gijs
See next commit for more info. The idea is to use E10SUtils.canLoadURIInRemoteType to detect
if a URI can load in a given E10SUtils process type. Having it to accept a nsIXULRuntime
process type, which will be mapped back to an E10SUtils process type, is unnecessary.

MozReview-Commit-ID: KeYkuRDyqXO

--HG--
extra : rebase_source : ff6badff9df468421f9bd13ad74e9e83520c0981
2018-07-20 18:02:45 -04:00
Geoff Brown fa5786d2c8 Bug 1498289 - Stop running geckoview_example smoke test; r=jmaher
Raptor uses geckoview_example and geckoview-junit runs TestRunnerActivity;
this test no longer provides much value.
2018-10-11 14:00:31 -06:00
Andrew McCreight 22e628c849 Bug 1497342, part 1 - Add nondeterministicGetWeakMapKeys() to SpecialPowers r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8131

--HG--
extra : moz-landing-system : lando
2018-10-10 17:35:52 +00:00
Andrew Halberstadt de447d2888 Bug 1496828 - [mochitest] Fix mochitest selftest regression by always instantiating self.extraPrefs, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8087

--HG--
extra : moz-landing-system : lando
2018-10-09 14:24:37 +00:00
Logan Smyth dbcdeb19e0 Bug 1474895 - Only listen on loopback to avoid constant firewall warnings.
Differential Revision: https://phabricator.services.mozilla.com/D7233

--HG--
extra : moz-landing-system : lando
2018-10-05 02:01:37 +00:00
Timothy Guan-tin Chien ca71a35fa1 Bug 1496636 - add_task() should wait for document finishes loading before starting the test r=florian
Differential Revision: https://phabricator.services.mozilla.com/D7941

--HG--
extra : moz-landing-system : lando
2018-10-08 12:59:15 +00:00
Gregory Mierzwinski 19ecc0e49a Bug 1496791 - Disable linux64-jsdcov completely. r=jmaher
This patch removes linux64-jsdcov from the available builds on taskcluster along with any hacks used to run it. It also removes any 'coverage' entries that were added to skip tests.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 21:06:25 +00:00
Andrew Halberstadt 26da3328fb Bug 1470266 - [ci] Schedule serviceworker-e10s mochitest tasks with linux64/debug on mozilla-central, r=jmaher
This duplicates all the mochitest, based tests except with
dom.serviceWorkers.parent_intercept set to true. For now they are only run on
mozilla-central with linux64/debug.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 19:12:27 +00:00
Cosmin Sabou 8bc1a4e74e Backed out changeset bf17ad5b022f (bug 1470266) for breaking test-verify. 2018-10-05 18:30:29 +03:00
Andrew Halberstadt 5fef7a02a1 Bug 1470266 - [ci] Schedule serviceworker-e10s mochitest tasks with linux64/debug on mozilla-central, r=jmaher
This duplicates all the mochitest, based tests except with
dom.serviceWorkers.parent_intercept set to true. For now they are only run on
mozilla-central with linux64/debug.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 14:55:09 +00:00
Bogdan Tara 2f17eea600 Backed out changeset a74eb57d75ff (bug 1493819) by timdream's request CLOSED TREE 2018-10-05 06:47:36 +03:00
Bogdan Tara df695afa1d Backed out changeset 423ba8ffc8d7 (bug 1470266) for robocop failures CLOSED TREE 2018-10-05 06:46:24 +03:00
Timothy Guan-tin Chien e9a12c6863 Bug 1493819 - Provide in-tree document on UA Widgets r=bgrins,bholley
Differential Revision: https://phabricator.services.mozilla.com/D7545

--HG--
extra : moz-landing-system : lando
2018-10-05 03:34:18 +00:00
Andrew Halberstadt 92eef97335 Bug 1470266 - [ci] Schedule serviceworker-e10s mochitest tasks with linux64/debug on mozilla-central, r=jmaher
This duplicates all the mochitest, based tests except with
dom.serviceWorkers.parent_intercept set to true. For now they are only run on
mozilla-central with linux64/debug.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 02:05:12 +00:00
Geoff Brown c1296ff654 Bug 1448698 - Use alternate path for stackfixer import in android mochitests; r=me,a=test-only
Android mochitests typically use the xre-path instead of the utility-path. The
stack fixer module should be available in the host-utils, pointed to by xre-path.
2018-10-04 13:07:04 -06:00
Masayuki Nakano e90e04f506 Bug 1343955 - part 3: Implement similar C++ utility of _computeKeyCodeFromChar() in EventUtils.js and make it accssible with nsITextInputProcessor for EventUtils.js r=smaug
This implement a helper API to guess keyCode value of a printable key with
assuming active keyboard layout is US-English.  The reason why this stops
computing key value from key value is, most users of such API probably want
to emulate input from US-English keyboard layout if they don't specify the
detail.  Therefore, the new API simply maps each ASCII character to a
DOM keyCode which is usually mapped in US-English keyboard layout.

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

--HG--
extra : moz-landing-system : lando
2018-10-03 09:24:15 +00:00
Masayuki Nakano eb2efb612f Bug 1343955 - part 2: Implement _guessCodeFromKeyName() in EventUtils.js with C++ and make it accessible with nsITextInputProcessor for EventUtils.js r=smaug
We need to port synthesizeKey() of EventUtils.js to FuzzingFunctions.  So,
its helper function, _guessCodeFromKeyName() in EventUtils.js needs to be
accessible from FuzzingFunctions.  Therefore, we need to reimplement it
with C++ and make it accessible via nsITextInputProcessor for EventUtils.js
for making easier to maintain.

This patch moves _guessCodeFromKeyName() into TextInputProcessor and
WidgetKeyboardEvent.  Non-printable key part of _guessCodeFromKeyName() is
moved to WidgetKeyboardEvent::ComputeCodeNameIndexFromKeyNameIndex() because
of not depending on active keyboard layout.  On the other hand, printable
key part needs to assume that active keyboard layout is en-US keyboard layout.
Therefore, it's moved to
TextInputProcessor::GuessCodeValueOfPrintableKeyInUSEnglishKeyboardLayout()
because any Core code shouldn't refer it as utility method for keeping that
we're i18n-aware.

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

--HG--
extra : moz-landing-system : lando
2018-10-03 09:21:47 +00:00
Masayuki Nakano d1540c3e0a Bug 1343955 - part 1: Add automated tests for synthesizeKey() of EventUtils.js r=smaug
For preventing regressions of the following patches, test_sanityEventUtils.html
should have more tests of syntheiszeKey().

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

--HG--
extra : moz-landing-system : lando
2018-10-02 14:31:56 +00:00
Mike Conley 35981d799a Bug 1492950 - Don't allow CPOW windows to be passed to SimpleTest.waitForFocus. r=NeilDeakin
Depends on D6714

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

--HG--
extra : moz-landing-system : lando
2018-10-02 17:53:12 +00:00