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

4542 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 44fdf3c6b0 Bug 1825715 - Replace disabling of ESLint rule prettier/prettier with prettier-specific disabling (other). r=Gijs,necko-reviewers,credential-management-reviewers,devtools-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D174217
2023-04-01 16:40:01 +00:00
Cristian Tuns 8cca7e0d9f Backed out 3 changesets (bug 1825715) for causing node failures with checkBundles CLOSED TREE
Backed out changeset 53faa883781a (bug 1825715)
Backed out changeset 5ce3ad6ce483 (bug 1825715)
Backed out changeset 7f0b08e89cd1 (bug 1825715)
2023-03-31 17:23:28 -04:00
Mark Banner a6e7fe51aa Bug 1825715 - Replace disabling of ESLint rule prettier/prettier with prettier-specific disabling (other). r=Gijs,necko-reviewers,credential-management-reviewers,devtools-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D174217
2023-03-31 20:32:18 +00:00
Lata 5528bda290 Bug 1823612 - Remove usage of marionette.log.level from Log.sys.mjs. r=whimboo,webdriver-reviewers,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D173207
2023-03-29 15:21:16 +00:00
Julian Descottes d705cecf89 Bug 1812236 - Extend individual browser mochitest timeout for MOZ_CHAOSMODE=0xfb r=jmaher
Bug 1734020 already extended the overall timeout for the test suite in verify mode, but individual tests remained capped at their initial timeout value.
This changeset aims to multiply the timeout by 2 for individual tests when MOZ_CHAOSMODE=0xfb is set in the environment variables.

Differential Revision: https://phabricator.services.mozilla.com/D173930
2023-03-29 13:17:52 +00:00
Tim Giles 87f2efd17a Bug 1824178 - Sort ignorePrefs.json. r=jmaher
Depends on D173470

Differential Revision: https://phabricator.services.mozilla.com/D173471
2023-03-23 19:59:19 +00:00
Tim Giles a88f769d1b Bug 1824178 - Add media.gmp.storage.version.observed to ignored prefs. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D173470
2023-03-23 19:59:18 +00:00
Makoto Kato f62821e990 Bug 1823840 - Add more prefereces to ignore prefs for test-verify. r=jmaher
After landing bug 1783248, test verify task detects the following preferences
changes even if I don't change it.

- `app.update.lastUpdateTime.xpi-signature-verification`
- `app.update.lastUpdateTime.region-update-timer`
- `browser.bookmarks.restore_default_bookmarks`

We should add these to ignored list.

Differential Revision: https://phabricator.services.mozilla.com/D173261
2023-03-22 15:55:17 +00:00
shreya 47446bb6ac Bug 1791441 - Updates the BrowserTestUtils.overflowTabs function and its usages in tests. r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D172184
2023-03-22 15:21:56 +00:00
Joel Maher 13875ee626 Bug 1783248 - [mochitest] Add notification of changed pref at end of test and error if changed in test-verify. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D169721
2023-03-22 00:32:49 +00:00
Kershaw Chang b39b0bed43 Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D167515
2023-03-21 09:09:58 +00:00
Sandor Molnar a67270c195 Backed out 2 changesets (bug 1804140) for causing multiple failures.
Backed out changeset 14243ef3e860 (bug 1804140)
Backed out changeset 8f4ae1ab430d (bug 1804140)
2023-03-20 14:33:35 +02:00
Peter Van der Beken 0a61153f2e Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-03-20 11:17:06 +00:00
Kershaw Chang 79403e1620 Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-16 21:28:58 +00:00
Masayuki Nakano e5f024930b Bug 1820972 - Make `nsBaseDragService::FireDragEventAtSource` update `mSourceNode` if it's disconnected while `HTMLEditor` deletes selection caused by a drag operation r=edgar
The source node is typically a text node, and it may be editable by
`contenteditable` or `designMode`.  In that case, the source node may be removed
during the DnD session even without tricky JS code.  In this case, Blink and
WebKit updates the source node to dispatch `dragend` to the editing host.
This behavior does not conform to the standardized DnD behavior, however,
this is reasonable for editor apps which want to listen to events in editing
host or window/document for footprint and/or performance reason.  Therefore,
we should follow their behavior.

