Commit graph

28802 commits

Author SHA1 Message Date
Tim Nguyen
41fc8d5a7f Bug 1695351 - Wrap rich tab tooltip titles instead of cropping them. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107281
2021-03-04 23:16:53 +00:00
Andrei Oprea
0e1122914f Bug 1693550 - Update about:welcome to use ExperimentFeature r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D105738
2021-03-04 21:20:19 +00:00
Gijs Kruitbosch
2b6df1165b Bug 1696450 - fix pocket-disabling-induced issues with separators in the context menus, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D107260
2021-03-04 21:14:41 +00:00
Rob Wu
2112c7380a Bug 1498432 - Correctly delete _cachedCurrentURI r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106734
2021-03-04 20:50:35 +00:00
Rob Wu
a328d739f1 Bug 1680279 - Support "url" properties in filter r=rpl
The patch for bug 1498432 will include a unit test that uses
tabs.onUpdated with the "url" filter for "properties".

The updated test here verifies that the tabs.onUpdated event does not
include other properties in changeInfo when filtering by "status".

Differential Revision: https://phabricator.services.mozilla.com/D106733
2021-03-04 20:50:35 +00:00
Drew Willcoxon
5eed071fe5 Bug 1696267 - Dedupe urlbar search suggestions and search history accounting for leading and trailing spaces. r=mak
This also fixes a potential problem when deduping SERPs against form history:
We're creating SERP URLs based on the lowercased version of SERP terms instead
of the terms as is. That means we won't detect example.com/?q=foo and
example.com/?q=FOO as being dupes, but I think we should.

I updated the test to check for leading/trailing spaces as well as case.

Differential Revision: https://phabricator.services.mozilla.com/D107164
2021-03-04 20:46:57 +00:00
emcminn
6433f1db71 Bug 1695614 - Fix z-index on theme tiles to prevent clipping in RTL r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D107096
2021-03-04 17:22:52 +00:00
Marco Bonardo
e5d75652e9 Bug 1691533 - Part 1 - Always show the X button on the search mode indicator (Proton). r=harry
Differential Revision: https://phabricator.services.mozilla.com/D106335
2021-03-04 17:13:16 +00:00
Andrei Oprea
3bbfde3849 Bug 1693301 - Nimbus test utility for automatic enrollment and cleanup r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D106162
2021-03-04 11:35:43 +00:00
Jan-Erik Rediger
4a219f294b Bug 1695197 - Remove MOZ_GLEAN constant, introduce MOZ_GLEAN_ANDROID. r=chutten,emilio
We enable compilation of FOG/Glean on _all_ platforms.
We disable Glean initialization and metric recording on Android (GeckoView) by respecting MOZ_GLEAN_ANDROID.
This way GeckoView just works, consumers don't need to think about it (except in tests, these need to be disabled for Android builds).

Stubbing out the metric implementations will happen in the commits after
this one.

Differential Revision: https://phabricator.services.mozilla.com/D106766
2021-03-04 11:15:12 +00:00
Noemi Erli
d1381be92c Backed out changeset 635ba804cdd8 (bug 1693301) for causing failures in browser_remotesettingsexperimentloader_init.js CLOSED TREE 2021-03-04 13:17:56 +02:00
Andrei Oprea
2ae8ccfc52 Bug 1693301 - Nimbus test utility for automatic enrollment and cleanup r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D106162
2021-03-04 10:42:55 +00:00
Valentin Gosu
0b0dd660db Bug 1696193 - Stop setting Firefox as default handler for FTP r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D107079
2021-03-04 08:37:02 +00:00
Jared Wein
05394b1154 Bug 1690186 - Adjust the container tab styling to fit with the Proton theme. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D106844
2021-03-04 04:57:02 +00:00
Tim Nguyen
629bf23c06 Bug 1696202 - Refactor close-icon.css to use color-mix(). r=preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D107081
2021-03-04 02:51:00 +00:00
Neil Deakin
0a6f2c6e96 Bug 1691860, move code that hides separators in the content area context menu into a single place that just hides duplicates, r=Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D104615
2021-03-04 00:16:16 +00:00
Mark Banner
04281bb9b8 Bug 1575649 - When removing a default engine, calculate and notify the new default engine straight away. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105031
2021-03-03 22:23:20 +00:00
Mark Banner
55369ab2d1 Bug 1692153 - Improve browser_searchbar_smallpanel_keyboard_navigation.js so that it runs standalone and avoids possible intermittent failures. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D106805
2021-03-03 21:12:19 +00:00
Kate Hudson
e05ab643bf Bug 1656568 - Use a specific event object for nimbus events r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D106619
2021-03-03 19:54:52 +00:00
Drew Willcoxon
1fe22b7cde Bug 1696084 - Open help links in a new tab. r=harry
Depends on D107015

Differential Revision: https://phabricator.services.mozilla.com/D107021
2021-03-03 18:52:48 +00:00
emcminn
d0613a1819 Bug 1689304 - Update theme screen CTA string r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D106822
2021-03-03 18:02:55 +00:00
Butkovits Atila
0d38a352bd Backed out changeset 3d03ee4e4606 (bug 1693301) for causing failure at browser_remotesettingsexperimentloader_init.js. CLOSED TREE 2021-03-03 20:14:47 +02:00
Andrei Oprea
3c11cc6690 Bug 1693301 - Nimbus test utility for automatic enrollment and cleanup r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D106162
2021-03-03 16:56:45 +00:00
Csoregi Natalia
cbcf8a3fec Backed out changeset 2ee3856bd2ae (bug 1693301) for failures on browser_remotesettingsexperimentloader_init.js. CLOSED TREE 2021-03-03 13:36:59 +02:00
amy churchwell
d5277e99fa Bug 1682602 - remove pinning and drag/drop support for sponsored top sites. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D106309
2021-03-03 10:55:58 +00:00
Andrei Oprea
0ab4a7dcc5 Bug 1693301 - Nimbus test utility for automatic enrollment and cleanup r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D106162
2021-03-03 10:13:57 +00:00
Drew Willcoxon
848eac0224 Bug 1696061 - Always show the help button in quick suggest results and remove onboarding code. r=nanj
Depends on D107012

Differential Revision: https://phabricator.services.mozilla.com/D107015
2021-03-03 05:33:01 +00:00
Drew Willcoxon
14eefa1933 Bug 1693671 - Update the Quick Suggest help URL. r=daleharvey,Gijs
We're going with a SUMO page after all and not a blog URL.

Depends on D106940

Differential Revision: https://phabricator.services.mozilla.com/D107012
2021-03-03 00:48:01 +00:00
Dale Harvey
2ea615643a Bug 1695676 - Preload QuickSuggest before UrlBar is initialised r=adw
Differential Revision: https://phabricator.services.mozilla.com/D106940
2021-03-02 23:58:51 +00:00
Jens Stutte
05581ddca4 Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 22:11:58 +00:00
Cosmin Sabou
b2eb620ed0 Backed out changeset 03cae7800b41 (bug 1678330) for mochitest plain failures on test_window_open_discarded_bc.html. CLOSED TREE 2021-03-02 20:18:21 +02:00
Gijs Kruitbosch
c36def023b Bug 1695904 - update menu button tooltip when the panel hides/shows regardless of cause, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106912
2021-03-02 17:08:49 +00:00
Erica Wright
7563ded7df Bug 1692668 - Update bookmarks context menu for clarity. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D106046
2021-03-02 15:34:56 +00:00
Jens Stutte
a0af9ea0a4 Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106839
2021-03-02 15:15:20 +00:00
Harry Twyford
1633d63446 Bug 1694734 - Reapply background-color rule to :root on Windows 7/8. r=desktop-theme-reviewers,ntim,mixedpuppy
While using -moz-os-version selectors in a shared CSS file isn't ideal, I think it's the best approach here. These selectors will hopefully be temporary, and will be removed when bug 1695280 is fixed. I considered a creating a ruleset like
```
@media (-moz-os-version: windows-win7),
       (-moz-os-version: windows-win8) {
  #navigator-toolbox:-moz-lwtheme {
    background-color: unset;
  }
  :root:-moz-lwtheme {
    background-color: var(--lwt-accent-color);
  }
}
```
in browser/themes/windows/browser.css, but I think unsetting the background-color could become a headache if we need to make any other changes to the #navigator-toolbox background. We could also move these background rules to platform-specific stylesheets, but that way they're defined much later in the CSS despite being fairly foundational rules. It would also create more code to remove in bug 1695280.

