Commit Graph

690 Commits

Author SHA1 Message Date
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
Karl Tomlinson
8c63e37d40 Bug 1720643 update comment now that BLOCK is no longer handled in MediaManager r=jib DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D121494
2021-08-04 21:06:44 +00:00
Harry Twyford
b11b819e89 Bug 1722395 - Fix placeholder string in handoff input in permanent private browsing mode. r=Standard8
about:newtab doesn't load aboutPrivateBrowsing.ftl and conversely about:privatebrowsing doesn't load newtab.ftl. Since permanent private browsing mode uses about:newtab as its new tab, we need to make sure we load our strings from newtab.ftl in that case.

Differential Revision: https://phabricator.services.mozilla.com/D121646
2021-08-04 19:20:12 +00:00
Sandor Molnar
0d4f28a8ba Backed out changeset bee56878871a (bug 1722395) for causing bc failures in browser_ContentSearch. CLOSED TREE 2021-08-04 21:46:18 +03:00
Harry Twyford
f9ae7ed204 Bug 1722395 - Fix placeholder string in handoff input in permanent private browsing mode. r=Standard8
about:newtab doesn't load aboutPrivateBrowsing.ftl and conversely about:privatebrowsing doesn't load newtab.ftl. Since permanent private browsing mode uses about:newtab as its new tab, we need to make sure we load our strings from newtab.ftl in that case.

Differential Revision: https://phabricator.services.mozilla.com/D121646
2021-08-04 17:23:07 +00:00
Kajal Sah
bcfbf03dc8 Bug 1714336 - Removes the disableHighlight option for doorhangers. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D120260
2021-08-03 16:26:28 +00:00
Karl Tomlinson
dc489fa47e Bug 1715419 use a speaker icon for selectAudioOutput() prompt anchor r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D117261
2021-07-27 06:57:04 +00:00
Harry Twyford
1a37803fd6 Bug 1713827 - Hand off to search mode if searching is disabled in the Urlbar. r=amy,Standard8,flod
This patch also addresses bug 1645293. It essentially reverts parts 1 and 3 of bug 1616700 for users with searching disabled. Since we had to introduce branching behaviour, there are some new constructs like a shouldHandOffToSearchMode multi-pref in UrlbarPrefs.

Differential Revision: https://phabricator.services.mozilla.com/D118606
2021-07-22 15:46:30 +00:00
Cosmin Sabou
6b427ca596 Backed out changeset 5a673b05aea0 (bug 1713827) for bc failures on browser_contentSearchUI_default.js. CLOSED TREE 2021-07-21 01:06:27 +03:00
Harry Twyford
cd2b8c89b0 Bug 1713827 - Hand off to search mode if searching is disabled in the Urlbar. r=amy,Standard8,flod
This patch also addresses bug 1645293. It essentially reverts parts 1 and 3 of bug 1616700 for users with searching disabled. Since we had to introduce branching behaviour, there are some new constructs like a shouldHandOffToSearchMode multi-pref in UrlbarPrefs.

Differential Revision: https://phabricator.services.mozilla.com/D118606
2021-07-20 21:25:10 +00:00
Gijs Kruitbosch
550d651713 Bug 1716883 - fix autoscroll behaviour over various SVG elements, r=masayuki
This avoids starting autoscroll on SVG links, and on HTML links that
contain SVG, by sharing the code that browser's ClickHandlerChild uses
to detect links into BrowserUtils, and using that from AutoScrollChild
to determine if the click happened on top of a link. It also adds a
test so we avoid regressing this in future.

When running the test, I noticed an error from ClickHandlerParent
when the browser for which we receive a click has gone away, and
fixed it by adding a nullcheck and early return.

Differential Revision: https://phabricator.services.mozilla.com/D120024
2021-07-19 11:36:55 +00:00
Iulian Moraru
c328fc4c11 Backed out changeset 57d00cc40a56 (bug 1716883) for causing linting failures on browser_autoscroll_disabled_on_links.js 2021-07-16 15:58:06 +03:00
Gijs Kruitbosch
b49bc42fda Bug 1716883 - fix autoscroll behaviour over various SVG elements, r=masayuki
This avoids starting autoscroll on SVG links, and on HTML links that
contain SVG, by sharing the code that browser's ClickHandlerChild uses
to detect links into BrowserUtils, and using that from AutoScrollChild
to determine if the click happened on top of a link. It also adds a
test so we avoid regressing this in future.

