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

1188 Коммитов

Автор SHA1 Сообщение Дата
Edgar Chen 7c831f9dee Bug 1659494 - Make test_getCoalescedEvents.html pass with cross-origin and Fission enabled; r=smaug
synthesizeNativeMouseEvent in apz_test_native_event_utils.js doesn't work on xorigin tests give that it would try to access window.top which is a cross-origin window.

Differential Revision: https://phabricator.services.mozilla.com/D87350
2020-08-18 22:58:13 +00:00
Edgar Chen c311ce3fff Bug 1658176 - Remove testUnloaded command from xOriginDispatchMap; r=kmag DONTBUILD
This doesn't being used by xOriginRunner in SimpleTest.

Depends on D86516

Differential Revision: https://phabricator.services.mozilla.com/D86517
2020-08-10 19:51:17 +00:00
Edgar Chen ad6affb211 Bug 1658176 - Make mochitest tests with xorigin and fission enabled report assertion properly; r=kmag DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D86516
2020-08-10 20:48:13 +00:00
Geoff Brown e35f7cf171 Bug 1599109 - Make a few more mochitest error messages visible to treeherder; r=jmaher
Follow-up on part 1 of https://bugzilla.mozilla.org/show_bug.cgi?id=1599109#c16: preface
more mochitest error messages with TEST-UNEXPECTED-FAIL so that treeherder and especially
the log viewer will recognize the errors.

Differential Revision: https://phabricator.services.mozilla.com/D85925
2020-08-04 21:34:52 +00:00
Joel Maher 2f2dc70492 Bug 1654553 - fix browser chrome tests to support Object.is instead of ==. r=gbrown,preferences-reviewers,Gijs,rpl
fix browser chrome tests to support Object.is instead of ==

Differential Revision: https://phabricator.services.mozilla.com/D84539
2020-07-27 17:02:35 +00:00
tkhan 75ea54bf01 Bug 1650919 - Adding manifest annotations for xorigin test harness. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D82763
2020-07-13 20:34:46 +00:00
Bogdan Tara 6faddf7d8f Backed out changeset 1a0f002865d3 (bug 1650919) for test_deprecated.html failures CLOSED TREE 2020-07-13 19:22:21 +03:00
tkhan e50031dfc7 Bug 1650919 - Adding manifest annotations for xorigin test harness. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D82763
2020-07-13 13:01:43 +00:00
Mihai Alexandru Michis 3a3aed428a Bug 1650155 - Fix allowMatchingRejectionsGlobally name in browser_uncaught_rejection_expected.js
CLOSED TREE
2020-07-03 21:03:27 +03:00
Julian Descottes 3ec6af87ab Bug 1650155 - Remove remaining mentions of whitelist in files using allowMatchingRejectionsGlobally r=Gijs
Depends on D82059

Differential Revision: https://phabricator.services.mozilla.com/D82061
2020-07-03 16:57:25 +00:00
Julian Descottes 3e1e4c22b6 Bug 1650155 - Rename PromiseTestUtils.whitelistRejectionsGlobally to allowMatchingRejectionsGlobally r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82059
2020-07-03 17:01:29 +00:00
Keefer Rourke df2678e18f Bug 1642454: Promote worker testing functions to mochitest/tests/SimpleTest r=gbrown
This patch extracts some functions from OS.File tests to
mochitest/tests/SimpleTest to be more readily used by new code which needs to
run tests in ChromeWorkers.

Differential Revision: https://phabricator.services.mozilla.com/D80898
2020-07-02 22:30:53 +00:00
Narcis Beleuzu 2f11bc8165 Backed out 4 changesets (bug 1642454) for failures on dom/system/tests/test_ioutils_worker.xhtml . CLOSED TREE
Backed out changeset 13553531fc62 (bug 1642454)
Backed out changeset 7896b4315920 (bug 1642454)
Backed out changeset 1e68090eed0b (bug 1642454)
Backed out changeset dfb201663480 (bug 1642454)
2020-07-03 01:16:36 +03:00
Keefer Rourke e37012f935 Bug 1642454: Promote worker testing functions to mochitest/tests/SimpleTest r=gbrown
This patch extracts some functions from OS.File tests to
mochitest/tests/SimpleTest to be more readily used by new code which needs to
run tests in ChromeWorkers.

