Commit Graph

719 Commits

Author SHA1 Message Date
Norisz Fay
333caceb64 Backed out 5 changesets (bug 1742865, bug 1744397) for causing wpt failures on attr-meta-http-equiv-refresh/parsing.html CLOSED TREE
Backed out changeset 7b01edc5a0e0 (bug 1744397)
Backed out changeset 41abd4b7d2c0 (bug 1744397)
Backed out changeset 634641e3a05a (bug 1744397)
Backed out changeset 6e7755177481 (bug 1744397)
Backed out changeset e9fc94b33da9 (bug 1742865)
2021-12-14 13:25:58 +02:00
Peter Van der Beken
6c947d1a00 Bug 1744397 - Simplify refresh code: remove aMetaRefresh argument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132861
2021-12-14 10:13:59 +00:00
Edgar Chen
7ba0e26c7f Bug 1556370 - Part 2: Implement reportValidity() of ElementInternals; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D130287
2021-12-09 18:06:04 +00:00
Edgar Chen
be408c368a Bug 1742714 - Get rid of nsIFormSubmitObserver; r=geckoview-reviewers,agi,smaug
Differential Revision: https://phabricator.services.mozilla.com/D132091
2021-12-06 12:23:08 +00:00
Nihanth Subramanya
b53d383be3 Bug 1743148 - Call ensureCaptivePortalTab() directly from NetErrorParent instead of firing an obs notification. r=lyavor,valentin
Differential Revision: https://phabricator.services.mozilla.com/D132254
2021-12-04 01:49:43 +00:00
Butkovits Atila
13de1c3770 Backed out changeset dbd90d486efd (bug 1743148) for causing failures at browser_captivePortal_certErrorUI.js. CLOSED TREE 2021-12-04 01:07:26 +02:00
Nihanth Subramanya
77a737b1a4 Bug 1743148 - Call ensureCaptivePortalTab() directly from NetErrorParent instead of firing an obs notification. r=lyavor,valentin
Differential Revision: https://phabricator.services.mozilla.com/D132254
2021-12-03 21:52:41 +00:00
criss
67b2c3928c Backed out changeset f03fa07c78df (bug 1743148) for causing failures on browser_captivePortal_certErrorUI.js. CLOSED TREE 2021-12-03 22:15:36 +02:00
Nihanth Subramanya
c80b5b3dfc Bug 1743148 - Call ensureCaptivePortalTab() directly from NetErrorParent instead of firing an obs notification. r=lyavor,valentin
Differential Revision: https://phabricator.services.mozilla.com/D132254
2021-12-03 19:16:48 +00:00
Gijs Kruitbosch
f7af2c33b1 Bug 1742801 - do not consume the user gesture from ClickHandlerChild if ClickHandlerParent will ignore the click anyway, r=edgar
This commit does a couple of things:
- move whereToOpenLink and getRootEvent implementations into BrowserUtils,
  so they can be used from the child process.
- forward callers in utilityOverlay.js to the BrowserUtils ones
  (bug 1742889 will get rid of the forwarding and update all the callers;
   we might be able to get this and bug 1739929 into beta if risk is low
   enough, and touching a bunch of extra files really doesn't help with
   that)
- move the lazy-load of BrowserUtils from browser.js to utilityOverlay.js
  This is safe because everywhere that loads browser.js also loads
  utilityOverlay.js. It's needed because there are some places that use
  utilityOverlay.js but not browser.js, and so now they need access to
  BrowserUtils.jsm.
- use whereToOpenLink to determine if we should avoid consuming the transient
  user gesture activation in the child click handling code.
- add an automated test based on the testcase in the bug.

When working on this, I initially put the check using whereToOpenLink in
the toplevel of the function, and then when I ran places test to check that
I hadn't broken any places consumers of whereToOpenLink or getRootEvent,
realized that I had broken `browser_markPageAsFollowedLink.js`, because it
relies on "normal" (ie no modifier key, left button) link clicks making it
to ClickHandlerParent.jsm . I filed bug 1742894 about this. I've not tried
to fix that here, instead I've tried to ensure that paths through this
function are as untouched as possible while still fixing bug 1739929 and
bug 1742801.