Differential Revision: https://phabricator.services.mozilla.com/D106670
2021-03-02 14:12:49 +00:00
Dão Gottwald
f33af33f30 Bug 1695747 - Remove sponsored top sites from address bar results. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D106866
2021-03-02 13:09:34 +00:00
Mihai Alexandru Michis
a01819af6e Backed out changeset 73339fe01d1b (bug 1695747) for causing bc failures in browser_urlbar_telemetry_sponsored_topsites.js
CLOSED TREE
2021-03-02 14:49:53 +02:00
Dão Gottwald
439663928c Bug 1695747 - Remove sponsored top sites from address bar results. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D106866
2021-03-02 10:49:40 +00:00
Mihai Alexandru Michis
5b58a3f6a5 Backed out changeset 746b44ef2373 (bug 1682602) for causing node newtab failures. 2021-03-02 13:14:30 +02:00
amy churchwell
98acdd02e8 Bug 1682602 - remove pinning and drag/drop support for sponsored top sites. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D106309
2021-03-02 09:31:09 +00:00
Dale Harvey
4de60850ce Bug 1692536 - Highlight where users input matches QuickSuggest result. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D106833
2021-03-02 09:03:00 +00:00
Mike Conley
1e1fa52a31 Bug 1695345 - Fork Dark Mode compact theme for Proton. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D106691
2021-03-02 04:36:57 +00:00
Drew Willcoxon
6ee5ab0662 Bug 1692615 - Make sure Quick Suggest results are accessible. r=harry,Jamie
This fixes the two a11y problems with quick suggest results:

* When their help button is present, they aren't recognized as a listbox
  option. That has a couple of consequences: They aren't read as an "<index> of
  <size>" option, and they're read as an autocompleted URL instead of their
  title.
