Emilio Cobos Álvarez
6f904444e8
Bug 1832173 - Remove HasArcFFI for AnimationValue. r=boris
...
See previous patches for context.
Differential Revision: https://phabricator.services.mozilla.com/D177622
2023-05-11 08:25:36 +00:00
Emilio Cobos Álvarez
1c967006ab
Bug 1831539 - Remove HasBoxFFI. r=boris
...
HasBoxFFI and HasArcFFI aren't great, see bug 1831242 as for examples of
why.
HasArcFFI requires a bit more care, but HasBoxFFI doesn't give us much
benefit. Instead use the same type in the FFI boundary.
Differential Revision: https://phabricator.services.mozilla.com/D177252
2023-05-09 11:07:26 +00:00
Jan Varga
d195117a36
Bug 1829819: Use persistenceType 'private' for private origins.r=janv,dom-storage-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D175916
2023-05-04 04:50:45 +00:00
Natalia Csoregi
b8b793fec3
Backed out 13 changesets (bug 1831040, bug 1829814, bug 1831046, bug 1831039, bug 1781201, bug 1829819, bug 1830887) for causing failures on test_upgrade_add_index.html. CLOSED TREE
...
Backed out changeset 0c3955157c7b (bug 1830887)
Backed out changeset 4f0b25db66d8 (bug 1831040)
Backed out changeset c503469bc048 (bug 1829814)
Backed out changeset 1a3dbef50207 (bug 1829819)
Backed out changeset 2c78a126281e (bug 1831046)
Backed out changeset 37aede27e09d (bug 1831039)
Backed out changeset bafee1f02404 (bug 1781201)
Backed out changeset 11c291dd3fb0 (bug 1781201)
Backed out changeset 2b8747b30bba (bug 1781201)
Backed out changeset 2b8e694fbfb9 (bug 1781201)
Backed out changeset e4ac26a5b071 (bug 1781201)
Backed out changeset a3ae636a90fe (bug 1781201)
Backed out changeset 236d1112bc5b (bug 1781201)
2023-05-04 02:27:58 +03:00
Jan Varga
b249c3278f
Bug 1829819: Use persistenceType 'private' for private origins.r=janv,dom-storage-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D175916
2023-05-03 19:49:32 +00:00
Harveer Singh
31e367ccb6
Bug 1827376: Introduced a new persistence type 'Private' for PBM.r=janv,dom-storage-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D173422
2023-04-25 11:34:36 +00:00
Daisuke Akatsuka
37bf49cf78
Bug 1806591: Implement scroll handoff for tree widgets r=mstriemer,masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D174051
2023-04-24 06:27:13 +00:00
Natalia Csoregi
891e1ba995
Backed out changeset e49dbf193eac (bug 1806591) for causing failures on test_tree_scroll.xhtml. CLOSED TREE
2023-04-24 01:19:37 +03:00
Daisuke Akatsuka
11e60426c0
Bug 1806591: Implement scroll handoff for tree widgets r=mstriemer,masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D174051
2023-04-23 20:53:57 +00:00
Emilio Cobos Álvarez
39aeca9d9c
Bug 1449669 - Remove IsNodeOfType. r=longsonr
...
Depends on D172893
Differential Revision: https://phabricator.services.mozilla.com/D172894
2023-03-17 19:22:14 +00:00
Chris Martin
b42c4425d0
Bug 1816559 - Remote compositor recording from GPU process r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D170514
2023-03-14 13:31:37 +00:00
Kagami Sascha Rosylight
f0108cf5d0
Bug 1500343 - Part 4: Remove IDL for IDBFileHandle/FileRequest/MutableFile r=dom-storage-reviewers,emilio,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D159733
2023-02-23 08:59:07 +00:00
Iulian Moraru
0e32af533c
Backed out 7 changesets (bug 1500343) for causing build bustages on ActorsParent.cpp. CLOSED TREE
...
Backed out changeset 5d0b35ae2241 (bug 1500343)
Backed out changeset abe4c30b975e (bug 1500343)
Backed out changeset c5c7e5d59035 (bug 1500343)
Backed out changeset de71281af75c (bug 1500343)
Backed out changeset 220abddba749 (bug 1500343)
Backed out changeset f6a065149ce1 (bug 1500343)
Backed out changeset 1f9e20fcae19 (bug 1500343)
2023-02-23 01:51:44 +02:00
Kagami Sascha Rosylight
f3fd792738
Bug 1500343 - Part 4: Remove IDL for IDBFileHandle/FileRequest/MutableFile r=dom-storage-reviewers,emilio,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D159733
2023-02-22 20:03:15 +00:00
Emilio Cobos Álvarez
627efca14c
Bug 1817381 - Remove DOMWindowUtils.fullZoom. r=jfkthame,layout-reviewers,extension-reviewers,rpl,geckoview-reviewers,m_kato
...
Callers just want the actual full zoom, not the one including the OS
text-scale.
Android doesn't have OS zoom to begin with, so this can't change
behavior, but the desktop caller passes the usual full zoom here[1], so
we're making the behavior match.
[1]: https://searchfox.org/mozilla-central/rev/9de332d5c8faac58dc1232b8a6383ce6cb1400f4/browser/components/extensions/parent/ext-tabs.js#1011
Depends on D170196
Differential Revision: https://phabricator.services.mozilla.com/D170197
2023-02-21 17:24:00 +00:00
Marian-Vasile Laza
7ccec0b37b
Backed out changeset 343daddee430 (bug 1817381) for mochitest failures on test_bug574663.html. CLOSED TREE
2023-02-21 10:41:53 +02:00
Emilio Cobos Álvarez
1f4a94702f
Bug 1817381 - Remove DOMWindowUtils.fullZoom. r=jfkthame,layout-reviewers,extension-reviewers,rpl,geckoview-reviewers,m_kato
...
Callers just want the actual full zoom, not the one including the OS
text-scale.
Android doesn't have OS zoom to begin with, so this can't change
behavior, but the desktop caller passes the usual full zoom here[1], so
we're making the behavior match.
[1]: https://searchfox.org/mozilla-central/rev/9de332d5c8faac58dc1232b8a6383ce6cb1400f4/browser/components/extensions/parent/ext-tabs.js#1011
Depends on D170196
Differential Revision: https://phabricator.services.mozilla.com/D170197
2023-02-21 05:37:35 +00:00
Tom Schuster
16d1d2ed89
Bug 1813584 - Use fine grained RFP for CubebUtils::PreferredSampleRate. r=media-playback-reviewers,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D168523
2023-02-15 10:55:31 +00:00
Razvan Cojocaru
d8e9d2a141
Bug 1746126 - Allow controlling zoom-to-focused-input behaviour using touch-action. r=botond
...
Rename AllowedTouchBehavior::DOUBLE_TAP_ZOOM to ANIMATING_ZOOM, and
CompositorHitTestFlags::eTouchActionDoubleTapZoomDisabled to
eTouchActionAnimatingZoomDisabled while at it.
Differential Revision: https://phabricator.services.mozilla.com/D167522
2023-01-26 01:07:58 +00:00
Olli Pettay
5d21de32ac
Bug 1807812 - Remove WidgetEventTime::mTime, r=masayuki,geckoview-reviewers,m_kato
...
HTMLSelectEventListener changes are needed, since currently that code works somewhat by accident given that
mTime often contains totally bogus values, like PR_IntervalNow(). Those changes then reveal issues also in
browser_editAddressDialog.js.
Differential Revision: https://phabricator.services.mozilla.com/D165618
2023-01-02 12:31:40 +00:00
Martin Robinson
abb5044ca7
Bug 1803377 - Rename the values of the IntrinsicDirty enum r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D163607
2022-12-02 12:27:31 +00:00
Botond Ballo
68c71a503c
Bug 1802225 - Remove Layers.{h,cpp}. r=tnikkel,geckoview-reviewers,jgilbert,media-playback-reviewers,padenot,m_kato
...
Where appropriate, `#include "Layers.h"` is replaced with
more specific inclusions.
Differential Revision: https://phabricator.services.mozilla.com/D162934
2022-11-29 01:52:03 +00:00
Emilio Cobos Álvarez
486040e135
Bug 1801094 - Clean-up a bit WhereToScroll. r=layout-reviewers,credential-management-reviewers,sgalich,dshin
...
This doesn't change behavior, but clarifies a bit the naming to match
the scrollIntoView() API. Also makes the name generic (rather than
Top/Left/etc), since for scrollIntoView we want to make the axes be
logical.
That will be done in bug 1789464 (probably via an extra ScrollFlag).
Differential Revision: https://phabricator.services.mozilla.com/D162286
2022-11-18 10:02:23 +00:00
Edgar Chen
04cf2a513c
Bug 1795116 - Support specifying tiltX/tiltY/twist on synthesized touch event; r=webdriver-reviewers,smaug,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D160970
2022-11-08 19:47:29 +00:00
Masayuki Nakano
725ca35ef4
Bug 1792515 - Rename InputContext::mHTMLInputInputmode to mHTMLInputMode r=m_kato,geckoview-reviewers
...
Now, `inputmode` attribute (`inputMode` in the DOM interface) is a global
attribute for `contenteditable`. Therefore, `Input` is not necessary and
`Inputmode` should be `InputMode`.
Differential Revision: https://phabricator.services.mozilla.com/D158244
2022-09-29 14:06:03 +00:00
Masayuki Nakano
3f00f4d8e8
Bug 1774317 - part 1: Make IMEStateManager notify nsIWidget of the document URL r=smaug
...
`TSFTextStore` needs to expose the document URL for supporting new feature
of Windows 11 22H2 update. Therefore, the `InputContext` should have the
document URL.
Differential Revision: https://phabricator.services.mozilla.com/D157893
2022-09-29 14:06:02 +00:00
Sandor Molnar
c6f1e9ee28
Backed out 2 changesets (bug 1774317) for causing top-crash (bug 1792767) CLOSED TREE
...
Backed out changeset 418dec4ac3f9 (bug 1774317)
Backed out changeset 329666086b40 (bug 1774317)
2022-09-29 04:48:26 +03:00
Masayuki Nakano
b3600e6d25
Bug 1774317 - part 1: Make IMEStateManager notify nsIWidget of the document URL r=smaug
...
`TSFTextStore` needs to expose the document URL for supporting new feature
of Windows 11 22H2 update. Therefore, the `InputContext` should have the
document URL.
Differential Revision: https://phabricator.services.mozilla.com/D157893
2022-09-28 11:46:59 +00:00
Hiroyuki Ikezoe
81f8fd1503
Bug 1787079 - Implement nsIDOMWindowUtils.setHiDPiMode and restoreHiDPIMode on Windows. r=rkraesig
...
And make the APIs available on debug builds.
To implement the APIs we used undocumented APIs published in
https://github.com/lihas/windows-DPI-scaling-sample .
Differential Revision: https://phabricator.services.mozilla.com/D156265
2022-09-15 10:13:14 +00:00
Sandor Molnar
cddb6cfdb3
Backed out 6 changesets (bug 1787079) for causing browser-chrome failures in layout/base/tests/browser_bug1787079.js CLOSED TREE
...
Backed out changeset b6075adb01a7 (bug 1787079)
Backed out changeset d5d0f8bb0be4 (bug 1787079)
Backed out changeset dce92508b5a3 (bug 1787079)
Backed out changeset 650f8d455e0e (bug 1787079)
Backed out changeset 1a9828bbf04b (bug 1787079)
Backed out changeset 3580b308ec59 (bug 1787079)
2022-09-14 06:13:39 +03:00
Hiroyuki Ikezoe
1e1595638c
Bug 1787079 - Implement nsIDOMWindowUtils.setHiDPiMode and restoreHiDPIMode on Windows. r=rkraesig
...
And make the APIs available on debug builds.
To implement the APIs we used undocumented APIs published in
https://github.com/lihas/windows-DPI-scaling-sample .
Differential Revision: https://phabricator.services.mozilla.com/D156265
2022-09-14 01:15:54 +00:00
Timothy Nikkel
31d2695f81
Bug 1786818. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D155462
2022-09-08 03:29:36 +00:00
Emilio Cobos Álvarez
2cd1fdb705
Bug 1789522 - Provide transient user activation when handling user input from JS. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D156670
2022-09-07 20:36:41 +00:00
Manuel Bucher
25837aaf2e
Bug 1787729 - Move NS_HasRootDomain, CheckForBrokenChromeURL, IsCoepCredentiallessEnabled to mozilla::net namespace r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D155992
2022-08-31 11:19:14 +00:00
Hiroyuki Ikezoe
4917d58c7b
Bug 1786668 - Add a test case that MobileViewportManager is properly updated when browser window moves from a HiDPI monitor to normal one. r=tnikkel
...
Unfortunately this test doesn't run as expected on our CI since macs on our CI
are running normal DPI mode.
I tested this test works properly on my macbook, it fails without the fix in the
previous commit and it passes with the fix.
Differential Revision: https://phabricator.services.mozilla.com/D153688
2022-08-26 04:44:55 +00:00
Emilio Cobos Álvarez
c20ec755c9
Bug 1782751 - Make desktop viewport mode a synced BrowsingContext field. r=twisniewski
...
So that it's preserved properly across replacements (bug 1781936).
Differential Revision: https://phabricator.services.mozilla.com/D155274
2022-08-22 22:12:07 +00:00
Emilio Cobos Álvarez
d23c50ffee
Bug 1782082 - Avoid rounding error accumulation in nsDOMWindowUtils::ToScreenRectInCSSUnits. r=dholbert
...
Make sure to use the same scale the browser-chrome would actually use by
rounding to full app units.
This is especially visible with 1.5 text scale factor.
Differential Revision: https://phabricator.services.mozilla.com/D153099
2022-07-29 09:04:43 +00:00
Sean Feng
288cbe9f46
Bug 1778492 - Add an origin trial for coep: credentialless r=emilio,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D151381
2022-07-27 20:33:19 +00:00
Marian-Vasile Laza
2ab97e789a
Backed out 2 changesets (bug 1778492) for causing eslint failures.
...
Backed out changeset 6c3ac3569d31 (bug 1778492)
Backed out changeset 34227495753a (bug 1778492)
2022-07-26 17:43:53 +03:00
Sean Feng
38f70ee5fc
Bug 1778492 - Add an origin trial for coep: credentialless r=emilio,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D151381
2022-07-26 14:06:04 +00:00
Edgar Chen
775d68bc7e
Bug 1778486 - Use Pointer event to record last user input position; r=smaug
...
In order to support record the last user input for touch given APZ won't
synthesize mouse event for touch in parent process. Using pointer event could
support pen input nicely, too.
Differential Revision: https://phabricator.services.mozilla.com/D151282
2022-07-22 13:51:47 +00:00
Bogdan Szekely
86a4afe3d3
Backed out changeset 5ffdcd317253 (bug 1778486) for causing mochitest failures on test_getLastOverWindowPointerLocationInCSSPixels.html CLOSED TREE
2022-07-21 16:58:07 +03:00
Edgar Chen
758aaaa824
Bug 1778486 - Use Pointer event to record last user input position; r=smaug
...
In order to support record the last user input for touch given APZ won't
synthesize mouse event for touch in parent process. Using pointer event could
support pen input nicely, too.
Differential Revision: https://phabricator.services.mozilla.com/D151282
2022-07-21 08:56:48 +00:00
Iulian Moraru
eefea78474
Backed out changeset 9a5d1eaadf39 (bug 1778486) for causing mochitest-crash failures on test_getLastOverWindowPointerLocationInCSSPixels.html. CLOSED TREE
2022-07-20 18:56:03 +03:00
Edgar Chen
4811778c31
Bug 1778486 - Use Pointer event to record last user input position; r=smaug
...
In order to support record the last user input for touch given APZ won't
synthesize mouse event for touch in parent process. Using pointer event could
support pen input nicely, too.
Differential Revision: https://phabricator.services.mozilla.com/D151282
2022-07-20 15:03:19 +00:00
Kagami Sascha Rosylight
0e82d63d54
Bug 1354500 - Part 1: Remove options parameter from nsDOMWindowUtils::GetFileReferences r=dom-storage-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D151416
2022-07-15 01:55:26 +00:00
James Graham
b57989d24a
Bug 1773696 - Make wheel event IPC depend on test_events_async_enabled, r=smaug
...
The `widget->DispatchInputEvent` codepath only works in gecko CI
configurations, so to allow this to be used for e.g. WebDriver
implement a path that doesn't go via the parent process.
Differential Revision: https://phabricator.services.mozilla.com/D150632
2022-07-06 19:55:12 +00:00
Cristian Tuns
c35e657922
Backed out changeset 85d0efe7eb9b (bug 1773696) for causing mochitest failures in test_bug946632.html CLOSED TREE
2022-07-04 13:04:32 -04:00
James Graham
a60c9412c5
Bug 1773696 - Make wheel event IPC depend on test_events_async_enabled, r=smaug
...
The `widget->DispatchInputEvent` codepath only works in gecko CI
configurations, so to allow this to be used for e.g. WebDriver
implement a path that doesn't go via the parent process.
Differential Revision: https://phabricator.services.mozilla.com/D150632
2022-07-04 12:56:20 +00:00
Bogdan Szekely
ff9c07ed1b
Backed out changeset 83c2ba6648ac (bug 1773696) for causing mochitest failures on TimeStamp.h CLOSED TREE
2022-06-30 13:17:39 +03:00