Differential Revision: https://phabricator.services.mozilla.com/D172091
2023-03-16 06:37:18 +00:00
Nazım Can Altınova 5d4ab6bd13 Bug 1776694 - Return profile with additional info from GetProfileDataAsGzippedArrayBuffer r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D172555
2023-03-15 18:19:31 +00:00
Gabriele Svelto a4b115ad0e Bug 1820768 - Add a test covering crash generation for sandbox violations; r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D171862
2023-03-14 11:46:11 +00:00
Marian-Vasile Laza ee72efd1e9 Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang 7d99157362 Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D167515
2023-03-13 11:12:33 +00:00
Kershaw Chang 2b54ddaca8 Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-13 11:12:32 +00:00
Marian-Vasile Laza 1b5ca21a5c Backed out 2 changesets (bug 1819969, bug 1820768) for bc failures on browser_content_crashes.js. CLOSED TREE
Backed out changeset 78a80851c017 (bug 1820768)
Backed out changeset a6cfb7f7b3c9 (bug 1819969)
2023-03-10 21:46:55 +02:00
Gabriele Svelto 6bd6805d37 Bug 1820768 - Add a test covering crash generation for sandbox violations; r=gerard-majax
Differential Revision: https://phabricator.services.mozilla.com/D171862
2023-03-10 16:57:54 +00:00
Mark Banner 80cc721b82 Bug 1820498 - Convert PerTestCoverageUtils to an ES module. r=marco,webdriver-reviewers,perftest-reviewers,sparky,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D171689
2023-03-06 19:13:58 +00:00
Gijs Kruitbosch a2ca4e4b33 Bug 1819445 - fix logging for string exceptions, r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D171458
2023-03-03 14:53:55 +00:00
Marian-Vasile Laza 507c6dcea8 Backed out changeset 60ea4459193f (bug 1819445) for devtools failures on browser_resources_network_events.js. CLOSED TREE 2023-03-03 15:40:44 +02:00
Gijs Kruitbosch 0a40e81956 Bug 1819445 - fix logging for string exceptions, r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D171458
2023-03-03 11:58:30 +00:00
Joel Maher e401f6a88f Bug 1819381 - when failing to launch browser with permission error, exit ASAP and RETRY. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D171406
2023-03-02 01:11:25 +00:00
Masayuki Nakano dab48fb890 Bug 1797796 - Make `eSetSelection` event not handled if `Selection` is set to same offset and length r=m_kato
`ContentEventHandler` may not replace open/close tags of inline elements and
close tags of block elements with a line break etc.  Therefore, one offset may
mean multiple points in the DOM tree.  From the DOM tree point of view, every
DOM point may have different meaning and styles.  Therefore, if IME sets
`Selection` to current range, we should not update `Selection` with the log of
`ContentEventHandler`.  Otherwise, new content will appear at different position
in the DOM tree and it may cause different style text, etc.

`IMEContentObserver` has cache of `Selection` while an editor has focus.
Therefore, for avoiding the query cost of `Selection` for each `eSetSelection`
event, `ContentEventHandler` should be used in `IMEContentObserver` instead if
an instance is available.  Therefore, this patch makes `TextComposition`
delegate the handling to `IMEContentObserver` and check `Selection` range only
when `IMEContentObserver` is available.  Note that `eSetSelection` is probably
used only when editable element has focus.  Therefore, it must be fine to skip
selection range check in the other cases.

Differential Revision: https://phabricator.services.mozilla.com/D171179
2023-03-01 05:57:32 +00:00
Gijs Kruitbosch 35c2e74490 Bug 1819134 - fix 'Error' object dection in x-window errors in mochitests and associated logging, r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D171118
2023-02-28 17:04:58 +00:00
Makoto Kato aa3ccd258b Bug 1618885 - Remove unused is_fennec. r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,sgalich,robwu,calu
is_fennec is unused now, let's remove it.

Differential Revision: https://phabricator.services.mozilla.com/D170849
2023-02-27 01:44:18 +00:00
Peter Van der Beken d6fe05cdfd Bug 1816697 - Change test annotations for tests that fail/only succeed with session-history-in-parent. r=smaug
Some of the tests that fail (or only succeed) with SHIP are currently marked for
Fission. This makes them fail once we turn on SHIP without Fission.

Differential Revision: https://phabricator.services.mozilla.com/D169824
2023-02-21 14:58:35 +00:00
Joel Maher 5606860f34 Bug 1816015 - remove unnecessary force-terminate* messages as errors, print as info. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D169501
2023-02-16 18:32:28 +00:00
Joel Maher a62ef05cdb Bug 1816191 - Skip tests in order to keep win7 running @ azure. r=gbrown,necko-reviewers,settings-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,nalexander,sgalich,alwu
Differential Revision: https://phabricator.services.mozilla.com/D169523
2023-02-14 23:44:12 +00:00
Gijs Kruitbosch 387cf24ca0 Bug 1810141 - fix tests to deal with changes to loadURI, r=mossop,perftest-reviewers,geckoview-reviewers,extension-reviewers,sparky,owlish
Depends on D168396

