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

11293 Коммитов

Автор SHA1 Сообщение Дата
Peter Van der Beken 5a5ef4beda Bug 1900930 - Make ENSURE_SUCCESS call WouldReportJSException. r=dom-core,win-reviewers,emilio,gstoll,edgar
Making ENSURE_SUCCESS return the result of StealNSResult() ensures that
exceptions in the ErrorResult are deal with. We can then signal that through
WouldReportJSException.

Differential Revision: https://phabricator.services.mozilla.com/D214792
2024-08-21 08:43:09 +00:00
Peter Van der Beken 834db6cfe8 Bug 1906744 - Check if constructor is enabled before installing named property. r=mccr8,dom-storage-reviewers,janv,asuth,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D216671
2024-08-08 16:35:19 +00:00
Narcis Beleuzu f1d110fa32 Backed out changeset 393ab27c060b (bug 1906744) for Hazard bustages on Localization.cpp 2024-08-07 00:57:51 +03:00
Peter Van der Beken 931e7dd36c Bug 1906744 - Check if constructor is enabled before installing named property. r=mccr8,dom-storage-reviewers,janv,asuth,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D216671
2024-08-06 15:29:04 +00:00
Iulian Moraru 200a78f9d6 Backed out changeset e9975f346b2b (bug 1906744) for causing multiple failures. CLOSED TREE 2024-08-05 20:44:20 +03:00
Peter Van der Beken 327f808e92 Bug 1906744 - Check if constructor is enabled before installing named property. r=mccr8,dom-storage-reviewers,janv,asuth,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D216671
2024-08-05 15:58:56 +00:00
James Teh 38e692da86 Bug 1905211 part 7: Notify accessibility about ranges that are added or removed from selections. r=smaug,morgan
nsISelectionListener isn't sufficient because it only notifies that the selection has changed.
A11y needs to know specifically which ranges were added or removed.
Previously, we handled this specifically for spelling errors in mozInlineSpellChecker.
That code has been removed and replaced with a more general approach.

Since we now have these notifications, rather than using nsISelectionListener just to fire events, we now use these notifications for that as well.
This avoids the need to add additional nsISelectionListeners, which would get messy particularly for custom highlights where there can be an arbitrary number of selections at any given time.

Differential Revision: https://phabricator.services.mozilla.com/D217068
2024-08-05 02:54:37 +00:00
Tamas Szentpeteri 0589aeea28 Backed out changeset 2fa58daa8086 (bug 1906744) for causing mochitest browser time outs. CLOSED TREE 2024-07-26 19:33:31 +03:00
Peter Van der Beken 61b19f1c52 Bug 1906744 - Check if constructor is enabled before installing named property. r=mccr8,dom-storage-reviewers,janv,asuth
Differential Revision: https://phabricator.services.mozilla.com/D216671
2024-07-26 15:08:34 +00:00
William Wen 655f970c60 Bug 1904095 - Add tests for new permission manager functionality. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D214729
2024-07-26 12:16:52 +00:00
Stanca Serban 11cd73d7a7 Backed out 6 changesets (bug 1900930) for causing xpcshell assertion failures in ErrorResult.h. CLOSED TREE
Backed out changeset 5234a13894b2 (bug 1900930)
Backed out changeset 638842494167 (bug 1900930)
Backed out changeset 36695bae43ed (bug 1900930)
Backed out changeset 23ab72aa4589 (bug 1900930)
Backed out changeset c89109c12d59 (bug 1900930)
Backed out changeset 2d3f52edb98a (bug 1900930)
2024-07-25 13:53:53 +03:00
Peter Van der Beken a630b88fff Bug 1900930 - Make ENSURE_SUCCESS call WouldReportJSException. r=dom-core,win-reviewers,emilio,gstoll,edgar
Making ENSURE_SUCCESS return the result of StealNSResult() ensures that
exceptions in the ErrorResult are deal with. We can then signal that through
WouldReportJSException.

