Commit Graph

76297 Commits

Author SHA1 Message Date
Tom Schuster
0ffd0582d4 Bug 1725012 - Reduce arrow panel menuitem padding/margin in compact mode. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D122283
2021-08-11 17:29:45 +00:00
Neil Deakin
0e51949422 Bug 1724516, use sentence case for buttons in protections panel, r=mhowell,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D122275
2021-08-11 12:16:27 +00:00
Geoff Brown
85539ceb46 Bug 1724423 - Remove test manifest annotations for osx 10.14; r=jmaher,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122293
2021-08-11 12:11:32 +00:00
Neil Deakin
a57f9a7167 Bug 1709796, fix inconsistent casing of Learn more in disk space low notification, r=mhowell,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D122304
2021-08-11 11:59:48 +00:00
Paul Zuehlcke
61aaa19c3c Bug 1705338 - Improve the layout of the storage access permission section. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D122276
2021-08-11 10:22:27 +00:00
Andrei Oprea
962fb81710 Bug 1724966 - Fix newtab test setup to be independent of timezones r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D122286
2021-08-11 09:14:28 +00:00
Nan Jiang
00f5f2fce4 Bug 1721525 - Replace Cu.reportError with log warnings for Contile r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D122285
2021-08-10 20:07:24 +00:00
Neil Deakin
7fab020763 Bug 1724511, use sentence case for More information button, r=mhowell,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D122274
2021-08-10 18:31:37 +00:00
Gijs Kruitbosch
f579125462 Bug 1724718 - work around avatar URL issues in test_fxaccounts_button.html, r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D122165
2021-08-10 17:41:10 +00:00
Neil Deakin
9042a35faa Bug 1718766, only use session history in parent to get items for back-forward button context menu if items are available, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D122039
2021-08-10 17:27:11 +00:00
Drew Willcoxon
df04062dca Bug 1724786 - Fix intermittent TV failure in browser_hideHeuristic.js by requesting a longer timeout. r=harry
I had this `requestLongerTimeout()` call in my local patch in the original
revision D121785 (bug 1723158) but I forgot to push it to Phabricator before
landing. I saw this Mac TV timeout on my try pushes too, and this fixed it.

Differential Revision: https://phabricator.services.mozilla.com/D122160
2021-08-10 16:36:20 +00:00
Narcis Beleuzu
625f7a5de1 Backed out changeset 4f793a75cd93 (bug 1724072) for geckoview failures . CLOSED TREE 2021-08-10 19:19:35 +03:00
Dana Keeler
2a64c08522 Bug 1724072 - allow enabling 3DES only when deprecated versions of TLS are enabled r=rmf
Chrome has removed 3DES completely[0], but we're still seeing some uses of it
in telemetry. Our assumption is that this is either due to old devices that
can't be upgraded, and hence probably use TLS 1.0, or servers that bafflingly
choose 3DES when there are other, better, ciphersuites in common.
This patch allows 3DES to only be enabled when deprecated versions of TLS are
enabled. This should protect users against the latter case (where 3DES is
unnecessary) while allowing them to use it in the former case (where it may be
necessary).

NB: The only 3DES ciphersuite gecko makes possible to enable is
TLS_RSA_WITH_3DES_EDE_CBC_SHA. This patch also changes the preference
corresponding to this ciphersuite from "security.ssl3.rsa_des_ede3_sha" to
"security.ssl3.deprecated.rsa_des_ede3_sha".

[0] https://www.chromestatus.com/feature/6678134168485888

Differential Revision: https://phabricator.services.mozilla.com/D121797
2021-08-10 15:25:37 +00:00
Nika Layzell
d1e4226c32 Bug 1650089 - Part 6: Don't set maychangeremoteness on non-e10s browsers, r=Gijs
This change makes all browsers which were not created with an initial `remote`
attribute within a non-`useRemoteTabs` window be unable to process-switch, as
otherwise we may attempt to switch loads into a content process. We need to
keep process switching enabled for explicitly-remote browsers loaded in a
non-`useRemoteTabs` window as it's relied on for tests and can lead to
assertion failures due to loading remote content in the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D121285
2021-08-10 14:31:18 +00:00
Nika Layzell
beae93f726 Bug 1650089 - Part 5: Skip the unnecessary about:blank load when loading view-source for a document, r=Gijs
This load was causing a process switch after the changes in this patch.
This caused the view-source load to also process-switch back when loaded
and confused some view-source machinery. The load isn't necessary, and
if skipped the process switch due to navigation will not occur.