* Their help button is read as its URL instead of its label. (The button has a
  URL that's loaded when you click it.)

Fixing the second problem is easy, just give the help button an ID.

The first problem is trickier. It's due to the fact that when the help button is
present in the actual row, the "logical" row -- the part that's selectable and
looks like the main part of the row -- is not the row itself but rather one of
its children. So the rows container with `role=listbox` doesn't have the
selectable part as a direct child. To fix that, I added `role=option` to the
selectable part and `role=presentation` to the row itself.

Aside from these fixes, another possibility is to include the row's help button
as an option too, instead of as a button. I chose not to do that because it's
really a button and not a row/result, and also we have precedent with tip
results, which have similar buttons that we treat like this.

Note that the help button is *not* read on hover, only when keyboard selected.
That's a known bug we encountered in tips or interventions, but I can't find the
bug.

Depends on D106559

Differential Revision: https://phabricator.services.mozilla.com/D106712
2021-03-02 02:21:05 +00:00
Csoregi Natalia
2a685ce5ab Backed out changeset 3251eaf83891 (bug 1695345) for causing build bustages. CLOSED TREE 2021-03-02 03:20:40 +02:00
Mike Conley
a2f8675ecd Bug 1695345 - Fork Dark Mode compact theme for Proton. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D106691
2021-03-01 23:48:26 +00:00
Brendan Dahl
0d1ac9be29 Bug 1571419 - Add test for cross origin iframe screenshot. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D104899
2021-03-01 23:33:14 +00:00
Brendan Dahl
13c0b7eb66 Bug 1571419 - Make --screenshot fission compatible. r=kmag
Move capturing the window into the parent process to use the new
drawSnapshot API.

Differential Revision: https://phabricator.services.mozilla.com/D104734
2021-03-01 23:33:14 +00:00
emcminn
0eab37b128 Bug 1683368 - New helptext component with possible icon, and associated tests r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D104280
2021-03-01 23:24:53 +00:00
Andrei Cristian Petcu
2979b1d5c9 Bug 1695034 Re-enable browser_openImportCSV.js for test-verify r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D106724
2021-03-01 22:58:43 +00:00
Drew Willcoxon
a780b733d6 Bug 1695666 - To reduce urlbar view flicker, don't reuse rows with different suggested indexes. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D106832
2021-03-01 22:31:45 +00:00
Dale Harvey
c87dcc5e4c Bug 1692551 - Add the full matched keyword to QuickSuggest result r=adw
Differential Revision: https://phabricator.services.mozilla.com/D106615
2021-03-01 21:51:47 +00:00
Jared Wein
51c498a4b9 Bug 1695711 - Only add the position and anchortoclosest attributes to the tabs and bookmarks toolbar tooltips if Proton is enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106818
2021-03-01 20:49:02 +00:00
Anny Gakhokidze
37ef08fbe9 Bug 1692501 - Fix timing issues when reopening all closed windows, r=kashav
In bug 1589102, changes were made to how about:blank and about:srcdoc load,
making them go via DocumentChannel and thus slightly increasing documents' load
times.  This causes some timing issues in SessionStore code.

When we click to "Reopen all (closed) Windows", undoCloseWindow() is called for
each window that we have to restore. The following scenario can occur - we are
restoring window 1, and undoCloseWindow() has already called restoreWindows,
after receiving the window showing promise, and in the meantime
undoCloseWindow() has been called for window 2, and there is now a promise in
the WINDOW_SHOWING_PROMISES. But now restoreWindows() for window1 calls
_openWindows(), where root.windows length is 0, but WINDOW_SHOWING_PROMISES is
not empty (because of window 2's undoCloseWindow), and the resolve callback for
_openWindows() gets called with wrong arg. To solve this, ensure that the
promises returned from _openWindows() correspond to the windows opened
within the body of the function.

Differential Revision: https://phabricator.services.mozilla.com/D106304
2021-03-01 19:44:13 +00:00
Emma Malysz
18e5aff93f Bug 1695698: update hamburger menu tooltip text r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D106808
2021-03-01 18:51:00 +00:00
Emma Malysz
0df0408e17 Bug 1695697, update show more button label in remote tabs panels r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D106804
2021-03-01 18:39:22 +00:00
Bernard Igiri
06b4adff26 Bug 1685961 - Hide Content Process Limit UI r=Gijs
Hides the "Content Process Limit" UI when Fission is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D105055
2021-03-01 18:23:31 +00:00
Mike Conley
dc2631ac79 Bug 1695348 - Mass rename browser.proton.appmenu.enabled to browser.proton.enabled. r=emalysz,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106800
2021-03-01 17:27:52 +00:00
Mark Banner
b5b2babf35 Bug 1695608 - Remove browser_addEngine.js as it is covered by other tests. r=mak
toolkit/components/search/tests/xpcshell/test_notifications.js and the test_opensearch* tests already test this functionality. There's nothing extra gained by running this as a mochitest.

Differential Revision: https://phabricator.services.mozilla.com/D105030
2021-03-01 11:54:12 +00:00
Emilio Cobos Álvarez
915f02d25c Bug 1694951 - Remove printing.trigger telemetry. r=jwatt,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106465
2021-03-01 11:36:43 +00:00
Cosmin Sabou
3532e78cdc Backed out changeset 6a75d5ea4301 (bug 1646817) for causing macOS nightly crashes. a=backout 2021-02-28 12:36:09 +02:00
Doug Thayer
db50f52ea7 Bug 1694229 - Update slow script warning visuals r=florian
This patch removes the wait button on the slow script warning, on the suspicion
that it is confusing to the user since it's redundant with the close button. It
also changes the text of the notification to blame the hanging tab.

Differential Revision: https://phabricator.services.mozilla.com/D106015
2021-02-27 18:22:32 +00:00
Jens Stutte
1e19379853 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-27 14:38:14 +00:00
Butkovits Atila
bb3fe218a4 Backed out changeset be43a81b35f9 (bug 1689953) for causing failure at test_terminator_record.js. CLOSED TREE 2021-02-27 05:03:11 +02:00
Michelle Goossens
0dcdff469a Bug 1692339 - Add a "Redo" option underneath "Undo" in context menu for form fields r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106565
2021-02-27 01:19:38 +00:00
Tomislav Jovanovic
8c3b8b951b Bug 1646817 - Part 1: Support DocumentChannel process switching in sidebars r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D100396
2021-02-26 22:56:17 +00:00
Tim Nguyen
5fa0e52b5f Bug 1693374 - Make common.css sidebar footer styles re-usable. r=desktop-theme-reviewers,harry,robwu
Differential Revision: https://phabricator.services.mozilla.com/D106300
2021-02-26 22:18:44 +00:00
Rob Wu
252ef583b9 Bug 1694699 - Minimize access to tab.hasTabPermission r=rpl,geckoview-reviewers,agi
tab.hasTabPermission indirectly triggers an access to
browser.currentURI, which for lazy tab browsers causes an incorrect
value to be cached. To avoid this, skip the call to hasTabPermission.

Differential Revision: https://phabricator.services.mozilla.com/D106622
2021-02-26 21:34:54 +00:00
Rob Wu
43ff27ed9a Bug 1694699 - Avoid unnecessary string->URI conversions r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D106317
2021-02-26 21:34:54 +00:00
Jens Stutte
f6d52040b9 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-26 21:33:29 +00:00
Butkovits Atila
961b11bc3b Backed out changeset a2091ee84e0e (bug 1692339) for causing failures at browser_contextmenu_keyword.js. CLOSED TREE 2021-02-27 01:23:52 +02:00
Michelle Goossens
78395cc0e6 Bug 1692339 - Add a "Redo" option underneath "Undo" in context menu for form fields r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106565
2021-02-26 20:04:29 +00:00
Butkovits Atila
f8cb3c7d6a Backed out changeset b3df95f06470 (bug 1692668) for causing failure at browser_bookmark_change_location.js. CLOSED TREE 2021-02-26 23:07:49 +02:00
Scott
3ca2aa9b23 Bug 1686554 - Remove newtab Pocket story min scores. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D106507
2021-02-26 19:17:09 +00:00
Drew Willcoxon
be1902fff1 Bug 1692527 - Show "Firefox Suggests" instead of "Sponsored" for non-sponsored quick suggest results. r=daleharvey
Depends on D106490

Differential Revision: https://phabricator.services.mozilla.com/D106559
2021-02-26 18:40:33 +00:00
Erica Wright
978fc6c4ca Bug 1692668 - Update bookmarks context menu for clarity. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D106046
2021-02-26 18:38:07 +00:00
Drew Willcoxon
d54b3ed2a0 Bug 1694867 - Don't update the URL in the view for quick suggest results. r=dao
This skips setting `.urlbarView-url` text content for quick suggest results. The
other option is to keep setting it like we do now, but set `display: none` on it
in the CSS. The first option seems better since quick suggest results don't ever
show their URLs, so it seems wrong to treat them like they do and to set the
`has-url` attribute. My patch to bug 1694723 also depends on QS results not
having `has-url`.

This also fixes the bug of course.

Differential Revision: https://phabricator.services.mozilla.com/D106550
2021-02-26 18:35:32 +00:00
Butkovits Atila
f64a8e2f9f Backed out changeset d146eb93b6d0 (bug 1693374) for causing failures at browser_interaction_telemetry.js. CLOSED TREE 2021-02-26 21:32:25 +02:00
Tim Nguyen
63b3b5e5ca Bug 1693374 - Make common.css sidebar footer styles re-usable. r=desktop-theme-reviewers,harry,robwu
Differential Revision: https://phabricator.services.mozilla.com/D106300
2021-02-26 17:44:32 +00:00
Patrick Storz
5fd2488fce Bug 360332 - Enable modifiers / middle click for context search. r=Standard8
Allows to perform the search in a new foreground/background tab or
a new window using modifiers or middle mouse button.

Introduces a certain level of consistency with other entries in
the context menu, like navigation and "view image".

Differential Revision: https://phabricator.services.mozilla.com/D103354
2021-02-26 17:14:05 +00:00
Andrei Oprea
1655f394b4 Bug 1693787 - Remove SimpleAboutWelcome r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D105958
2021-02-26 17:00:16 +00:00
Dorel Luca
76120480c1 Backed out changeset a59724449f46 (bug 1693787) for Browser-chrome failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE 2021-02-26 16:41:28 +02:00
Neil Deakin
f66ba76299 Bug 1691499, add a link field to notification bar buttons to use a link instead, convert learn more buttons in notification bars to links, r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105750
2021-02-26 13:43:10 +00:00
Andrei Oprea
4764cb9cd2 Bug 1693787 - Remove SimpleAboutWelcome r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D105958
2021-02-26 13:37:16 +00:00
smolnar
210ae13afa Backed out changeset e3f394d78bab (bug 1693787) for causing mochitest failures in browser_all_files_referenced. CLOSED TREE 2021-02-26 13:32:13 +02:00
Paul Zuehlcke
d69fac75b0 Bug 1680066 - Fall back to window prompts for webextension sidebar. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106513
2021-02-26 10:31:25 +00:00
Andrei Oprea
232a3572be Bug 1693787 - Remove SimpleAboutWelcome r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D105958
2021-02-26 10:15:29 +00:00
Mike Conley
d1abcdce20 Bug 1693851 - Fix some variety of tests so that they pass with and without Proton AppMenu enabled. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106381
2021-02-25 23:43:08 +00:00
Adam Gashlin
df369cbfb7 Bug 1685213 - Part 5: Report taskbar pin status. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D106348
2021-02-25 23:15:48 +00:00
Adam Gashlin
fc30d10af1 Bug 1685213 - Part 4: Convert pin check to async. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D106346
2021-02-25 23:15:48 +00:00
Adam Gashlin
fc0cc700f9 Bug 1685213 - Part 3: Record launch method telemetry. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D106345
2021-02-25 23:15:47 +00:00
Adam Gashlin
b638c59199 Bug 1685213 - Part 2: Implement shortcut location classifier. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D106344
2021-02-25 23:15:47 +00:00
andreipetcu
5323d9fe45 Bug 1649940 Login CSV import log page r=sfoster,flod,tgiles
Differential Revision: https://phabricator.services.mozilla.com/D100639
2021-02-25 22:39:08 +00:00
Nan Jiang
47fca6093a Bug 1689365 - Add custom impression and click for QuickSuggest r=adw,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D106490
2021-02-25 22:17:12 +00:00
Bogdan Tara
f1229ce794 Backed out changeset 03b2f2ca0d28 (bug 1649940) for mochitest failures complaining about import-details-row CLOSED TREE 2021-02-25 23:21:03 +02:00
Jared Wein
5810ee434c Bug 1665390 - Style bookmarks toolbar and tabs toolbar tooltips. r=NeilDeakin,ntim
Differential Revision: https://phabricator.services.mozilla.com/D104257
2021-02-25 20:47:54 +00:00
Marco Bonardo
df07bdc35c Bug 1693436 - RequestLongerTimeout in browser_pdfjs_preview.js to avoid failing in ccov. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D106512
2021-02-25 20:37:47 +00:00
Dimi Lee
a08d074e0b Bug 1686237 - Do not enable copy username button when the username is empty r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D106125
2021-02-25 20:32:42 +00:00
Randell Jesup
d8d28f4ea9 Bug 1694036: fix testing race condition is about:home restart simulation r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D106163
2021-02-25 20:20:03 +00:00
andreipetcu
14b0e1db94 Bug 1649940 Login CSV import log page r=sfoster,flod,tgiles
Differential Revision: https://phabricator.services.mozilla.com/D100639
2021-02-25 20:06:32 +00:00
Cosmin Sabou
253c39a17a Backed out changeset 36b76c196497 (bug 1691499) for bc failures on browser_decoderDoctor.js. CLOSED TREE 2021-02-25 21:47:25 +02:00
Julian Descottes
6e37958c88 Bug 1694140 - [devtools] Stop using TargetFactory.forTab outside of devtools r=rpl,ochameau
Depends on D106000

Differential Revision: https://phabricator.services.mozilla.com/D106001
2021-02-25 18:02:52 +00:00
Michelle Goossens
32a54b2882 Bug 1692672 - Re-label "Paste & Go" to "Paste and Go" r=emalysz,flod
Differential Revision: https://phabricator.services.mozilla.com/D106499
2021-02-25 17:28:33 +00:00
Dale Harvey
cfe3d13030 Bug 1694694 - Ensure QuickSuggest searches are case insensitive r=adw
Differential Revision: https://phabricator.services.mozilla.com/D106326
2021-02-25 14:57:35 +00:00
Dale Harvey
10848e756a Bug 1693890 - Defer loading QuickSuggest data until idle r=adw
Differential Revision: https://phabricator.services.mozilla.com/D106318
2021-02-25 13:46:30 +00:00
Brindusan Cristian
39abcde940 Backed out 10 changesets (bug 1694140, bug 1694886, bug 1688688) for devtools failures on browser_CORS-console-warnings.js. CLOSED TREE
Backed out changeset 1b7367a27d9a (bug 1694886)
Backed out changeset d5a70a3143ad (bug 1694140)
Backed out changeset 74adaced5c0a (bug 1694140)
Backed out changeset 0b8f857e3f90 (bug 1694140)
Backed out changeset 45a8dc952aba (bug 1694140)
Backed out changeset 299f17e9cb6f (bug 1694140)
Backed out changeset 6beb9dd48ef3 (bug 1694140)
Backed out changeset 5f6688e8fe4c (bug 1694140)
Backed out changeset ae1fa0484c91 (bug 1688688)
Backed out changeset 8a0f5c24ed9a (bug 1688688)
2021-02-25 16:07:39 +02:00
Julian Descottes
1ac3484028 Bug 1694140 - [devtools] Stop using TargetFactory.forTab outside of devtools r=rpl,ochameau
Depends on D106000

Differential Revision: https://phabricator.services.mozilla.com/D106001
2021-02-25 12:58:14 +00:00
Neil Deakin
86db2fec08 Bug 1691499, add a link field to notification bar buttons to use a link instead, convert learn more buttons in notification bars to links, r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105750
2021-02-25 12:00:39 +00:00
Drew Willcoxon
5c28daf615 Bug 1693126 - Add telemetry for when users disable Quick Suggest. r=harry,nanj
This adds event telemetry that's recorded when the
`browser.urlbar.suggest.quicksuggest` pref is toggled. This pref corresponds to
the checkbox in about:preferences#search labeled "Show suggested and sponsored
results in the address bar".

I used `contextservices.quicksuggest` as the event telemetry category name to be
similar to the `contextual.services.quicksuggest.*` scalars. Event names are
limited to 30 chars, so it couldn't be exactly the same.

This is based on my earlier revision for scalar telemetry in D106173.

Depends on D106173

Differential Revision: https://phabricator.services.mozilla.com/D106248
2021-02-25 06:21:32 +00:00
Drew Willcoxon
da79f59395 Bug 1693927 - Record keyed scalar telemetry for impressions and clicks on Quick Suggest results. r=harry,nanj
This adds three new keyed scalars:

* `contextual.services.quicksuggest.impression`: Incremented when a Quick
  Suggest result is shown in an address bar engagement where the user picks any
  result.
* `contextual.services.quicksuggest.click`: Incremented when the user picks a
  Quick Suggest result (not including the help button).
* `contextual.services.quicksuggest.help``: Incremented when the user picks the
  onboarding help button in a Quick Suggest result.

The changes to telemetry.rst and Scalars.yaml have more details.

I modified `TelemetryEvent.typeFromElement()` to return `"help"` for clicks on
the help button so that the quick suggest provider can tell whether the main
part of the result was picked or the help button. I left `"tiphelp"` for tip
help buttons in case anything depends on that.

Depends on D106060

Differential Revision: https://phabricator.services.mozilla.com/D106173
2021-02-25 06:21:30 +00:00
Csoregi Natalia
bfcf41eb69 Backed out 2 changesets (bug 1693927, bug 1693126) as requested. CLOSED TREE
Backed out changeset f49147a4544b (bug 1693126)
Backed out changeset 8bb5bc9c97b2 (bug 1693927)
2021-02-25 05:08:26 +02:00
Drew Willcoxon
e679f2cf3f Bug 1693126 - Add telemetry for when users disable Quick Suggest. r=harry,nanj
This adds event telemetry that's recorded when the
`browser.urlbar.suggest.quicksuggest` pref is toggled. This pref corresponds to
the checkbox in about:preferences#search labeled "Show suggested and sponsored
results in the address bar".

I used `contextservices.quicksuggest` as the event telemetry category name to be
similar to the `contextual.services.quicksuggest.*` scalars. Event names are
limited to 30 chars, so it couldn't be exactly the same.

This is based on my earlier revision for scalar telemetry in D106173.

Depends on D106173

Differential Revision: https://phabricator.services.mozilla.com/D106248
2021-02-25 02:52:04 +00:00
Drew Willcoxon
da5fd2c2bb Bug 1693927 - Record keyed scalar telemetry for impressions and clicks on Quick Suggest results. r=harry,nanj
This adds three new keyed scalars:

* `contextual.services.quicksuggest.impression`: Incremented when a Quick
  Suggest result is shown in an address bar engagement where the user picks any
  result.
* `contextual.services.quicksuggest.click`: Incremented when the user picks a
  Quick Suggest result (not including the help button).
* `contextual.services.quicksuggest.help``: Incremented when the user picks the
  onboarding help button in a Quick Suggest result.

The changes to telemetry.rst and Scalars.yaml have more details.

I modified `TelemetryEvent.typeFromElement()` to return `"help"` for clicks on
the help button so that the quick suggest provider can tell whether the main
part of the result was picked or the help button. I left `"tiphelp"` for tip
help buttons in case anything depends on that.

Depends on D106060

Differential Revision: https://phabricator.services.mozilla.com/D106173
2021-02-25 02:52:04 +00:00
Daisuke Akatsuka
7e58e85147 Bug 897954: Remove onBeginUpdateBatch and onEndUpdateBatch functions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105441
2021-02-25 01:58:24 +00:00
smolnar
8a82d9ec16 Backed out 3 changesets (bug 897954) for causing node test failures in PlacesFeed. CLOSED TREE
Backed out changeset 0a60eb3f7ba8 (bug 897954)
Backed out changeset 9443814d173b (bug 897954)
Backed out changeset 2e558ac8e419 (bug 897954)
2021-02-25 03:21:58 +02:00
Daisuke Akatsuka
9f8f7cf96f Bug 897954: Remove onBeginUpdateBatch and onEndUpdateBatch functions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105441
2021-02-25 00:12:40 +00:00
smolnar
0e0405afb8 Backed out changeset ca970620edf2 (bug 1685961) for causing mochitest failures in browser_performance. CLOSED TREE 2021-02-25 01:40:51 +02:00
Mike Conley
896f9f05f1 Bug 1694195 - Remove the customize and pageActionButton UITour targets. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106307
2021-02-24 22:37:28 +00:00
Mike Conley
badc47e6a3 Bug 1694197 - Update a number of UITour targets to make sure they work with the Proton AppMenu enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106306
2021-02-24 22:37:27 +00:00
Dale Harvey
f847143c25 Bug 1680464 - Show Firefox Suggestions in private mode when enabled r=adw
Differential Revision: https://phabricator.services.mozilla.com/D106196
2021-02-24 21:51:51 +00:00
Emma Malysz
86a7eeaf5a Bug 1694648, ensure toolbarseparators are added correctly for menu headers when proton is enabled r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D106310
2021-02-24 21:28:23 +00:00
Bernard Igiri
a406661d0f Bug 1685961 - Hide Content Process Limit UI r=Gijs
Hides the "Content Process Limit" UI when Fission is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D105055
2021-02-24 20:42:31 +00:00
Emma Malysz
e2feec63e1 Bug 1686526, hide sidebar button in proton toolbar r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105819
2021-02-24 20:00:15 +00:00
Csoregi Natalia
e50ad13694 Backed out 2 changesets (bug 1693927, bug 1693126) for failures on browser_urlbar_telemetry_quicksuggest.js. CLOSED TREE
Backed out changeset 681c90aa832e (bug 1693126)
Backed out changeset 7525ec04b82a (bug 1693927)
2021-02-24 22:00:43 +02:00
Drew Willcoxon
8b20784ab6 Bug 1693126 - Add telemetry for when users disable Quick Suggest. r=harry,nanj
This adds event telemetry that's recorded when the
`browser.urlbar.suggest.quicksuggest` pref is toggled. This pref corresponds to
the checkbox in about:preferences#search labeled "Show suggested and sponsored
results in the address bar".

I used `contextservices.quicksuggest` as the event telemetry category name to be
similar to the `contextual.services.quicksuggest.*` scalars. Event names are
limited to 30 chars, so it couldn't be exactly the same.

This is based on my earlier revision for scalar telemetry in D106173.

Depends on D106173

Differential Revision: https://phabricator.services.mozilla.com/D106248
2021-02-24 19:13:50 +00:00
Drew Willcoxon
0b23a69777 Bug 1693927 - Record keyed scalar telemetry for impressions and clicks on Quick Suggest results. r=harry,nanj
This adds three new keyed scalars:

* `contextual.services.quicksuggest.impression`: Incremented when a Quick
  Suggest result is shown in an address bar engagement where the user picks any
  result.
* `contextual.services.quicksuggest.click`: Incremented when the user picks a
  Quick Suggest result (not including the help button).
* `contextual.services.quicksuggest.help``: Incremented when the user picks the
  onboarding help button in a Quick Suggest result.

The changes to telemetry.rst and Scalars.yaml have more details.

I modified `TelemetryEvent.typeFromElement()` to return `"help"` for clicks on
the help button so that the quick suggest provider can tell whether the main
part of the result was picked or the help button. I left `"tiphelp"` for tip
help buttons in case anything depends on that.

Depends on D106060

Differential Revision: https://phabricator.services.mozilla.com/D106173
2021-02-24 18:01:37 +00:00
Michelle Goossens
46dd0460da Bug 1692670 - Remove separator between delete and "select all" in the content context menu r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D105992
2021-02-24 17:54:03 +00:00
Nan Jiang
59c6a49f3a Bug 1693393 - add telemetry for sponsored TopSites in Urlbar r=dao,harry
Differential Revision: https://phabricator.services.mozilla.com/D105639
2021-02-24 16:57:27 +00:00
harry
27e7bad0be Bug 1691544 - Part 2 - Update focused-and-closed state for Proton. r=mak,desktop-theme-reviewers,dao
This patch mainly does three things:
1. Changes the necessary CSS to meet the Proton spec.
2. Removes several calls to UrlbarInput.startLayoutBreakout(), because the Urlbar no longer expands when the panel is not open.
3. Introduces a [suppress-focus-border] attribute. This attribute hides the 2px focus ring around the Urlbar. This ensures that we don't flash the focus ring when the user clicks a Urlbar that will autoOpen, seeing as the open Urlbar no longer has a border. It also hides the focus border after the user presses Esc, as specified in Figma.

Differential Revision: https://phabricator.services.mozilla.com/D105097
2021-02-24 16:02:40 +00:00
Mark Banner
c288ca2e37 Bug 1694060 - Update search engine url for allegro.pl. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D106146
2021-02-24 13:35:05 +00:00
Mike Conley
3da2d710da Bug 1688960 - Use h1 and h2 elements for panel headers and subheaders. r=Standard8,yzen,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105081
2021-02-24 02:52:30 +00:00
Daisuke Akatsuka
9e63f9ba1f Bug 1692368: Make page-removed event to batch handle. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D105283
2021-02-24 02:15:46 +00:00
Masayuki Nakano
bc2a8bc131 Bug 1691622 - part 7: Merge synthesizeNativeMouseMove* with synthesizeNativeMouseEvent* r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D105761
2021-02-24 01:27:09 +00:00
Masayuki Nakano
44ff291cb4 Bug 1691622 - part 6: Merge synthesizeNativeMouseClick* with synthesizeNativeMouseEvent* r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D105760
2021-02-24 01:27:08 +00:00
Masayuki Nakano
0d0a504a13 Bug 1691622 - part 2: Merge synthesizeNativeMouseClickAtCenter with synthesizeNativeMouseClick r=smaug
With adding new feild to the `aParam`, `synthesizeNativeMouseClick` can
work as `synthesizenativeMouseClickAtCenter` too.  Therefore, we can get
rid of the redundant API.

Additionally, this patch makes `synthesizeNativeMouseClickWithAPZ` can
take the new field for consistency between them.

Differential Revision: https://phabricator.services.mozilla.com/D105756
2021-02-24 01:27:07 +00:00
Dorel Luca
df1d85fc90 Backed out 2 changesets (bug 1688960, bug 1693177) for Browser-chrome failures in browser/base/content/test/sync/browser_sync.js. CLOSED TREE
Backed out changeset 13e08408add0 (bug 1693177)
Backed out changeset a34474998cd6 (bug 1688960)
2021-02-24 03:36:21 +02:00
Mike Conley
7404b84286 Bug 1688960 - Use h1 and h2 elements for panel headers and subheaders. r=Standard8,yzen,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105081
2021-02-23 23:16:12 +00:00
Narcis Beleuzu
f0b46e9938 Backed out 2 changesets (bug 1694036) for bc failures on browser_process_crash.js. CLOSED TREE
Backed out changeset cd61de1bc04e (bug 1694036)
Backed out changeset 1a29ecee881e (bug 1694036)
2021-02-24 02:07:41 +02:00
Tom Schuster
98018ecb9a Bug 1692716 - Make browser_quit_disabled.js more robust. r=Gijs
I realized that we wouldn't notice if the quit-application-requested observer wasn't called.

Differential Revision: https://phabricator.services.mozilla.com/D105121
2021-02-23 21:23:24 +00:00
Gijs Kruitbosch
14792b1e0b Bug 1694446 - remove pocket library animation, r=emalysz,desktop-theme-reviewers,harry
I'm keeping the generic 'animate' selectors which are still used for the bookmark/star animation.
This should make it easier to add other animations to the library in future, if that
ends up useful, and making them more specific to the star animation doesn't seem like it gains
us anything. The de-duplication from bug 1393565 helps a lot here.

Differential Revision: https://phabricator.services.mozilla.com/D106153
2021-02-23 20:42:18 +00:00
Randell Jesup
14539dda32 Bug 1694036: fix testing race condition is about:home restart simulation r=mconley
Depends on D105878

Differential Revision: https://phabricator.services.mozilla.com/D106163
2021-02-23 20:41:59 +00:00
Drew Willcoxon
b7a84320fc Bug 1694315 - Add queryContext and details parameters to UrlbarProvider.onEngagement(). r=harry
There are a couple of things that would make collecting engagement telemetry
like impressions and clicks a lot easier: having the query context and details
of the picked result. We need to collect this exact telemetry for the top sites
and quick suggest experiments. For quick suggest in particular, we need the
index of the quick suggest result for the impression telemetry. There's no good
way to get that right now because although the quick suggest is always last, the
index depends on the muxer and the number of final results.

Details of the picked result is easy because there's already a `details` object
with that info when the controller's telemetry event tells the providers manager
to notify providers of an engagement.

The query context is a little harder, but we can take it from the controller.
It's not guaranteed to be defined at the time that `onEngagement` is called for
`start`, so I tried to make that clear in the javadoc. Since it may not be
defined on `start`, `onEngagement` still needs the `isPrivate` param even though
the context also has an `isPrivate` property.

With this patch, we should be able to record clicks in providers without having
to call `pickResult` for every provider. `pickResult` would be the other obvious
place to record picks on results in providers.

Depends on D105815

Differential Revision: https://phabricator.services.mozilla.com/D106060
2021-02-23 17:43:33 +00:00
Drew Willcoxon
80e0f95944 Bug 1694237 - Properly discard duplicate suggestions in urlbar results. r=mak
This was a little more work than I first thought because fixing it uncovered
another problem: The recurse logic in the muxer isn't quite right. There are a
couple of problems actually:

1. By re-using the results from children that did not fill up, we skip updating
   `stateCopy` (and therefore `state`), which messes up subsequent buckets in
   the recursion because they're working with the wrong state.
2. By simply assigning `state = stateCopy` after handling children that didn't
   fill up, we're not really doing anything because at that point the function
   is done. The caller and subsequent buckets in the recursion won't see the
   updated state. We need to update `state` in place.

These problems were revealed in test_resultBuckets.js, which is pretty thorough.

To fix the actual problem that the bug is about (not deduping remote suggestions
and form history), we just need to keep a set of suggestions that the muxer has
seen so far, and then `_canAddResult` can discard dupe suggestions. This patch
adds `state.suggestions` for that, and it includes form history, remote
suggestions, and the heuristic query when it's a search result. This way the
relative ordering of form history vs. remote suggestions doesn't matter. We'll
dedupe whichever comes later.

A bunch of tasks in test_resultBuckets.js needed to be updated to account for
this because they were incorrectly not expecting dupes to be removed.

Differential Revision: https://phabricator.services.mozilla.com/D106030
2021-02-23 17:17:31 +00:00
Michelle Goossens
23fb719f61 Bug 1692553 - Remove "View page info" from page context menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D105987
2021-02-23 16:09:43 +00:00
Emma Malysz
38dfb59850 Bug 1690131: create proton-specific fxa menu r=mconley,markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104937
2021-02-23 15:37:12 +00:00
harry
43ec533571 Bug 1594132 - Move background-color rules so they do not appear under appearance rules, enabling sidebar vibrancy. r=ntim,dao
`appearance` CSS rules allow elements to take on system appearance. For UI elements that we want to take on system styling, we set `appearance: auto` combined with platform-specific rules like `-moz-default-appearance: -moz-mac-vibrant-titlebar-light;`

macOS sidebar vibrancy broke because a background-color was being applied to `root`. That colour appeared under elements with `appearance: auto` set, so we wouldn't see the platform-specific styling. This patch moves the root background-color to `#navigator-toolbox`, so that it does not appear under `#sidebar-box`.

We still want a background colour applied to sidebars when a lwtheme includes one. We only want `appearance: auto` applied to sidebars when the active theme does not have sidebar styling rules. That's why `#sidebar-box:not(:-moz-lwtheme)` is changed to `#sidebar-box:not([lwt-sidebar])`.

This patch also removes the rule
```
:root:-moz-lwtheme {
  appearance: none;
}
```
from osx/global/global.css. There's no corresponding addition of a `#navigator-toolbox { appearance:none; }` rule because that rule already exists in [osx/browser.css](https://searchfox.org/mozilla-central/rev/7067bbd8194f4346ec59d77c33cd88f06763e090/browser/themes/osx/browser.css#45).

Differential Revision: https://phabricator.services.mozilla.com/D104416
2021-02-23 15:03:45 +00:00
Tom Tung
3c9a841d30 Bug 1666584 - Remove the code for updating _lastKnownUserContextId because it's not needed; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D105334
2021-02-23 08:28:57 +00:00
Tom Tung
f8a32ec9bc Bug 1665942 - Collect userContextId from tab in _collectBaseTabData and stop collecting it in the session history collection; r=nika,geckoview-reviewers,agi
### Story

When a COOP+COEP page is opened, we change the remoteness of the tab. After
changing the remoteness, the tab is then restored by its TabState. However,
we haven't collected userContextId through the current mechanism.

To fix that, this patch changes the way to collect userContextId.

### Test Plan

Test: D98296

Depends on D98296

Differential Revision: https://phabricator.services.mozilla.com/D98468
2021-02-23 08:28:57 +00:00
Tom Tung
0a551fd6c7 Bug 1683713 - Ensure the restoring tab is not reused in addMultipleTabs; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D100249
2021-02-23 08:28:56 +00:00
Scott
9da4bf1ea8 Bug 1691226 - Remove personalization code from the old activity stream topstories. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D104408
2021-02-23 00:45:24 +00:00
Drew Willcoxon
1c90b59add Bug 1693123 - Add a checkbox to the Search Suggestions preferences UI that allows Quick Suggest to be toggled. r=Gijs
This is an unusual revision, but it adds a checkbox to the Search Suggestions
section of the Search pane for the urlbar Quick Suggest experiment, which is
en-US only. The checkbox is hidden by default and it's only shown if the
`browser.urlbar.quicksuggest.enabled` pref, which controls the experiment, is
true. Because this is an experiment and it's en-US only, I've hardcoded some
strings. Bug 1692518 has info on the experiment, and bug 1693345 has a
discussion about hardcoding strings.

The checkbox controls the new pref `browser.urlbar.suggest.quicksuggest`. It's
similar to the other existing `browser.urlbar.suggest.*` prefs.

There's a learn-more link but we don't know the final URL yet, so I'm using
mozilla.org. There's a TODO with a bug number.

We also want to change the Search Suggestions description when the experiment is
enabled. I've hardcoded that new string, too.

The test is pretty thorough and I started writing it before the new prefs
landed, so it doesn't assume the prefs exist or which branch they're on.

Differential Revision: https://phabricator.services.mozilla.com/D105701
2021-02-22 23:08:12 +00:00
Drew Willcoxon
c9c969f3e6 Bug 1693178 - Show the Quick Suggest help/info button the first 5 times the user sees a Quick Suggest result. r=daleharvey
Depends on D105679

Differential Revision: https://phabricator.services.mozilla.com/D105815
2021-02-22 22:20:18 +00:00
Micah Tigley
7ebb03087c Bug 1690575 - Clarify toolbar context menu items. r=Gijs,fluent-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D104862
2021-02-22 21:41:29 +00:00
Emma Malysz
f05741c80d Bug 1690854, remove slow startup notification r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D105993
2021-02-22 21:20:36 +00:00
Nan Jiang
1a0e71c351 Bug 1688698 - Add telemetry for sponsored TopSites r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D104846
2021-02-22 20:03:18 +00:00
Gijs Kruitbosch
0598e83a2b Bug 1693276 - update button styles for proton r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D105481
2021-02-22 10:53:34 +00:00
Henri Sivonen
37e52696cd Bug 1693295 - Cap the Windows version in the User-Agent to 10.0. r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D105605
2021-02-22 08:56:40 +00:00
Daisuke Akatsuka
fabdafe56d Bug 1185358: Update untrimmedValue even if pasted value is changed. r=adw
Depends on D105726

Differential Revision: https://phabricator.services.mozilla.com/D105727
2021-02-22 01:54:05 +00:00
Daisuke Akatsuka
feba0e3455 Bug 1185358: Replace any whitespace chars with space. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D105726
2021-02-22 01:54:05 +00:00
Mark Banner
70a9414c72 Bug 1687628 - Add tests for additional telemetry on Baidu. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D104378
2021-02-21 19:15:01 +00:00
Kate Hudson
5ed61e3b12 Bug 1692230 - Move nimbus code to its own directory r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D105567
2021-02-20 02:51:12 +00:00
Emma Malysz
6369fb568d Bug 1692214, hide library button by default in proton toolbar r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105076
2021-02-19 22:14:21 +00:00
Csoregi Natalia
3aa417b128 Backed out changeset 6ce7064d4bf6 (bug 1692214) for browser-chrome failures on browser_proton_toolbar_hide_home_and_library_buttons.js. CLOSED TREE 2021-02-19 21:42:56 +02:00
Neil Deakin
2c12c67037 Bug 1676943, add telemetry for how often tab or subframe crash ui is presented to the user. In addition, add telemetry to indicate that the user is shown the unsubmitted crashes notification bar, r=mconley
The telemetry is triggered either when the user is shown the tab crashed page, or when the subframe notification is displayed and the crash occurs in an active tab, or when the user switches to a tab that has a subframe crash notification displayed. The telemetry only applies the first time the tab is switched to. The unsubmitted crashes notification bar appears after 10 minutes or so and is shown in the top-most browser window, if one exists, and telemetry applies once when this occurs.

Differential Revision: https://phabricator.services.mozilla.com/D100349
2021-02-19 19:24:17 +00:00
Andrei Oprea
47fce7c52c Bug 1692382 - Update newtab dependencies r=emcminn
Major updates (dev dependencies):
* karma updated to 6.1.1
* mocha updated to 8.3.0
* sinon updated to 9.2.4

Differential Revision: https://phabricator.services.mozilla.com/D105211
2021-02-19 19:13:53 +00:00
Emma Malysz
1186c0fad7 Bug 1692214, hide library button by default in proton toolbar r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105076
2021-02-19 19:00:55 +00:00
Mike Conley
744c808df2 Bug 1692630 - Apply more Proton styles for headers and subheaders in the AppMenu. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D105786
2021-02-19 17:45:25 +00:00
Drew Willcoxon
71bed01691 Bug 1693648 - Allow hardcoded title strings for help buttons. r=dao
It turns out we're going to hardcode user-facing strings for the Quick Suggest
experiment, so help buttons need to allow their `title` attribute to be set
directly. This patch leaves `data-l10n-id` support because ultimately that's
what we'll want to use for non-experiment features. I didn't bother only setting
one or the other if both exist because we're never going to use both at the same
time, and it's not worth the code IMO.

Depends on D105095

Differential Revision: https://phabricator.services.mozilla.com/D105679
2021-02-19 16:58:07 +00:00
Ed Lee
f348f8d342 Bug 1686343 - Ask user to pin Firefox during windows about:welcome onboarding r=pdahiya
Support pin special action and add a new action property to wait for default browser that changes styles and content.

Differential Revision: https://phabricator.services.mozilla.com/D105653
2021-02-19 10:25:54 +00:00
Dale Harvey
81742620d2 Bug 1691776 - Implement a QuickSuggest Urlbar provider r=adw
Differential Revision: https://phabricator.services.mozilla.com/D104768
2021-02-19 06:43:46 +00:00
Dorel Luca
3393a60225 Backed out changeset 6140076d8aba (bug 1691776) for Browser-chrome failures in browser/components/urlbar/tests/browser/browser_quicksuggest.js. CLOSED TREE 2021-02-19 02:53:47 +02:00
Dale Harvey
ff3000edd1 Bug 1691776 - Implement a QuickSuggest Urlbar provider r=adw
Differential Revision: https://phabricator.services.mozilla.com/D104768
2021-02-18 23:22:44 +00:00
Narcis Beleuzu
641e8b352b Backed out 2 changesets (bug 1571419) for bc failure on browser_headless_screenshot.js
Backed out changeset f96850b1cb38 (bug 1571419)
Backed out changeset 0c018b593000 (bug 1571419)
2021-02-19 01:03:13 +02:00
Brendan Dahl
8d3955b10e Bug 1571419 - Add test for cross origin iframe screenshot. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D104899
2021-02-18 21:51:11 +00:00
Brendan Dahl
183f77768a Bug 1571419 - Make --screenshot fission compatible. r=kmag
Move capturing the window into the parent process to use the new
drawSnapshot API.

Differential Revision: https://phabricator.services.mozilla.com/D104734
2021-02-18 21:51:11 +00:00
Alexandre Poirot
17df6d9066 Bug 1692874 - [devtools] Read isLocalTab from descriptor instead of target front. r=rpl,jdescottes
There is still some usages in isTargetSupported,
but that would requires refactoring this method into isDescriptorSupported
and be async as some isTargetSupported only works against target as it checks for traits on it.

Differential Revision: https://phabricator.services.mozilla.com/D105201
2021-02-18 18:36:48 +00:00
Drew Willcoxon
f7cda9a0be Bug 1692526 - Allow results to include a help/info button. r=dao
This supports a new `helpUrl` payload property on all results. It causes results
in the view to have a help button that can be selected and picked independently
of the main part of the result. When picked, the help button loads the
`helpUrl`. It looks and acts the same as the help buttons we already have for
tip results.

The help button should be flush with the trailing edge of the result row, and it
should be selectable independently from the main part of the result. To achieve
that without disrupting things too much, I create the button inside of
`.urlbarView-row` but outside of `.urlbarView-row-inner`. The "main" part of the
row is `.urlbarView-row-inner`. I made `.urlbarView-row` have `display: flex` so
the the inner part can have `flex: 1` so it can fill up the entire row except
for the help button.

This also reworks view selection a little so that for each row, we look for
selectable elements in the row instead of assuming that the row itself is
selectable. That also lets us remove a couple of special cases for tip and
dynamic results.

Differential Revision: https://phabricator.services.mozilla.com/D105095
2021-02-18 18:00:22 +00:00
Emma Malysz
3db136f14e Bug 1692351, add null check for gSavedState in proton toolbar migration r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105077
2021-02-18 17:34:04 +00:00
Andrei Oprea
d4bf0aebf2 Bug 1692227 - Add ExperimentFeature to newnewtab/settings panel r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D104987
2021-02-18 17:05:15 +00:00
Andrei Oprea
a79d482b16 Bug 1689567 - Add telemetry and handle disconnected events for infobar_message r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D105335
2021-02-18 16:29:42 +00:00
Nihanth Subramanya
5fbb6b0564 Bug 1693527 - When migrating old TRR mode, don't clear network.trr.mode if its value is 5. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D105625
2021-02-18 14:34:03 +00:00
Scott
e0eed45081 Bug 1693373 - Save to Pocket button 1 button experiment control variant fix. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D105501
2021-02-18 00:36:24 +00:00
Brindusan Cristian
b23d49acfa Backed out changeset 1ca4c3365fae (bug 1692351) for bc failures in browser_970511_undo_restore_default.js. CLOSED TREE 2021-02-18 01:30:56 +02:00
Emma Malysz
973901dc46 Bug 1692351, add null check for gSavedState in proton toolbar migration r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D105077
2021-02-17 22:02:17 +00:00
emcminn
ca0b2d53b4 Bug 1691145 - Make Set Default first page of default onboarding r=pdahiya,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104880
2021-02-17 21:17:52 +00:00
Greg Tatum
c9e1c0d512 Bug 1691751 - Fix Fluent linting whitespace issues; r=dminor,flod
Differential Revision: https://phabricator.services.mozilla.com/D105370
2021-02-17 21:02:49 +00:00
Brindusan Cristian
7142eed4fa Backed out changeset cbcab4d7cb3e (bug 1691145) for bc failures in browser_aboutwelcome_multistage.js. CLOSED TREE 2021-02-17 22:08:11 +02:00
emcminn
665445b0a4 Bug 1691145 - Make Set Default first page of default onboarding r=pdahiya,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104880
2021-02-17 19:29:57 +00:00
Chris Peterson
66c00ce7d9 Bug 1679929 - Rename SPOOFED_APPNAME to CONST_APPNAME because navigator.appName isn't spoofed. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D99858
2021-02-17 17:48:33 +00:00
Chris Peterson
73391858c7 Bug 1679929 - Add tests for the default User-Agent string. r=valentin
We previously had no tests for the default User-Agent string values, just for the spoofed values when resistFingerprinting is enabled!

Differential Revision: https://phabricator.services.mozilla.com/D99857
2021-02-17 17:48:33 +00:00
Kate Hudson
f26a2e1e06 Bug 1692228 - Send exposure for New Tab Feature r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D105005
2021-02-17 13:44:38 +00:00
Csoregi Natalia
3e2dc7ffec Backed out 2 changesets (bug 1665942, bug 1683713) for failures on browser_cookies_legacy.js. CLOSED TREE
Backed out changeset d2f4a6c7e9ca (bug 1665942)
Backed out changeset b04fe74185a0 (bug 1683713)
2021-02-17 13:28:09 +02:00
Tom Tung
9b0647633f Bug 1665942 - Collect userContextId from tab in _collectBaseTabData and stop collecting it in the session history collection; r=nika,geckoview-reviewers,agi
### Story

When a COOP+COEP page is opened, we change the remoteness of the tab. After
changing the remoteness, the tab is then restored by its TabState. However,
we haven't collected userContextId through the current mechanism.

To fix that, this patch changes the way to collect userContextId.

### Test Plan

Test: D98296

Depends on D98296

Differential Revision: https://phabricator.services.mozilla.com/D98468
2021-02-17 07:45:13 +00:00
Tom Tung
77da8b6452 Bug 1683713 - Ensure the restoring tab is not reused in addMultipleTabs; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D100249
2021-02-17 07:45:12 +00:00
Punam Dahiya
ad41a3d038 Bug 1688802 - Remove focus from the address bar in about:welcome r=dao,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D103004
2021-02-17 06:25:09 +00:00
Adam Gashlin
d504494eab Bug 1687562 - Part 2: Detect whether Firefox is pinned to the taskbar. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D105365
2021-02-17 05:10:53 +00:00
Adam Gashlin
1d35ccd566 Bug 1687562 - Part 1: Implement Taskbar pinning. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D104779
2021-02-17 05:10:53 +00:00
Butkovits Atila
2b85c45f31 Backed out changeset 1a5c5bb711b4 (bug 1688802) for causing failures on browser_aboutwelcome_skipFocus.js. CLOSED TREE 2021-02-17 00:12:16 +02:00
Punam Dahiya
ae7e45b76f Bug 1688802 - Remove focus from the address bar in about:welcome r=dao,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D103004
2021-02-16 21:07:41 +00:00
julianwels
622de84aae Bug 1685736 - Mixed content download protection now also opens panel when the panel hasn't been initialized before. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D105254
2021-02-16 18:23:01 +00:00
Scott
1ca39c02cd Bug 1690608 - Fixup pocket button height calculations r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D103930
2021-02-16 17:13:27 +00:00
Emma Malysz
9258625209 Bug 1690858: add safemode toggle to help menu r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104747
2021-02-16 16:51:45 +00:00
Mike Conley
eb66a60c4a Bug 1692522 - Temporarily re-introduce keyboard shortcut display in Recently Closed Win/Tab submenu. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D105336
2021-02-16 16:48:18 +00:00
Gijs Kruitbosch
b94c805ecb Bug 1689592 - replace old http mailto handlers with https equivalents, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D105253
2021-02-16 13:30:17 +00:00
smolnar
834440de2e Backed out changeset b17481ba70ba (bug 1692716) for causing bc failures in browser_quit_disabled. CLOSED TREE 2021-02-15 17:12:36 +02:00
Tom Schuster
eabfd6e3f1 Bug 1692716 - Make browser_quit_disabled.js more robust. r=Gijs
I realized that we wouldn't notice if the quit-application-requested observer wasn't called.

Differential Revision: https://phabricator.services.mozilla.com/D105121
2021-02-15 10:28:36 +00:00
Daisuke Akatsuka
105aaaa9fa Bug 1678618: Remove onDeleteURI and onDeleteVisits from nsINavHistoryObserver. r=mak
Depends on D101115

Differential Revision: https://phabricator.services.mozilla.com/D101118
2021-02-15 08:04:15 +00:00
Daisuke Akatsuka
f4358ad192 Bug 1678618: Apply page-removed event. r=mak
Depends on D101114

Differential Revision: https://phabricator.services.mozilla.com/D101115
2021-02-15 08:04:15 +00:00
Csoregi Natalia
b32d4ca055 Backed out 4 changesets (bug 1678618) for node failures. CLOSED TREE
Backed out changeset e714440f6c0d (bug 1678618)
Backed out changeset ae83fda183dd (bug 1678618)
Backed out changeset bef0ea72ded8 (bug 1678618)
Backed out changeset ec96259a3f81 (bug 1678618)
2021-02-15 05:49:54 +02:00
Daisuke Akatsuka
d41c3d5379 Bug 1678618: Remove onDeleteURI and onDeleteVisits from nsINavHistoryObserver. r=mak
Depends on D101115

Differential Revision: https://phabricator.services.mozilla.com/D101118
2021-02-15 02:47:39 +00:00
Daisuke Akatsuka
687e052ffb Bug 1678618: Apply page-removed event. r=mak
Depends on D101114

Differential Revision: https://phabricator.services.mozilla.com/D101115
2021-02-15 02:47:38 +00:00
digitalsimboja
4d31bed09c Bug 1692349 - Remove unreliable assertion in test_ext_menu_caller.js r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D105106
2021-02-14 11:50:25 +00:00
james
16060f0cc4 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 23:33:51 +00:00
Narcis Beleuzu
ed6880e281 Backed out changeset b3fcb4fcea64 (bug 1691274) for bc failures on browser_pointerlock_warning.js . CLOSED TREE 2021-02-13 21:46:51 +02:00
james
8069ab6165 Bug 1691274 - Use DOM hidden property methods instead of attribute methods in browser/ directory. r=ntim,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D104552
2021-02-13 18:11:18 +00:00
Gijs Kruitbosch
23c1d25676 Bug 1685313 - fix tests to pass with either the new or old window modal dialogs, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104703
2021-02-12 22:41:54 +00:00
Sebastian Hengst
47c58c274b Bug 1692595 - assign resistfingerprinting directories to Bugzilla component "Core :: Privacy: Anti-Tracking". r=timhuang DONTBUILD.
New intermittent bugs get filed into the bugzilla component defined in the
moz.build file.

Differential Revision: https://phabricator.services.mozilla.com/D105070
2021-02-12 21:53:18 +00:00
Mike Conley
2687e4f918 Bug 1691152 - Apply latest Proton stylings to AppMenu. r=ewright
Depends on D104749

Differential Revision: https://phabricator.services.mozilla.com/D105027
2021-02-12 17:59:50 +00:00
Mike Conley
511394874d Bug 1690662 - Port the add-on and browser update banners to the Proton AppMenu. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D104749
2021-02-12 17:59:49 +00:00
Itiel
ffc80ca8cc Bug 1689480 - Changes to about:logins checkboxes to accomodate for the added margin-block r=tgiles,ntim
This also gets rid of the non clickable area between the checkbox and its label.

Differential Revision: https://phabricator.services.mozilla.com/D103392
2021-02-12 17:05:26 +00:00
Itiel
810c0fb7c5 Bug 1689480 - Changes to about:welcomeback radiobuttons to accomodate for the added margin-block r=ntim
This also gets rid of the non clickable area between the radiobutton and its label.

Differential Revision: https://phabricator.services.mozilla.com/D103393
2021-02-12 17:05:26 +00:00
Drew Willcoxon
f0b51d5d79 Bug 1691855 - Fix intermittent TV failure in browser/components/urlbar/tests/unit/test_resultBuckets.js. r=mak
The problem is that the test creates and registers many providers but never
unregisters them. Usually that's not a problem since test providers have random
names and test query contexts are created with the `providers` option. But
sometimes two different providers end up with the same name because
`Math.random() * 100000` ends up being the same. Therefore a context can end up
with two (duplicate) providers when there should be only one, which means
`context.results` ends up with two copies of each result.

This patch makes several changes:

* test_resultBuckets.js now unregisters providers.
* Stop using `Math.random()` as the basis for making random test provider
  names. Instead, use UUIDs.
* Add a `registerCleanupFunction` in head.js for unregistering test providers
  (even though that wouldn't have fixed this bug).
* Make `registerBasicTestProvider` return the provider instead of its name so
  that the provider can be passed to
  `UrlbarProvidersManager.unregisterProvider()`.

Differential Revision: https://phabricator.services.mozilla.com/D104929
2021-02-12 16:23:52 +00:00
Andreea Pavel
c9c6e3158d Backed out 3 changesets (bug 1685313) for failing test_prompt.html on a CLOSED TREE
Backed out changeset 7bdcbdc2d57f (bug 1685313)
Backed out changeset 319bc4d7bc0d (bug 1685313)
Backed out changeset 713de42fe3b4 (bug 1685313)
2021-02-12 06:50:58 +02:00
Gijs Kruitbosch
3a51301262 Bug 1685313 - fix tests to pass with either the new or old window modal dialogs, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104703
2021-02-11 23:57:58 +00:00
Scott
3f541cd930 Bug 1692324 - Fixing save to Pocket button one button variant link. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D104896
2021-02-11 22:47:19 +00:00
Erica Wright
3b5fe73d46 Bug 1689251 - About:preferences new tab input syncs value from pref. r=preferences-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D104279
2021-02-11 22:14:30 +00:00
Mark Banner
3ef6acac59 Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (application changes). r=geckoview-reviewers,Gijs,agi
Differential Revision: https://phabricator.services.mozilla.com/D104684
2021-02-11 22:02:15 +00:00
Mark Banner
263d555274 Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (test-only changes). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104683
2021-02-11 22:02:15 +00:00
Andrew Osmond
b12f12554f Bug 1686946 - Ship Software WebRender to OSX early beta/nightly users without (full) WebRender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D101933
2021-02-11 17:53:40 +00:00
emcminn
9dfcb9aa60 Bug 1685593 - Update Activity Stream docs to correct npm commands r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D101826
2021-02-11 16:27:14 +00:00
harry
8ba945d962 Bug 1691530 - Add address bar Proton sub-pref. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D104766
2021-02-11 16:22:26 +00:00
Tim Nguyen
5febc8eefa Bug 1692113 - Stop relying on 'true' value of getAttribute('hidden'). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104820
2021-02-11 15:22:18 +00:00
Tim Giles
2d96940761 Bug 1592050 - Allow search via password in about:logins with Primary Password enabled. r=sfoster,dimi
Differential Revision: https://phabricator.services.mozilla.com/D104455
2021-02-11 14:10:35 +00:00
digitalsimboja
85c30ab4b0 Bug 1588616 -Test case added Fix ext-menus.js to call withLastError with caller r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D103442
2021-02-11 13:42:31 +00:00
Alessio Placitelli
b265358b2c Bug 1691144 - Trigger windows.onFocusChanged with no private window permission. r=zombie
Credits to Jonathan Mayer for submitting the original patch.
The patch changes the onFocusChanged extension event handler
so that it no longer bails out if focus is moving to a private
window, ensuring that the onFocusChanged event gets generated
with the proper WINDOW_ID_NONE identifier.

Differential Revision: https://phabricator.services.mozilla.com/D104732
2021-02-11 09:26:29 +00:00
Daisuke Akatsuka
b0410a733d Bug 1687704: Reset needBrowserFocusAtEnterKeyUp when the searchbar lost the focus. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D104653
2021-02-10 23:57:08 +00:00
Daisuke Akatsuka
5816f67160 Bug 1690504: Batch handling bookmark-removed in newtabs. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D104385
2021-02-10 23:49:07 +00:00
Tim Nguyen
d2eed7a3f9 Bug 1691965 - Improve some existing high contrast mode CSS. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D104738
2021-02-10 22:16:44 +00:00
Tim Nguyen
4cf35a083f Bug 1691965 - Replace (-moz-windows-default-theme) with (prefers-contrast) in some browser/ usages. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D104695
2021-02-10 22:16:44 +00:00
Scott
7490ee82b3 Bug 1688270 - Refactor save to Pocket button messaging system r=gvn,mconley
Differential Revision: https://phabricator.services.mozilla.com/D102348
2021-02-10 21:53:25 +00:00
Mark Banner
269a6fbae9 Bug 1690750 - Simplify OpenSearchEngine to only allow loading engines from protocols where users can load them from. r=mak
The urls where an OpenSearch engine can be loaded from are already limited in LinkHandlerChild. This is cleaning up and simplifying what the OpenSearchEngine allows, and as a result allows the load path handling to be greatly simplified.

The test changes are due to no longer allowing chrome or file protocols. For future, we probably want to move away from OpenSearch for most of these, but the changes will make it easier to find the places to update.

Differential Revision: https://phabricator.services.mozilla.com/D104010
2021-02-10 18:12:08 +00:00
Dão Gottwald
ee6578a9bb Bug 1691478 - Fix detecting existing search shortcuts. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D104714
2021-02-10 17:19:29 +00:00
Tom Schuster
cb04d0eac4 Bug 52821 - Add a pref to disable the quit application shortcut. r=Gijs
browser.quitShortcut.disabled=true will disable the Ctrl + Q shortcut on all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D104189
2021-02-10 17:02:57 +00:00
Emma Malysz
c6cae30cd2 Bug 1686523, remove home button if proton is enabled and the button hasn't been used r=mstriemer,mconley
Differential Revision: https://phabricator.services.mozilla.com/D103796
2021-02-10 16:58:53 +00:00
Micah Tigley
6fcd8ab391 Bug 1690351 - Create a Proton-specific More Tools panel. r=jdescottes,mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104249
2021-02-10 15:21:58 +00:00
Drew Willcoxon
faaf1bbc04 Bug 1676469 - Convert matchBuckets to a granular list of result groups and rewrite the muxer to use it. r=preferences-reviewers,mak,harry
Summary of changes:

* Replace the `matchBuckets` pref with `resultBuckets`.
* `resultBuckets` stores a JSON'ed root result bucket object. See the big
  javadoc above `makeResultBuckets` in UrlbarPrefs for details.
* Convert existing result groups to more granular groups. This lets us remove
  the heuristic-ordering logic in the muxer. It also lets us fix a subtle
  inconsistency with regard to remote suggestions and form history; see the
  removal of the two comments that start with "Note that the second form history
  result appears after the remote suggestions" and "Note that the remote
  suggestions appear in between the two form history results" in
  test_search_suggestions.js.
* Unlike `matchBuckets`, `resultBuckets` stores *all* buckets, including the
  heuristic at the beginning. Modify the muxer so that it discards heuristic
  results that are not the first result.

Depends on D103137

Differential Revision: https://phabricator.services.mozilla.com/D99281
2021-02-09 21:53:38 +00:00
Andrei Oprea
dc29e9a644 Bug 1690312 - Remove checks for exposure ping and allow it to be sent multiple times r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D103941
2021-02-09 21:13:51 +00:00
Butkovits Atila
0305f603dc Bug 1677540 - disable test browser_async_remove_tab.js for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104539
2021-02-09 18:47:29 +00:00
alwu
8efed25b78 Bug 1690416 - remove HTMLMediaElement::ReportCanPlayTelemetry(). r=bryce,Gijs,webidl,mccr8
The actual telemetry probes has been removed by this, so this function is no longer reporting any result and we can remove it.

[1] https://phabricator.services.mozilla.com/D37313

Differential Revision: https://phabricator.services.mozilla.com/D103846
2021-02-09 18:27:33 +00:00
Erica Wright
fd602ab81f Bug 1690557 - hide_personalize event should only send when the personalize menu was actually closed. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D104428
2021-02-09 15:05:26 +00:00
Marco Bonardo
cdeebb521d Bug 1678323 - Ctrl+L, Tab stopped working with browser.toolbars.keyboard_navigation=false. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D104212
2021-02-09 10:50:33 +00:00