Differential Revision: https://phabricator.services.mozilla.com/D132102
2021-11-25 22:49:00 +00:00
Emilio Cobos Álvarez
2dca36cb25 Bug 502258 - Add a Show Password button to <input type=password> controls. r=Gijs
It's controlled by the pref:
layout.forms.input-type-show-password-button.enabled

Differential Revision: https://phabricator.services.mozilla.com/D130407
2021-11-25 20:12:05 +00:00
Gijs Kruitbosch
f21d1c79e5 Bug 1739929 - allow untrusted click/auxclick events to open one link per transient user gesture, r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D131868
2021-11-23 11:55:28 +00:00
Sam Foster
861b4bbc43 Bug 1736429 - Set up jswindowactors for screenshots and pass dimensions and scroll offsets from the child. r=mconley,sfoster
* Add jswindowactors for the Screenshots component, to facilitate communication between the UI (lives in the parent) and the content document.
* Fetch content document dimensions/offsets with e.g: `ScreenshotsUtils.fetchContentBounds(gBrowser.selectedBrowser)`.

Differential Revision: https://phabricator.services.mozilla.com/D129326
2021-11-19 15:25:19 +00:00
Gabriel Luong
c7a4bab1b6 Bug 1732219 - Add API for fetching the preview image. r=geckoview-reviewers,agi,mconley
Differential Revision: https://phabricator.services.mozilla.com/D128815
2021-10-22 06:04:04 +00:00
Narcis Beleuzu
d9da4a1ac6 Backed out changeset bd57366e61d8 (bug 1732219) for bc failures on browser_bad_meta_tags.js. CLOSED TREE 2021-10-22 00:46:39 +03:00
Gabriel Luong
4f70f62317 Bug 1732219 - Add API for fetching the preview image. r=geckoview-reviewers,agi,mconley
Differential Revision: https://phabricator.services.mozilla.com/D128815
2021-10-21 18:48:49 +00:00
Gijs Kruitbosch
73383ab243 Bug 1366818, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D122785
2021-10-13 08:57:35 +00:00
Edgar Chen
e972aacfe6 Bug 1730750 - Exit fullscreen when the inner window is no longer active; r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D127528
2021-10-08 13:03:09 +00:00
Jan-Ivar Bruaroey
a39f42b2b7 Bug 1723703 - let permission interfere with device selection once again, unless inherent constraints are present. r=pbz,johannh
Differential Revision: https://phabricator.services.mozilla.com/D123534
2021-09-30 20:15:35 +00:00
Gavin Lazar Suntop
2f6a4680e7 Bug 1726385 - CTA + Recs variant r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D123679
2021-09-28 18:12:17 +00:00
Cosmin Sabou
be9ce24188 Backed out changeset 057837ff9cbc (bug 1726385) for bc failures on browser_all_files_referenced.js. 2021-09-23 20:22:01 +03:00
Gavin Lazar Suntop
98d9f44d85 Bug 1726385 - CTA + Recs variant r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D123679
2021-09-23 16:20:34 +00:00
Dão Gottwald
a1585362ad Bug 1719203 - Let "Copy Image Link" use the original URL before redirects. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D125849
2021-09-22 16:54:53 +00:00
Gijs Kruitbosch
73d64dd98b Bug 1726621 - ensure form validation popup always hides on tabswitches, navigations, etc., r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D124268
2021-09-22 10:12:24 +00:00
Butkovits Atila
d5be1941f3 Backed out changeset 724917f8288f (bug 1726621) for causing failures at browser_doorhanger_remembering.js. CLOSED TREE 2021-09-21 01:37:49 +03:00
Gijs Kruitbosch
55ef0cdf8b Bug 1726621 - ensure form validation popup always hides on tabswitches, navigations, etc., r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D124268
2021-09-20 19:46:23 +00:00
Neil Deakin
a62618baa7 Bug 1690390, change appendNotification to take a smaller number of arguments: the string type value, a dictionary containing the notification details, and the button list, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D107755
2021-09-17 09:04:59 +00:00
Narcis Beleuzu
72152613c6 Backed out 3 changesets (bug 1690390) for mochitest failures on test_notificationbox.xhtml . CLOSED TREE
Backed out changeset e6404b7424cd (bug 1690390)
Backed out changeset a161177099af (bug 1690390)
Backed out changeset cc7e02d3d418 (bug 1690390)
2021-09-16 23:41:21 +03:00
Neil Deakin
82501df9f7 Bug 1690390, change appendNotification to take a smaller number of arguments: the string type value, a dictionary containing the notification details, and the button list, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D107755
2021-09-16 19:11:17 +00:00
Punam Dahiya
92710b365d Bug 1729766 - Update about:privatebrowsing with VPN promo r=Mardak,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125206
2021-09-16 15:25:47 +00:00
Emilio Cobos Álvarez
459a0551b8 Bug 1730625 - Walk the flat tree to search for links. r=smaug
Also make some other context-menu code a lot more straight-forward, and
remove some enabledness checks now that shadow dom can't be disabled.