Differential Revision: https://phabricator.services.mozilla.com/D80898
2020-07-02 20:16:49 +00:00
tkhan b4821a1c8e Bug 1602668 - Enables xorigin iframe mode for mochitest-plain. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D70360
2020-06-22 19:10:30 +00:00
Gijs Kruitbosch 222e2d1158 Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D79202
2020-06-17 22:45:31 +00:00
Masatoshi Kimura b9a2ffc214 Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-31 03:41:03 +00:00
Gijs Kruitbosch 2f983e6cfa Bug 1638373 - remove Cu.isCrossProcessWrapper now that CPOWs are dead, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D76597
2020-05-24 23:38:17 +00:00
Mihai Alexandru Michis 37ef8a125d Backed out changeset a845717e4d10 (bug 1482279) for causing multiple failures.
CLOSED TREE
2020-05-23 02:22:20 +03:00
Masatoshi Kimura 0701e89b7e Bug 1482279 - Stop using Cu.forcePermissiveCOWs() in SpecialPowers. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D74641
2020-05-22 21:46:25 +00:00
Kris Maglione 58a72e8979 Bug 1638988: Add SpecialPowers.spawnChrome. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D75832
2020-05-18 21:00:51 +00:00
Florian Quèze 38f9dabfc7 Bug 1630971 - add profiler markers to see which mochitest-plain and mochitest-chrome tests are running, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D72718
2020-05-05 17:26:23 +00:00
Dão Gottwald 59656c1f31 Bug 1631613 - Re-enable browser_waitForFocus.js r=mak
Differential Revision: https://phabricator.services.mozilla.com/D71995
2020-04-23 21:48:10 +00:00
Mirko Brodesser 8a045fbcb3 Bug 1433073: part 1) Update documentation of EventUtils' `synthesizeMouse` and `synthesizeKey`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D71980
2020-04-23 10:14:27 +00:00
Gijs Kruitbosch 1c0a1c9f3e Bug 1631358 - remove traces of CPOWs from browser/, testing/ and toolkit/, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D71510
2020-04-21 14:05:35 +00:00
Andrea Marchesini 13481ea877 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-11 13:42:12 +00:00
Razvan Maries b74e338c98 Backed out 6 changesets (bug 1363541) for perma failures. CLOSED TREE
Backed out changeset a775f6e9eb41 (bug 1363541)
Backed out changeset 9212bfd89eca (bug 1363541)
Backed out changeset bf41b0c139f6 (bug 1363541)
Backed out changeset aa7c6668b249 (bug 1363541)
Backed out changeset 9f413a8a47bb (bug 1363541)
Backed out changeset 827a9a2866bd (bug 1363541)

--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 11:31:20 +03:00
Andrea Marchesini b523b552a4 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 22:08:02 +00:00
Coroiu Cristina d37de5ed78 Backed out 6 changesets (bug 1363541) for browser-chrome failures at browser/base/content/test/performance/browser_startup_mainthreadio.js on a CLOSED TREE
Backed out changeset 947073be919f (bug 1363541)
Backed out changeset 1f397b686c11 (bug 1363541)
Backed out changeset d2ba944a47a3 (bug 1363541)
Backed out changeset 80d4d1f0c921 (bug 1363541)
Backed out changeset 9d6b9052f413 (bug 1363541)
Backed out changeset aeaa10789071 (bug 1363541)

--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 01:00:15 +03:00
Andrea Marchesini 8764c55c53 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 13:27:35 +00:00
Tom Schuster 5eb9932e47 Bug 1621813 - Remove nsIScriptError.exceptionFlag. r=mccr8
I made some changes in preparation for removing nsIScriptError.flags in favor
of nsIConsoleMessage.logLevel.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 21:31:44 +00:00
Tom Schuster ff852cea9c Bug 1621817 - Remove nsIScriptError.strictFlag. r=remote-protocol-reviewers,mccr8,whimboo
I am not sure if you are okay with reviewing all those test changes.
Sadly it's not that easy to search through our huge JavaScript code
base for some generic name like 'isStrict'.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 16:12:16 +00:00
Emilio Cobos Álvarez eafbff0c59 Bug 1621319 - Make test_sanityEventUtils test synthesizeMouseExpectEvent with something else than a form control. r=smaug
Depending on the widget implementation details, hitting one pixel inside the
input may hit the input itself, or may hit the anonymous scrollable element
instead.

synthesizeMouseExpectEvent checks the originalTarget, for some reason:

  https://searchfox.org/mozilla-central/rev/070a000dd49aac4a26147e137efcd91a728d13b8/testing/mochitest/tests/SimpleTest/EventUtils.js#1419