Differential Revision: https://phabricator.services.mozilla.com/D214792
2024-07-25 07:40:40 +00:00
Jan-Ivar Bruaroey 891c0ae289 Bug 1904632 - validate permissions.default.* prefs r=pbz,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D216856
2024-07-22 14:42:46 +00:00
Sylvestre Ledru 45030f6970 Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,necko-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,devtools-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,migration-reviewers,padenot,mconley,nchevobbe,kershaw,gstoll,mstange,bytesized,m_kato
This new version of clang 17 also slightly changed the formatting.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D215914
2024-07-17 11:15:31 +00:00
William Wen 491bc93a5c Bug 1658094 - Add new cleaner for "cookie" permissions. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D212057
2024-06-24 15:14:45 +00:00
Timur Valeev 11b82e90e7 Bug 1881694 - Remove unused method PermissionManager::LegacyTestPermissionFromURI. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D213918
2024-06-18 11:18:42 +00:00
Masayuki Nakano 58f8b541ad Bug 1675847 - part 3: Make `ePointerClick` event dispatchers and handlers use `WidgetPointerEvent` r=smaug,search-reviewers,devtools-reviewers,nchevobbe,jteow
This patch makes the all `ePointerClick` event dispatcher in C++ code use
`WidgetPointerEvent` instead of `WidgetMouseEvent`.

Then, this patch also makes the all `click` event dispatcher in chrome code use
`PointerEvent` instead of `MouseEvent`.  For detecting wrong trusted event
dispatching of `click` event, this patch adds assertion into `MouseEvent`.
Therefore, all chrome test dispatchers also changed to use `PointerEvent`.

Finally, this patch includes a change of a WPT.  That checks the `pointerId`
caused by executing an access key.  In this case, the value should be `-1`
rather than the default value `0` because Pointer Event spec defines so for
synthetic pointer events caused by non-pointing devices [1].  Chrome also
sets it to `-1` and fails [2].  Therefore, the new assertion will pass on both
Firefox and Chrome.

1. https://w3c.github.io/pointerevents/#dom-pointerevent-pointerid
2. https://wpt.fyi/results/uievents/interface/keyboard-accesskey-click-event.html?run_id=5087897523060736&run_id=5136270464647168&run_id=5163620816388096&run_id=5201281304231936

Differential Revision: https://phabricator.services.mozilla.com/D213001
2024-06-14 00:18:47 +00:00
Masayuki Nakano 899c9b469c Bug 1675847 - part 2: Rename some methods which handle "MouseClick" r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D213000
2024-06-14 00:18:46 +00:00
Masayuki Nakano 2fb07300f9 Bug 1675847 - part 1: Rename `eMouseClick` and `eMouseAuxClick` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D212999
2024-06-14 00:18:46 +00:00
Francesco Lodolo (:flod) ed2e6cb2a4 Bug 1811451 - Update en-US dictionary with new words, r=bolsson
Differential Revision: https://phabricator.services.mozilla.com/D211819
2024-05-30 06:07:57 +00:00
Paul Zuehlcke c455cf46f1 Bug 1899292 - Call EnsureReadCompleted before computing permission type index. r=permissions-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D211854
2024-05-28 15:26:04 +00:00
Geoff Lankow e11d27d8f8 Bug 1851535 - Remove dead arguments for switching LDAP versions. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D209781
2024-05-08 22:48:53 +00:00
Paul Zuehlcke 8a943de46e Bug 1893434 - Test, r=manuel,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D208764
2024-04-30 09:30:33 +00:00
Norisz Fay 915fa64561 Backed out 2 changesets (bug 1893434) for causing xpcshell failures on test_bouncetracking_importUserActivationPermissions.js CLOSED TREE
Backed out changeset f85c87baf5db (bug 1893434)
Backed out changeset f2662a25f169 (bug 1893434)
2024-04-26 23:06:30 +03:00
Paul Zuehlcke 62b58a5464 Bug 1893434 - Test, r=manuel,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D208764
2024-04-26 17:47:42 +00:00
Harshit Sohaney 15e5ac7e50 Bug 1881797 - (part 3) Testing for storage permission clearing in the new clear history dialog. r=pbz,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D204919
2024-04-09 15:39:32 +00:00
Nika Layzell a48079cd72 Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8
Previously the `boolean` type was also declared using a `bool` typedef in
xpidl, meaning that both were used in various places. This patch standardizes
on the built-in `boolean` type, removing the typedef.