Differential Revision: https://phabricator.services.mozilla.com/D168397
2023-02-13 23:50:41 +00:00
Andi-Bogdan Postelnicu d7e8a09c21 Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium
Updated with clang-format version 15.0.5 (taskcluster-MKK8dHUpQkGfPLA793lizg)
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D168658
2023-02-13 15:02:07 +00:00
Cristina Horotan 5f4356e527 Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE
Backed out changeset 8781a0d1254d (bug 1810141)
Backed out changeset 131037295784 (bug 1810141)
Backed out changeset 3852fbe290f4 (bug 1810141)
Backed out changeset 118f131a524a (bug 1810141)
Backed out changeset ab5d76846e10 (bug 1810141)
Backed out changeset dce3aa683445 (bug 1810141)
Backed out changeset 4dc41d90dbb3 (bug 1810141)
Backed out changeset 50b57ba1a061 (bug 1810141)
Backed out changeset 569de94781e4 (bug 1810141)
2023-02-13 16:05:30 +02:00
Gijs Kruitbosch ff1cc20bd7 Bug 1810141 - fix tests to deal with changes to loadURI, r=mossop,perftest-reviewers,geckoview-reviewers,extension-reviewers,sparky,owlish
Depends on D168396

Differential Revision: https://phabricator.services.mozilla.com/D168397
2023-02-13 12:55:26 +00:00
William Durand 20bcf70aac Bug 1815853 - Make sure `JSON.stringify()` won't break in `testResult()`. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D169303
2023-02-09 20:12:43 +00:00
William Durand 2c79a419fe Bug 1815682 - Improve the output of uncaught exceptions. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D169196
2023-02-08 14:44:37 +00:00
Gijs Kruitbosch 8a1165469e Bug 1815439 - remove superfluous extra global loadURI method from browser.js, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D168398
2023-02-07 14:22:02 +00:00
Geoff Brown d057bdc7ca Bug 1814685 - Add option for easily saving mochitest server logs r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D168751
2023-02-06 19:47:22 +00:00
Neil Deakin 9c2e7458ba Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato
Most usage is a straight replacement but gtk needs extra changes as it transfers plain text in UTF8 natively and needs to be converted into UTF16, and Windows uses single-byte characters for RTF and CF_HTML formats so we preserve this.

Differential Revision: https://phabricator.services.mozilla.com/D158587
2023-02-01 23:30:55 +00:00
Gijs Kruitbosch 01261997d7 Bug 1795255 - autofix duplicate imports in tests under docshell, dom, layout, security, testing, toolkit and widget, r=Standard8,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D167715
2023-01-31 11:48:42 +00:00
Mark Banner 47d3353423 Bug 1813308 - Remove unused browser-test.js definition of copyToProfile in browser mochitest scope. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D168219
2023-01-30 16:50:09 +00:00
Otto Länd 24b4aad2da Bug 1811634: apply code formatting via Lando
# ignore-this-changeset
2023-01-27 23:22:44 +00:00
Brad Werth 022da2c83c Bug 1811634 Part 2: Ignore known memory leaks in Windows chrome tests. r=jmaher
Depends on D167470

Differential Revision: https://phabricator.services.mozilla.com/D167831
2023-01-27 23:19:49 +00:00
Gijs Kruitbosch 129735a58b Bug 1811854 - switch remaining tests to BrowserTestUtils.loadURIString from BrowserTestUtils.loadURI, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D167558
2023-01-24 13:19:11 +00:00
Gijs Kruitbosch 01b24928ce Bug 1810995 - rename BrowserTestUtils' loadURI to loadURIString to more accurately reflect what it does, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D167150
2023-01-19 20:16:41 +00:00
Florian Quèze f40dd158de Bug 1808729 - reset the user idle service before each browser-chrome mochitest, r=jmaher.
Depends on D166099

Differential Revision: https://phabricator.services.mozilla.com/D166704
2023-01-16 14:55:22 +00:00
alwu 0fd970dca3 Bug 1809983 - part1 : split media browser tests from mochitest-browser-chrome into mochitest-browser-media. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166705
2023-01-13 00:04:13 +00:00