I'm not sure what the reason for that is, or why test_sanityEventUtils needs to
test it using an <input>.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 21:06:07 +00:00
Andrew Halberstadt 0b91144eb8 Bug 1526445 - [mochitest] Ignore 'buffering_on' action if test is not running, r=gbrown
Depends on D66284

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

--HG--
extra : moz-landing-system : lando
2020-03-11 03:08:08 +00:00
Andrew Halberstadt 4554db2952 Bug 1526445 - [mochitest] Don't ever enable log buffering if it was initially disabled, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D66284

--HG--
extra : moz-landing-system : lando
2020-03-11 03:11:47 +00:00
Dorel Luca cefe4ffd34 Backed out 3 changesets (bug 1621319) for Mochitest failures in Harness_sanity/test_sanityEventUtils.html
Backed out changeset 9181798549f2 (bug 1621319)
Backed out changeset 0522121ddf22 (bug 1621319)
Backed out changeset b65f1bde461a (bug 1621319)
2020-03-11 03:48:03 +02:00
Emilio Cobos Álvarez 6f0cbb53d1 Bug 1621319 - Make test_sanityEventUtils hit the border of the input, not the contents inside. r=smaug
Depending on the widget implementation details, hitting one pixel inside the
input may hit the input itself, or may hit the anonymous scrollable element
instead.

synthesizeMouseExpectEvent checks the originalTarget, for some reason:

  https://searchfox.org/mozilla-central/rev/070a000dd49aac4a26147e137efcd91a728d13b8/testing/mochitest/tests/SimpleTest/EventUtils.js#1419

I'm not sure what the reason for that is, or why test_sanityEventUtils needs to
test it using an <input>, but I don't want to think too hard about it.

This ensures we hit the border on the <input> and thus target the right element.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 19:34:03 +00:00
Mark Banner 2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Kartikaya Gupta 42cf127828 Bug 1613514 - Emit a helpful note for people trying to use the wrong requestLongerTimeout. r=ahal
SimpleTest.requestLongerTimeout silently doesn't work in browser mochitests,
and I wasted time trying to figure out what was going on.

Depends on D65558

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

--HG--
extra : moz-landing-system : lando
2020-03-05 19:31:39 +00:00
Kris Maglione f3354d4788 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 22:33:53 +00:00
Arthur Iakab 73b6d9dca6 Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione c65ef42473 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 21:03:58 +00:00
Noemi Erli 6b488deed0 Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione e4c4115afb Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 19:39:25 +00:00
Mark Banner 556504ff93 Bug 1614822 - Enable ESLint for testing/mochitest/tests/Harness_sanity/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D62512

--HG--
extra : moz-landing-system : lando
2020-02-12 19:38:40 +00:00
Mark Banner 053da90c15 Bug 1613111 - Enable ESLint on testing/mochitest/tests/SimpleTest/ (manual changes). r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D61864

--HG--
extra : moz-landing-system : lando
2020-02-11 17:33:15 +00:00
Mark Banner 32182ed29c Bug 1613111 - Enable ESLint on testing/mochitest/tests/SimpleTest/ (automatic changes). r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D61863

--HG--
extra : moz-landing-system : lando
2020-02-11 17:53:07 +00:00
Masayuki Nakano 4101b26261 Bug 1610264 - part 2: Make `synthesizePlainDragAndDrop()` stop dispatching `drop` event if `dragover` event listener sets drop effect to `none` r=smaug
`drop` event shouldn't be fired when drop target does not accept the data
at last `dragover` handling.

This patch makes `synthesizePlainDragAndDrop()` stop dispatching `drop` event
if last `dragover` event's `dataTransfer.dropEffect` is `none`.  In strictly
speaking, it should refer `nsIDragSession::canDrop`.  However, the value is
unstable only on Linux.  The reason must be that only GTK widget manages
`canDrop` state by itself.  Therefore, this patch directly uses the
`dataTransfer.dropEffect` value instead.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 07:43:20 +00:00
Neil Deakin 12e43d2102 Bug 1600176, large button border on ubuntu 18.04 makes the button larger than expected and the coordinate computation to be off by the size of the border. Adjust the width on the button, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D60886

--HG--
extra : moz-landing-system : lando
2020-01-24 10:45:14 +00:00
Tom Schuster c73016a38b Bug 1605854 - Fix remaining tests using uneval/toSource r=mccr8,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D58685

--HG--
extra : moz-landing-system : lando
2020-01-07 13:19:30 +00:00