Differential Revision: https://phabricator.services.mozilla.com/D125487
2021-09-14 10:26:46 +00:00
André Bargull
57f47703d6 Bug 1639515 - Part 3: Port mozIntl.getDisplayNames users to mozIntl.DisplayNames. r=platform-i18n-reviewers,gregtatum
Update callers to the previous `mozIntl.getDisplayNames` function to use
`mozIntl.DisplayNames`.

Differential Revision: https://phabricator.services.mozilla.com/D76115
2021-09-14 09:20:32 +00:00
André Bargull
5680bb810a Bug 1639515 - Part 2: Add mozIntl.DisplayNames. r=platform-i18n-reviewers,gregtatum
Expose `Intl.DisplayNames` to `mozIntl`. The exposed `Intl.DisplayNames` version
supports date-time types, which have been removed from the spec proposal, but
may be re-enabled at some point in the future.

The existing `getDisplayNames` WebIDL function had to be renamed, because WebIDL
doesn't allow specify an attribute named `DisplayNames` and a separate function
called `getDisplayNames`.

Drive-by change:
- Removed an out-dated comment in "mozIMozIntlHelper.idl" which mentioned calling
  `addDateTimeFormatConstructor` twice throws an error.

Differential Revision: https://phabricator.services.mozilla.com/D76114
2021-09-14 09:20:31 +00:00
criss
59cdd2a63e Backed out 6 changesets (bug 1639515) for causing failures on test_intlUtils_getDisplayNames.html. CLOSED TREE
Backed out changeset eaff696ed6a6 (bug 1639515)
Backed out changeset 6d361f92b27e (bug 1639515)
Backed out changeset 6919213b03f7 (bug 1639515)
Backed out changeset 5a08d3b17fa7 (bug 1639515)
Backed out changeset 3681111b7ed3 (bug 1639515)
Backed out changeset 970826244d07 (bug 1639515)
2021-09-14 10:45:35 +03:00
André Bargull
acb7b9bcfc Bug 1639515 - Part 3: Port mozIntl.getDisplayNames users to mozIntl.DisplayNames. r=platform-i18n-reviewers,gregtatum
Update callers to the previous `mozIntl.getDisplayNames` function to use
`mozIntl.DisplayNames`.

Differential Revision: https://phabricator.services.mozilla.com/D76115
2021-09-14 06:52:33 +00:00
André Bargull
3607216c74 Bug 1639515 - Part 2: Add mozIntl.DisplayNames. r=platform-i18n-reviewers,gregtatum
Expose `Intl.DisplayNames` to `mozIntl`. The exposed `Intl.DisplayNames` version
supports date-time types, which have been removed from the spec proposal, but
may be re-enabled at some point in the future.