Differential Revision: https://phabricator.services.mozilla.com/D120736
2021-08-10 14:31:17 +00:00
Nika Layzell
e856f2d394 Bug 1650089 - Part 4: Update various tests with new expectations, r=annyG,kmag
The changes in the previous part had a few behaviour changes which are visible
in tests, including cross-origin iframes with sandboxed origins now loading
remotely, and process selection for chrome-triggered null principal loads
behaving differently. In general this caused more process switches.

Differential Revision: https://phabricator.services.mozilla.com/D120674
2021-08-10 14:31:17 +00:00
Nika Layzell
a50cefe2cf Bug 1650089 - Part 1: Add a remoteTypeOverride option for about:blank loads triggered by chrome, r=annyG,kmag
After the changes in this bug, about:blank loads triggered by chrome will
finish in a "web" content process, as they have an untrusted null principal
without a precursor. In a few places throughout the codebase, however, we
perform about:blank loads with the explicit expectation that they do not change
processes. This new remoteTypeOverride option allows the intended final process
to be explicitly specified in this situation.

For security & simplicity reasons, this new attribute is limited to only be
usable on system-principal triggered loads of about:blank in toplevel browsing
contexts.

Differential Revision: https://phabricator.services.mozilla.com/D120671
2021-08-10 14:31:16 +00:00
Dave Townsend
7750ff39f3 Bug 1724917: Avoid work when the selector has been destroyed. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D122216
2021-08-10 13:47:55 +00:00
Dave Townsend
64e984d86f Bug 1724910: Use https test urls. r=harry
Without this this test fails when HTTPS-first mode is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D122215
2021-08-10 13:47:36 +00:00
Andrei Oprea
9ac6da2477 Bug 1724688 - Fix browser_asrouter_cfr.js mochitest that references non existent icon r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D122100
2021-08-10 11:17:18 +00:00
Gijs Kruitbosch
4452eced12 Bug 1724718 - do not set an image attribute for synced tabs items in the synced tabs menupanel unless there is an icon to show, r=markh
Depends on D122162

Differential Revision: https://phabricator.services.mozilla.com/D122163
2021-08-10 06:52:51 +00:00
Sam Foster
5206e479d9 Bug 1719463 - Part 12: Remove the Quit button(s) from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121812
2021-08-10 05:29:34 +00:00
Sam Foster
b65024a336 Bug 1719463 - Part 11: Remove the Help button from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121811
2021-08-10 05:29:34 +00:00
Sam Foster
ba9f1e0d39 Bug 1719463 - Part 10: Remove the devtools button from the pre-proton appMenu view. r=jdescottes,Gijs,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D121810
2021-08-10 05:29:33 +00:00
Sam Foster
d59eb94ce3 Bug 1719463 - Part 9: Remove the More items button and its sub-view from the pre-proton appMenu view. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D121809
2021-08-10 05:29:33 +00:00
Sam Foster
a99e4754f2 Bug 1719463 - Part 8: Remove the File open, File save and Find buttons from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121808
2021-08-10 05:29:33 +00:00
Sam Foster
9302af6664 Bug 1719463 - Part 7: Remove the Logins, Addons, Preferences and Print buttons from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121807
2021-08-10 05:29:32 +00:00
Sam Foster
7e355195be Bug 1719463 - Part 6: Remove the Library item from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121806
2021-08-10 05:29:32 +00:00
Sam Foster
d81c1b741c Bug 1719463 - Part 5: Remove the edit and zoom items from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121805
2021-08-10 05:29:31 +00:00
Sam Foster
102b49c644 Bug 1719463 - Part 4: Remove the new window and session restore items from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121804
2021-08-10 05:29:31 +00:00
Sam Foster
05f6d6a8d7 Bug 1719463 - Part 3: Remove the Protections Report items from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121803
2021-08-10 05:29:31 +00:00
Sam Foster
47c7137278 Bug 1719463 - Part 2: Remove the Fxa items from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121802
2021-08-10 05:29:30 +00:00
Sam Foster
873cf793d2 Bug 1719463 - Part 1: Remove the update banner items from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121801
2021-08-10 05:29: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
Ava Katushka ava8katushka
7afe5a7908 Bug 1718782 - Add telemetry for clicking an in-progress download. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D121857
2021-08-09 20:12:27 +00:00
Gijs Kruitbosch
3ea01443f0 Bug 1718435 - follow-up: clean up callsite of clear recent history window that passes nsISupports-y arguments, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D122120
2021-08-09 19:26:18 +00:00
Harry Twyford
5c77665322 Bug 1721585 - Show tooltip for both reader-mode-button and reader-mode-button-icon. r=jaws
The bug was that the tooltip was only being shown for reader-mode-button-icon. The tooltip would show if you hovered right over the icon, and it would be undefined otherwise. This patch shows the tooltip regardless of the hover target. The other items on nodeToTooltipMap and nodeToShortcutMap are toolbarbuttons, so their icons are added in CSS and event handling always sees the parent node as the hover target. The reader mode button icon, however, is an <image> child of its parent. Either it or its parent could be hover targets. I considered added some handling in GetDynamicShortcutTooltipText along the lines of checking node.closest(reader-mode-button). I settled on just adding more entries to nodeToTooltipMap and nodeToShortcutMap since it's safer and easier to uplift.

