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

3563 Коммитов

Автор SHA1 Сообщение Дата
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
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
Jared Wein 7da631f438 Bug 1469935 - Ctrl+M should mute/unmute all selected tabs in a multiselect context. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D6948

--HG--
extra : moz-landing-system : lando
2018-09-26 20:46:09 +00:00
Geoff Brown 954971f6bb Bug 1426822 - Avoid intermittent failure to initialize android mochitests; r=jmaher 2018-09-26 08:28:20 -06:00
Brian Grinstead 22f06659d2 Bug 1492967 - Merge together remote-browser and browser bindings;r=ochameau,mconley
Differential Revision: https://phabricator.services.mozilla.com/D6462

--HG--
extra : moz-landing-system : lando
2018-09-24 16:24:04 +00:00
Kris Maglione 1c20e8cbbb Bug 1486147: Part 2 - Update JS string enumerator callers to use JS iteration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D4270

--HG--
extra : rebase_source : 2adadcc8e51a7bce1da02f4bee1333b77bfa9944
extra : histedit_source : 9df920fd186f8c96a5d8b9cbff53ea9529f26ee0
2018-08-24 16:22:40 -07:00
Jonathan Kingston 2ce3b8373f Bug 1485305 - misc Ensure loadURI always passes a triggeringPrincipal() r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D4560

--HG--
extra : source : 3e184da8273decac0f3e7d88be89125a2a027588
extra : intermediate-source : ddea69395fbca528529f4491bc8ea7c701ff45b4
2018-08-29 15:48:52 +01:00
Gijs Kruitbosch ba80b3c145 Bug 1492196 - fix browser_searchbar_openpopup.js so we don't accidentally try to drag content in the URL bar, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D6180

--HG--
extra : moz-landing-system : lando
2018-09-19 10:15:46 +00:00
Brian Grinstead 150199f6f8 Bug 1488938 - Round two: migrate mochitest-browser tests to use element variations of firstChild, etc;r=Gijs
This is a follow up to Bug 1482667. The list of callers was gathered by instrumenting
the webidl calls to these methods and dumping JS stack when they are called in browser.xul.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 15:31:38 +00:00
Tudor-Gabriel Vîjială 844b806b0a Bug 1475256 - Add code coverage for android robocop UI tests. r=gbrown
Depends on D4219

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

--HG--
extra : moz-landing-system : lando
2018-09-06 17:51:08 +00:00
Tudor-Gabriel Vîjială 48c6ba440f Bug 1475256 - Refactor CodeCoverageMixin to pass --java-coverage-output-dir instead of a file path. r=gbrown,marco
Differential Revision: https://phabricator.services.mozilla.com/D4142

--HG--
extra : moz-landing-system : lando
2018-09-06 16:59:57 +00:00
Gijs Kruitbosch d1b26d3f34 Bug 1486824 - review comment follow-up: change params for openNewBrowserWindow to explicitly check for URL, r=nhnt11 2018-09-03 15:16:55 +01:00
Gijs Kruitbosch ef7146a4be Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D4466

--HG--
extra : rebase_source : e51b66bb18d0e600814b48d5cd3ec9d5dea3028a
extra : source : 96b5a88ac0041a1bd382a731749e1fca9aa911ed
2018-09-03 14:43:38 +01:00
Margareta Eliza Balazs 5ddcd7b745 Backed out changeset 96b5a88ac004 (bug 1486824) for causing frequent failures e.g: browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about.js a=backout 2018-08-31 12:17:27 +03:00
Gijs Kruitbosch 9d70cb3843 Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D4466

--HG--
extra : moz-landing-system : lando
2018-08-30 15:07:36 +00:00
Narcis Beleuzu a4ec006bb0 Backed out changeset 4e195f7b2d6b (bug 1486824) for clipboard failures on OSX browser_editcontrols_update. a=backout 2018-08-30 15:59:59 +03:00
arthur.iakab 044707fc78 Merge inbound to mozilla-central a=merge 2018-08-30 07:37:00 +03:00
Gijs Kruitbosch a8e2b8e702 Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D4466

--HG--
extra : moz-landing-system : lando
2018-08-29 17:58:25 +00:00
Kris Maglione 3a5c05e76f Bug 1484496: Part 5e - Convert remaining nsISimpleEnumerator users to use JS iteration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3733

--HG--
extra : rebase_source : c0fac176d7b3d840c4dbb14f8d95ccfc7f83a5a8
extra : histedit_source : a92c40117d0808a3ad68c972f622a7a42c9ae8ba
2018-08-18 18:13:14 -07:00
Felipe Gomes 170dde818c Bug 1486568 - forceNewProcess option from BrowserTestUtils should ensure that a cached process is not reused. r=mconley 2018-08-29 16:47:37 -03:00
Brindusan Cristian d21b936680 Merge inbound to mozilla-central. a=merge 2018-08-23 01:00:10 +03:00
Anny Gakhokidze edf3cdbd07 Bug 1453153 - Initial removal of moz* APIs in DataTransfer, r=enndeakin,r=nika
In DataTransfer, change mozItemCount, mozTypesAt, mozClearDataAt, mozSetDataAt,
mozGetDataAt APIs to be ChromeOnly.

MozReview-Commit-ID: 9uJ9ncrcBL2
2018-08-22 15:10:31 -04:00