Differential Revision: https://phabricator.services.mozilla.com/D206382
2024-04-04 18:45:21 +00:00
unknown c2f36e9b38 Bug 1885246 - Replace PlainOldDataSerializer with ParamTraits_TiedFields, except for gfx/vr and gfx/layers/wr. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D204567
2024-03-23 01:06:45 +00:00
Cristian Tuns ddbddee3ca Backed out changeset ebc075fd132d (bug 1885246) for causing bc failures in /EnumSerializer.h CLOSED TREE 2024-03-23 02:08:24 -04:00
unknown 941fa870d7 Bug 1885246 - Replace PlainOldDataSerializer with ParamTraits_TiedFields, except for gfx/vr and gfx/layers/wr. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D204567
2024-03-23 01:06:45 +00:00
Iulian Moraru 2099cdafe7 Backed out changeset 1e8b7f3addc7 (bug 1885246) for causing non-unified build bustages on TCPSocket.cpp. CLOSED TREE 2024-03-21 17:53:50 +02:00
unknown 0bb02f8f0f Bug 1885246 - Replace PlainOldDataSerializer with ParamTraits_TiedFields, except for gfx/vr and gfx/layers/wr. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D204567
2024-03-21 14:04:04 +00:00
Narcis Beleuzu 4c5db927ba Backed out changeset 98564ffc07ca (bug 1885246) for bustages on WebGLIpdl.h 2024-03-20 04:26:20 +02:00
unknown 44a0c5fe34 Bug 1885246 - Replace PlainOldDataSerializer with ParamTraits_TiedFields, except for gfx/vr and gfx/layers/wr. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D204567
2024-03-20 01:56:09 +00:00
Artur Iunusov 180e6e3a44 Bug 1770944 - test_permmanager_matches:removed inIsolatedMozBrowser related tests, r=smaug
Depends on D192796

Differential Revision: https://phabricator.services.mozilla.com/D193226
2024-03-07 13:04:27 +00:00
Artur Iunusov d19181d9e7 Bug 1770944 - Fixed all test_permmanager_migrate.js tests, r=smaug
Depends on D192626

Differential Revision: https://phabricator.services.mozilla.com/D192796
2024-03-07 13:04:26 +00:00
Artur Iunusov 1b2b77cf27 Bug 1770944: Fixed permission manager tests, r=smaug
Depends on D192485

Differential Revision: https://phabricator.services.mozilla.com/D192502
2024-03-07 13:04:25 +00:00
Artur Iunusov b1d6f2eeb8 Bug 1770944 - Remove other references to inBrowserElement, r=cookie-reviewers,valentin,janv,decoder
Depends on D183230

Differential Revision: https://phabricator.services.mozilla.com/D189490
2024-03-07 13:04:23 +00:00
Artur Iunusov 67db960e48 Bug 1770944 - Remove `isInIsolatedMozBrowserElement`. r=smaug,necko-reviewers,kershaw,valentin
Depends on D183229