Differential Revision: https://phabricator.services.mozilla.com/D122126
2021-08-09 19:08:33 +00:00
Nan Jiang
db1888a718 Bug 1724076 - Add nimbus exposure event for Firefox Suggest experiments r=adw,andreio
Differential Revision: https://phabricator.services.mozilla.com/D122118
2021-08-09 18:38:10 +00:00
Thomas Wisniewski
832503fa0b Bug 1723950 - Shim more of the stubbed-out Optimizely API in its SmartBlock shim to fix more site breakage; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122139
2021-08-09 17:58:12 +00:00
Harry Twyford
56b979ba71 Bug 1724320 - Collect Open Graph page data. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D121927
2021-08-09 17:16:29 +00:00
Drew Willcoxon
f4c00a8872 Bug 1724492 - Stop using nsIAutocompleteResult in UrlbarProviderPlaces. r=harry
This will help me fix bug 1723160 by letting me add frecency values to Places
result payloads.

I tried to keep this simple and only do what was necessary to fix the bug. Of
course there's a lot more cleanup we could do, like skip the whole conversion
between match objects and UrlbarResults altogether by only creating
UrlbarResults in the first place, but I didn't want to scope creep into fixing
bug 1717511.

Differential Revision: https://phabricator.services.mozilla.com/D122022
2021-08-09 17:08:47 +00:00
Drew Willcoxon
b65a37077b Bug 1723158 - Allow heuristic result to be experimentally hidden or not present. r=mak
This adds `browser.urlbar.experimental.hideHeuristic`. When true, the heuristic
is hidden in the view except for the search tip heuristic.

This is implemented as part of the larger prototype described in the JIRA ticket
(see the bug for a link) and some Slack conversation. There isn't much of a spec
in that ticket, and I think that's OK because we'd like to iterate on a
prototype and we're not sure yet how exactly the UX should work.

For example, should the heuristic always be hidden or only in certain cases?
This revision always hides it (except search tips), but it's easy to imagine
we'll want to introduce some more sophisticated logic. Or more simply we may
want to always show specific types of heuristics, like omnibox, as this revision
does for search tips.

The implementation works by excluding the heuristic in the view. Each heuristic
provider still creates their heuristics. When the view receives the heuristic,
instead of adding and selecting it, it calls `input.setResultForCurrentValue()`
so that the heuristic is set as the current result. When the user presses enter,
the input checks `experimental.hideHeuristic` and whether the current result is
a heuristic.

Differential Revision: https://phabricator.services.mozilla.com/D121785
2021-08-09 17:07:40 +00:00
Sebastian Hengst
c136a57852 Merge mozilla-central to autoland. CLOSED TREE 2021-08-09 19:13:59 +02:00
Mozilla Releng Treescript
a536ab927f Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-08-09 16:20:45 +00:00
Chris Peterson
162a8620f1 Bug 1719070 - UA: Add support for a Nimbus experiment to override Firefox's User-Agent string. r=andreio,necko-reviewers,dragana
The ANDROID #ifdefs are necessary because Nimbus does not yet support Android in Gecko. The planned UA experiment won't include Android, so that's not a problem.

Differential Revision: https://phabricator.services.mozilla.com/D121112
2021-08-08 01:07:51 +00:00
Chris Peterson
fef38775ad Bug 1719070 - UA: Merge some unnecessary add_tasks and functions in User-Agent string tests. r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D119054
2021-08-08 01:07:50 +00:00
Marco Bonardo
658397d924 Bug 1703475 - Wait for l10n in browser_bug432599.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D122001
2021-08-07 19:40:10 +00:00
Bernard Igiri
3e017e08c1 Bug 1714821 - Make bookmark separators easier to delete r=mak,desktop-theme-reviewers,dao
Proton removed the default HR appearance and replaced padding with margins. Unfortunately margins are not clickable. So this patch replaces margins with padding while maintaining the look of proton on Windows, MacOS, and Linux.

Differential Revision: https://phabricator.services.mozilla.com/D120253
2021-08-07 01:30:57 +00:00
Gijs Kruitbosch
0c1c818c13 Bug 1718435 - fix clear recent history dialog when there are no open windows, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D121842
2021-08-06 22:18:35 +00:00
Brendan Dahl
1ba71d6e84 Bug 1724461 - Update pdf.js to version 2.11.91 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D122023
2021-08-06 22:15:48 +00:00