The existing `getDisplayNames` WebIDL function had to be renamed, because WebIDL
doesn't allow specify an attribute named `DisplayNames` and a separate function
called `getDisplayNames`.

Drive-by change:
- Removed an out-dated comment in "mozIMozIntlHelper.idl" which mentioned calling
  `addDateTimeFormatConstructor` twice throws an error.

Differential Revision: https://phabricator.services.mozilla.com/D76114
2021-09-14 06:52:32 +00:00
Kate Hudson
2df2b827f0 Bug 1728843 - Add once option to NimbusFeatures.recordExposureEvent r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D124381
2021-09-13 14:35:15 +00:00
Alexandru Michis
bf70c93173 Backed out changeset 92b9d5110599 (bug 1728843) for causing bc failures in browser_urlbar_telemetry_quicksuggest.js
CLOSED TREE
2021-09-09 04:23:16 +03:00
Kate Hudson
7ce670b735 Bug 1728843 - Add once option to NimbusFeatures.recordExposureEvent r=andreio
Depends on D123763

Differential Revision: https://phabricator.services.mozilla.com/D124381
2021-09-09 00:20:56 +00:00
Scott
f492bcff55 Bug 1693582 - Moving Pocket button panels to remote content process r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D122128
2021-09-08 16:11:34 +00:00
Marian-Vasile Laza
e0469a2db1 Backed out changeset 47b9c109e74c (bug 1728843) for causing bc failures on browser_urlbar_telemetry_quicksuggest.js. CLOSED TREE 2021-09-07 18:45:09 +03:00
Kate Hudson
a2367c38e3 Bug 1728843 - Add once option to NimbusFeatures.recordExposureEvent r=andreio
Depends on D123763

Differential Revision: https://phabricator.services.mozilla.com/D124381
2021-09-07 13:49:51 +00:00
Andrei Oprea
c87975af29 Bug 1723758 - Ensure all Nimbus features explicitly call method to send exposure r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D123422
2021-09-03 13:04:51 +00:00
Robert Mader
e86a6b4f98 Bug 1728749 - Pre-select OS dialog when using Pipewire for screen sharing, r=emilio
Right now when using the OS/portal provided sharing dialog, the
selection in Firefox:
 - does not serve any purpose as the sharing dialog is the only option
 - unnecessarily add two more clicks and potentially confusion

Thus lets pre-select the OS sharing dialog in this case.

Differential Revision: https://phabricator.services.mozilla.com/D124332
2021-09-02 12:51:14 +00:00
Mike Kaply
e7197d05e2 Bug 1726547 - Don't show VPN promo link if enterprise policy is active. r=groovecoder
Differential Revision: https://phabricator.services.mozilla.com/D123113
2021-08-31 16:00:17 +00:00
Gijs Kruitbosch
1aaa98c995 Bug 1711756 - fix 'go back' button in network error page to work more reliably and not rely on session restore, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D122918
2021-08-18 15:08:36 +00:00
Gijs Kruitbosch
88bf9e2145 Bug 1720877 - ensure we do not offer reader mode for PDFs by checking base URI as well as document URI when checking for reader-ability, r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D122960
2021-08-18 11:29:53 +00:00
Gijs Kruitbosch
189c7ff8f1 Bug 1710534 - use originNoSuffix in content modal prompts and for PDF.js comparison, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D122728
2021-08-17 14:15:30 +00:00
Makoto Kato
49cc605308 Bug 1719110 - Don't use sync IPC to show suggestion by spellchecker. r=Gijs
CheckCurrentWord on content process causes sync IPC, so I would like to remove
this call on content process. New nsIEditorSpellChecker.suggest method can
avoid it.

Differential Revision: https://phabricator.services.mozilla.com/D119937
2021-08-10 03:55:25 +00:00
Tim Huang
127064f2e8 Bug 1724677 - Add the missing colon symbol to the top_uri of the telemetry probe 'xfocsp-error-report'. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D122074
2021-08-09 09:38:26 +00:00