Differential Revision: https://phabricator.services.mozilla.com/D183230
2024-03-07 13:04:22 +00:00
Dave Townsend abcec2057e Bug 1864896: Autofix unused function arguments (extensions/permissions). r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D202966
2024-03-01 18:28:35 +00:00
Iulian Moraru 97fd2dad96 Backed out 5 changesets (bug 1864896) for causing newtab failures related to bundles. CLOSED TREE
Backed out changeset 2cd1cc279f99 (bug 1864896)
Backed out changeset e48d6928bdcb (bug 1864896)
Backed out changeset 1abbcaf91693 (bug 1864896)
Backed out changeset 06a05e5257d5 (bug 1864896)
Backed out changeset b1955ae3e9e2 (bug 1864896)
2024-03-01 12:58:03 +02:00
Dave Townsend 071c853e6c Bug 1864896: Autofix unused function arguments (extensions/permissions). r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D202966
2024-03-01 10:10:10 +00:00
Narcis Beleuzu 7eae8c1064 Backed out 16 changesets (bug 1770944) as req by asuth.
Backed out changeset 61af32f40777 (bug 1770944)
Backed out changeset 4ff0c45db93b (bug 1770944)
Backed out changeset 8a217eff7bcd (bug 1770944)
Backed out changeset 6435f48c96bf (bug 1770944)
Backed out changeset 0d2432765ca0 (bug 1770944)
Backed out changeset 58e02566db85 (bug 1770944)
Backed out changeset 0a8c4c2460ee (bug 1770944)
Backed out changeset 9416bafd9982 (bug 1770944)
Backed out changeset 79de4f83fe2e (bug 1770944)
Backed out changeset 63ac518aceb0 (bug 1770944)
Backed out changeset 14952f872b77 (bug 1770944)
Backed out changeset f65e0967ad75 (bug 1770944)
Backed out changeset bd53c42038f7 (bug 1770944)
Backed out changeset 36c378ba8212 (bug 1770944)
Backed out changeset 9ba54ab06348 (bug 1770944)
Backed out changeset fb5a54b3cbe9 (bug 1770944)
2024-02-23 21:11:08 +02:00
Artur Iunusov 85703a4d1d Bug 1770944 - test_permmanager_matches:removed inIsolatedMozBrowser related tests, r=smaug
Depends on D192796

Differential Revision: https://phabricator.services.mozilla.com/D193226
2024-02-22 10:13:19 +00:00
Artur Iunusov bc1e858518 Bug 1770944 - Fixed all test_permmanager_migrate.js tests, r=smaug
Depends on D192626

Differential Revision: https://phabricator.services.mozilla.com/D192796
2024-02-22 10:13:18 +00:00
Artur Iunusov 4352913955 Bug 1770944: Fixed permission manager tests, r=smaug
Depends on D192485

Differential Revision: https://phabricator.services.mozilla.com/D192502
2024-02-22 10:13:17 +00:00
Artur Iunusov bb8df1117c Bug 1770944 - Remove other references to inBrowserElement, r=cookie-reviewers,valentin,janv,decoder
Depends on D183230

Differential Revision: https://phabricator.services.mozilla.com/D189490
2024-02-22 10:13:15 +00:00
Artur Iunusov 8a817efa45 Bug 1770944 - Remove `isInIsolatedMozBrowserElement`. r=smaug,necko-reviewers,kershaw,valentin
Depends on D183229

Differential Revision: https://phabricator.services.mozilla.com/D183230
2024-02-22 10:13:14 +00:00
Stephen A Pohl 8fa68f6233 Bug 1799332: Update tests due to no longer bundling channel-prefs.js on macOS and locking the app.update.channel pref. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D186139
2024-02-21 18:50:31 +00:00
Sandor Molnar be27c149eb Backed out 16 changesets (bug 1770944) for causing asan failures @ dom/base/InProcessBrowserChildMessageManager.cpp
Backed out changeset b73885731e73 (bug 1770944)
Backed out changeset 23d0dc98eb51 (bug 1770944)
Backed out changeset 15661e24d8e1 (bug 1770944)
Backed out changeset 97aa839dc200 (bug 1770944)
Backed out changeset 0d4318bf3239 (bug 1770944)
Backed out changeset be28bb62e9f3 (bug 1770944)
Backed out changeset 708b2671410e (bug 1770944)
Backed out changeset 0a138f3b56b9 (bug 1770944)
Backed out changeset 3a149ef794c2 (bug 1770944)
Backed out changeset 4b6ae7dd0e69 (bug 1770944)
Backed out changeset e3960ad85182 (bug 1770944)
Backed out changeset 9ea253525227 (bug 1770944)
Backed out changeset 1828b66c2f7c (bug 1770944)
Backed out changeset 55b0886f9025 (bug 1770944)
Backed out changeset a4197071d10a (bug 1770944)
Backed out changeset 9b18524f541e (bug 1770944)
2024-02-20 20:34:55 +02:00