When running the test, I noticed an error from ClickHandlerParent
when the browser for which we receive a click has gone away, and
fixed it by adding a nullcheck and early return.

Differential Revision: https://phabricator.services.mozilla.com/D120024
2021-07-16 11:35:36 +00:00
Scott
f53ec1227e Bug 1692066 - Pocket panels remove panel id from messaging. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D117964
2021-07-12 18:41:24 +00:00
Nika Layzell
8337d7a4df Bug 1706302 - Part 1: Use DOMDocElementCreated for RemotePage actors, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118618
2021-07-09 16:30:28 +00:00
Scott
3d165a8eb3 Bug 1714749 - Fixing Pocket icon state. r=gvn,mconley
Differential Revision: https://phabricator.services.mozilla.com/D117703
2021-07-08 18:07:00 +00:00
Mark Striemer
4809cc2277 Bug 1666247 - Part 2: Return dialog from tabDialogBox.open r=pbz
Depends on D102356

Differential Revision: https://phabricator.services.mozilla.com/D103525
2021-07-08 03:54:19 +00:00
Butkovits Atila
9d17bf1f4b Backed out changeset 19efa711bd54 (bug 1714749) for causing assertion failures at foundWebScheme. CLOSED TREE 2021-07-07 04:40:29 +03:00
Scott
41005ea220 Bug 1714749 - Fixing Pocket icon state. r=gvn,mconley
Differential Revision: https://phabricator.services.mozilla.com/D117703
2021-07-06 22:07:03 +00:00
Paul Zuehlcke
80b7bda1cd Bug 1713578 - Removed leftover PermissionStateChange events. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D118850
2021-07-05 10:10:23 +00:00
Jan-Ivar Bruaroey
766c513cdc Bug 1713096 - Simplify checkRequestAllowed() in WebRTCParent. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D116543
2021-06-25 19:53:34 +00:00
Henri Sivonen
7df7939f77 Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk
Differential Revision: https://phabricator.services.mozilla.com/D116391
2021-06-21 12:09:01 +00:00
Dorel Luca
2118316ba4 Backed out changeset 4891a17c55e2 (bug 1713627) for Browser-chrome failures in docshell/test/browser/browser_bug673087-1.js. CLOSED TREE 2021-06-21 12:10:54 +03:00
Henri Sivonen
abbbf94915 Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk
Differential Revision: https://phabricator.services.mozilla.com/D116391
2021-06-21 08:09:43 +00:00
Andrei Oprea
392f7dce8e Bug 1715504 - Banner variations for Private Browsing mode experiment r=desktop-theme-reviewers,k88hudson,harry
Differential Revision: https://phabricator.services.mozilla.com/D117281
2021-06-18 11:06:58 +00:00
Sandor Molnar
917badff50 Backed out changeset f4ab27bcac2e (bug 1715504) for causing browser-chrome failures in browser_all_files_referenced. CLOSED TREE 2021-06-18 13:38:10 +03:00
Andrei Oprea
5e63926089 Bug 1715504 - Banner variations for Private Browsing mode experiment r=desktop-theme-reviewers,k88hudson,harry
Differential Revision: https://phabricator.services.mozilla.com/D117281
2021-06-18 09:50:19 +00:00
Karl Tomlinson
78defe09b9 Bug 1712898 add a basic prompt for selectAudioOutput() r=jib,flod,pbz
This contains the code paths that are similar to the prompt for getUserMedia().

Permanent permissions and grace period are not included here and their model
may differ from that of getUserMedia().
See https://bugzilla.mozilla.org/show_bug.cgi?id=1712892

Differential Revision: https://phabricator.services.mozilla.com/D115994
2021-06-09 04:01:38 +00:00
Scott
38ea934bb8 Bug 1691762 - Save to Pocket button panels to fluent r=gvn,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113133
2021-06-04 22:00:53 +00:00
Sandor Molnar
2207fdd99a Backed out changeset 6591aff2047f (bug 1691762) for causing mochitest failures in browser_pocket_AboutPocketParent. CLOSED TREE 2021-06-04 21:02:59 +03:00