Commit Graph

63086 Commits

Author SHA1 Message Date
Dale Harvey
aa72d212cf Bug 1558452 - Fix sitePermission column header width. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35545

--HG--
extra : moz-landing-system : lando
2019-06-21 23:13:08 +00:00
Erica Wright
2c4d0c79fb Bug 1549830 - Create content blocking database. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D33716

--HG--
extra : moz-landing-system : lando
2019-06-21 22:45:47 +00:00
Csoregi Natalia
92490775ef Backed out changeset 86a122959152 (bug 1559551) for failures on test_menu_button.html. CLOSED TREE 2019-06-21 22:53:40 +03:00
Drew Willcoxon
ed7b16480f Bug 1559264 - Quantumbar: Don't call setValueFromResult when opening the history popup. r=dao
The problem is that on switching back to the first tab (see the bug), userTypedValue is non-null when URLBarSetURI is called. Therefore the proxy state can't be valid. Something about bug 1529931 caused userTypedValue to go from null to non-null in this case. Details below, but the summary is that we shouldn't be calling UrlbarInput.setValueFromResult when opening the history popup, because setValueFromResult sets userTypedValue.

Before bug 1529931, result.autofill would always be undefined for the first result in the history popup, because we didn't allow UnifiedComplete to return an autofill result for the search triggered by the history popup. After that bug, UnifiedComplete could return an autofill result in that case -- and it likely would since the first result in the history popup has a very high frecency, which also makes it eligible for autofill.

The problem with having an autofill result in the history popup is that it triggers the input.setValueFromResult() call in UrlbarController.receiveResults [1], and setValueFromResult sets userTypedValue. So when the user opens the history popup, userTypedValue gets set to a non-null value (input._lastSearchString).

The fix is to not allow autofill for the history popup. After making that fix on revision https://hg.mozilla.org/mozilla-central/rev/5e2a3b886e64, the bug went away.

However, after I made that fix on a fresh tree, the bug still happened. It turns out that input.setValueFromResult still ends up getting called, by UrlbarView._selectItem [2], which is called when results are received [3]. The fix for this afaict is just to pass `updateInput: false` to _selectItem.

The autofill-related fix doesn't seem to be necessary at all anymore (likely due to the substantial changes to autofill since that bug landed), but I left it in anyway since it seems right to not allow autofill results for the history popup.

One other useful bit of info is that userTypedValue is set to null by tabbrowser on page load [4], so that's how userTypedValue has a null value when the bug manifests and it goes from null to non-null.

[1] https://hg.mozilla.org/mozilla-central/file/5e2a3b886e647af1968b9e52a6672bdeee2a0d6f/browser/components/urlbar/UrlbarController.jsm#l150
[2] https://searchfox.org/mozilla-central/rev/da14c413ef663eb1ba246799e94a240f81c42488/browser/components/urlbar/UrlbarView.jsm#685
[3] https://searchfox.org/mozilla-central/rev/da14c413ef663eb1ba246799e94a240f81c42488/browser/components/urlbar/UrlbarView.jsm#220
[4] https://searchfox.org/mozilla-central/rev/da14c413ef663eb1ba246799e94a240f81c42488/browser/base/content/tabbrowser.js#5118

Differential Revision: https://phabricator.services.mozilla.com/D35505

--HG--
extra : moz-landing-system : lando
2019-06-21 18:37:27 +00:00
Matthew Noorenberghe
33956ae957 Bug 1559997 - Use a monospace password font in generated autocomplete. r=sfoster
Also fix the autocomplete footer size.

Differential Revision: https://phabricator.services.mozilla.com/D35562

--HG--
extra : moz-landing-system : lando
2019-06-21 19:07:38 +00:00
meandave
94264b7887 Bug 1559551 - Add Feedback menuitem to ellipsis menu.?jaws r=fluent-reviewers,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D35379

--HG--
extra : moz-landing-system : lando
2019-06-21 01:31:42 +00:00
Johann Hofmann
90ecafd3e1 Bug 1555963 - Add WindowGlobalParent.getSecurityInfo(). r=nika,mconley
This adds an API for fetching security info per frame, no matter if we have
a certificate error or a valid certificate.

I tried to make this work in a Fission-compatible way, let me know if this
is the right approach.

Differential Revision: https://phabricator.services.mozilla.com/D34354

--HG--
extra : moz-landing-system : lando
2019-06-21 05:58:40 +00:00
meandave
2d0c0574dc Bug 1556158 - Add magnifying glass icon to filter input in about:logins. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D35248

--HG--
extra : moz-landing-system : lando
2019-06-21 00:25:36 +00:00
Johann Hofmann
926df091cf Bug 1555627 - Set a learn more link on net error pages. r=prathiksha
Bug 1284835 removed the hard-coded learn more link on cert and net error pages, which worked
for cert error pages because they explicitly set their own learn more links, but net error
pages were relying on the default href to be set. This wasn't revealed until bug 1530348
made about:neterror part of the new error pages.

The solution is simply to explicitly set the correct learn more link to net error pages.

Note that in the case of PR_END_OF_FILE errors, we were not previously showing a "learn more"
link. That was not intentional, as far as I can tell, but was caused by the bug fixed in bug 1477875.

Differential Revision: https://phabricator.services.mozilla.com/D35163

--HG--
extra : moz-landing-system : lando
2019-06-20 23:26:43 +00:00
Jed Davis
142fe6ae22 Bug 1426526 - Remove references to the old Chromium temporary file prefix. r=gsvelto,florian
With the removal of the old Chromium file_util code, we should no longer
be using temporary files with names starting with "org.chromium.", so the
crash reporter and main thread I/O test no longer need to recognize that
prefix.

Differential Revision: https://phabricator.services.mozilla.com/D34629

--HG--
extra : moz-landing-system : lando
2019-06-20 22:40:42 +00:00
Jed Davis
80496e3984 Bug 1479960 - Fix the main thread I/O tests to handle the IPC shared memory changes. r=florian
The tests for unexpected main thread I/O had exemptions for the specific
paths that were being used for shared memory, which would cause it to
fail with the changes in this bug.  This patch does two things:

1. On Linux, /dev/shm is always tmpfs (a memory filesystem), so it's not
going to cause disk I/O, and it's used by glibc to implement the POSIX
standard shm_open API.  This allows all /dev/shm paths instead of
limiting it to a hard-coded prefix.

2. On MacOS, with the patches in this bug, we'll no longer use temporary
files for shared memory on current OS versions, but we still need them on
older versions to avoid an OS bug (https://crbug.com/project-zero/1671),
and they are backed by disk in this case, so we want to allow only the
IPC files.  However, the path prefix has changed.

Differential Revision: https://phabricator.services.mozilla.com/D34628

--HG--
extra : moz-landing-system : lando
2019-06-20 22:40:30 +00:00
Nika Layzell
9033668540 Bug 1559409 - Show subframe pids in tab hover text, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D35029

--HG--
extra : moz-landing-system : lando
2019-06-14 15:42:39 +00:00
James Teh
5993e555d3 Bug 1557115: Fix PanelMultiView keyboard navigation for embedded iframes. r=Gijs
Bug 1545766 (D28442) tweaked PanelMultiView keyboard navigation to behave as expected for embedded browser elements.
This patch extends this to handle iframe elements such as used in the builtin Profiler panel.
In addition, it avoids setting tabindex="-1" on iframe and browser elements, since this breaks tabbing behavior in iframe elements (and possibly causes issues in browser elements as well).
iframe and browser elements are already focusable, so this isn't needed anyway.

Differential Revision: https://phabricator.services.mozilla.com/D34984

--HG--
extra : moz-landing-system : lando
2019-06-14 09:44:55 +00:00
Dão Gottwald
1c0f45b96e Bug 1560336 - Stop using the toolbaritem-combined-buttons class for the Firefox account menu item. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35434

--HG--
extra : moz-landing-system : lando
2019-06-20 18:56:08 +00:00
Dão Gottwald
58c7ac5ae1 Bug 1560338 - Stop reducing the opacity of disabled sub view navigation button arrows. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35435

--HG--
extra : moz-landing-system : lando
2019-06-20 18:55:31 +00:00
Dão Gottwald
0fe505a6fe Bug 1560346 - Remove subpixel anti-aliasing hack for defunct customize mode transition. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35439

--HG--
extra : moz-landing-system : lando
2019-06-20 18:36:53 +00:00
Marco Bonardo ext:(%20%3Cmbonardo%40mozilla.com%3E)
8c35f37875 Bug 1559686 - Reimplement the inputHistory feature in the Quantum Bar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D35364

--HG--
extra : moz-landing-system : lando
2019-06-20 18:21:01 +00:00
Petr Sumbera
506f679f53 Bug 1554582 - Solaris SPARC packaging should include libfreebl_64fpu_3.so and libfreebl_64int_3.so r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D32690

--HG--
extra : moz-landing-system : lando
2019-06-19 09:34:51 +00:00
Ciure Andrei
72f3f971fb Backed out 15 changesets (bug 1479960, bug 1426526, bug 1534780, bug 1536697) for causing build bustages CLOSED TREE
Backed out changeset 5645e0cc3915 (bug 1479960)
Backed out changeset a7c09894c6a0 (bug 1536697)
Backed out changeset 510f03381af9 (bug 1426526)
Backed out changeset 7cf4735a088f (bug 1426526)
Backed out changeset 41080844e645 (bug 1479960)
Backed out changeset fdba3c5f8fd0 (bug 1479960)
Backed out changeset 26a8ebcb2db4 (bug 1479960)
Backed out changeset d0d383e5bae1 (bug 1479960)
Backed out changeset c418095bb7b7 (bug 1479960)
Backed out changeset 7b78b1945532 (bug 1479960)
Backed out changeset c47d47d4073d (bug 1479960)
Backed out changeset 71253b62a633 (bug 1479960)
Backed out changeset ae525f20bdbb (bug 1479960)
Backed out changeset 7fba719355d7 (bug 1534780)
Backed out changeset 771db331860a (bug 1534780)
2019-06-20 19:54:57 +03:00
Jed Davis
1ad12afe4e Bug 1426526 - Remove references to the old Chromium temporary file prefix. r=gsvelto,florian
With the removal of the old Chromium file_util code, we should no longer
be using temporary files with names starting with "org.chromium.", so the
crash reporter and main thread I/O test no longer need to recognize that
prefix.

Differential Revision: https://phabricator.services.mozilla.com/D34629

--HG--
extra : moz-landing-system : lando
2019-06-17 02:20:08 +00:00
Jed Davis
eb551e990e Bug 1479960 - Fix the main thread I/O tests to handle the IPC shared memory changes. r=florian
The tests for unexpected main thread I/O had exemptions for the specific
paths that were being used for shared memory, which would cause it to
fail with the changes in this bug.  This patch does two things:

1. On Linux, /dev/shm is always tmpfs (a memory filesystem), so it's not
going to cause disk I/O, and it's used by glibc to implement the POSIX
standard shm_open API.  This allows all /dev/shm paths instead of
limiting it to a hard-coded prefix.

2. On MacOS, with the patches in this bug, we'll no longer use temporary
files for shared memory on current OS versions, but we still need them on
older versions to avoid an OS bug (https://crbug.com/project-zero/1671),
and they are backed by disk in this case, so we want to allow only the
IPC files.  However, the path prefix has changed.

Differential Revision: https://phabricator.services.mozilla.com/D34628

--HG--
extra : moz-landing-system : lando
2019-06-17 02:19:51 +00:00
ffxbld
91d0636848 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D35423

--HG--
extra : moz-landing-system : lando
2019-06-20 15:37:06 +00:00
Ali Abdoli
48e87027fe Bug 1554609 - Change #main-window to :root r=dao
:root is potentially cheaper than #main-window, because IDs aren't actually guaranteed to be unique, so ID selectors are treated just like class selectors under the hood.
Changed #main-window to :root in browser/themes/shared/customizableui/panelUI.inc.css

Differential Revision: https://phabricator.services.mozilla.com/D35382

--HG--
extra : moz-landing-system : lando
2019-06-20 00:45:56 +00:00
Erica Wright
81b62b6585 Bug 1557047 - Header for ETP section. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35082

--HG--
extra : moz-landing-system : lando
2019-06-19 23:14:12 +00:00
Johann Hofmann
1efa25d46c Bug 1560192 - Clean up prompt open calls in Prompter.jsm. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35371

--HG--
extra : moz-landing-system : lando
2019-06-19 21:59:18 +00:00
Dão Gottwald
9e137b1e80 Bug 1560154 - Stop syncing browser.sessionstore.restore_on_demand. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D35343

--HG--
extra : moz-landing-system : lando
2019-06-19 18:59:29 +00:00
Christoph Walcher
cf2e11f3c2 Bug 909760 - Show download progress in the MacOS Finder r=spohl,mak
Show download progress in the MacOS Finder

Differential Revision: https://phabricator.services.mozilla.com/D30688

--HG--
extra : moz-landing-system : lando
2019-06-19 18:48:49 +00:00
Dorel Luca
d7a28a9a95 Backed out changeset 8a67659b3fe6 (bug 1550637) by dev's request 2019-06-19 21:40:35 +03:00
Gijs Kruitbosch
dcee1806ad Bug 1551671 - don't allow restoring minimized or toolbarless initial windows, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D34271

--HG--
extra : moz-landing-system : lando
2019-06-19 15:35:15 +00:00
Gijs Kruitbosch
8c3c1936f4 Bug 1559824 - ensure the right tab is visible when opening more than 1 background tab, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D35285

--HG--
extra : moz-landing-system : lando
2019-06-19 13:37:55 +00:00
Dão Gottwald
d3918ecf49 Bug 1559363 - Open-view-on-focus mode should only apply when the user explicitly focuses the address bar, not on autofocus. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D35280

--HG--
extra : moz-landing-system : lando
2019-06-19 01:18:06 +00:00
Ed Lee
89a3e34186 Bug 1552280 - Update default 68+ about:welcome experience including cards for return-to-AMO r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D35287

--HG--
extra : moz-landing-system : lando
2019-06-19 01:02:14 +00:00
Dão Gottwald
b0f92762cd Bug 1547301 - Add openViewOnFocus API. r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D34509

--HG--
extra : moz-landing-system : lando
2019-06-19 00:46:40 +00:00
Jared Wein
87b9e27c38 Bug 1559355 - Add underscore prefixes to private methods. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35115

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:29 +00:00
Jared Wein
f06116878f Bug 1559355 - Cache references to shadow DOM elements and move the call to reflectFluentStrings to the super-class. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35114

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:27 +00:00
Jared Wein
0ac33fa17d Bug 1559355 - Move custom attributes to element.dataset. r=Gijs
Attributes that are related to Fluent-based strings intentionally weren't moved to element.dataset.

Differential Revision: https://phabricator.services.mozilla.com/D35113

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:20 +00:00
Jared Wein
8f7b75ff6e Bug 1559355 - Add jsdoc to public methods of custom elements. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35112

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:16 +00:00
Jared Wein
53b7f4a2bd Bug 1559355 - Pull out a reference to classList in handleEvent. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35111

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:07 +00:00
Jared Wein
70768bde96 Bug 1559355 - Add in a form element and use form.reset to clear form validation. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35110

--HG--
extra : moz-landing-system : lando
2019-06-18 23:34:05 +00:00
Matt Howell
68dca0f7f0 Bug 1558090 - Support partner stub installers configuring the manual download URL. r=agashlin
I named the INI file parameter "FallbackPage" so that people building these
configurations can quickly understand what this URL is for and don't have to
figure out what "manual download" means.

Differential Revision: https://phabricator.services.mozilla.com/D34359

--HG--
extra : moz-landing-system : lando
2019-06-18 23:39:21 +00:00
Narcis Beleuzu
95bc1318ae Backed out changeset e9e24264e20d (bug 1547301) for bc failures on UrlbarInput.jsm. CLOSED TREE 2019-06-19 02:28:41 +03:00
Mike Conley
6a18fcd209 Bug 1558337 - Add a workaround for RDM for ContextMenuParent.jsm to make context menus work properly. r=NeilDeakin
This workaround hands the top-level browser to nsContextMenu rather than the
mozbrowser in the RDM case. We need to do that since RDM does a lot of work
to make the inner mozbrowser _seem_ like the top-level browser, including
proxying messages from that top-most browser to the underlying mozbrowser.

This workaround makes us consistent with that model, and will have to do until
we can get bug 1559456 fixed.

Depends on D35077

Differential Revision: https://phabricator.services.mozilla.com/D35078

--HG--
extra : moz-landing-system : lando
2019-06-18 21:12:01 +00:00
Mike Conley
c15ee2802a Bug 1558506 - Don't preventDefault the contextmenu event in ContextMenuChild.jsm. r=NeilDeakin
In the content process case, preventing default stops the context menu event from being dispatched
within remote iframes, which is what causes bug 1558506.

In the parent process case, preventing default stops the nsXULPopupListener from opening the context
menu for us when we don't want ContextMenuParent to handle it, which we don't want to do.

Differential Revision: https://phabricator.services.mozilla.com/D35077

--HG--
extra : moz-landing-system : lando
2019-06-18 21:13:02 +00:00
Dão Gottwald
a47b5d441d Bug 1547301 - Add openViewOnFocus API. r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D34509

--HG--
extra : moz-landing-system : lando
2019-06-18 21:09:46 +00:00
Narcis Beleuzu
5f56a9577f Backed out changeset 93ccef162814 (bug 1547301) for mochitest leaks on browser_page_bringToFront.js. CLOSED TREE 2019-06-18 22:48:05 +03:00
Dão Gottwald
7945684a40 Bug 1547301 - Add openViewOnFocus API. r=mak,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D34509

--HG--
extra : moz-landing-system : lando
2019-06-18 19:02:53 +00:00
Ed Lee
7169ec1884 Bug 1559536 - Add disabled checkboxes, reenabled stories and bug fixes to Activity Stream r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D35109

--HG--
extra : moz-landing-system : lando
2019-06-18 18:33:22 +00:00
Alexander Surkov
52e204d997 Bug 1559345 - Searchbar magnifying glass icon is missing in customize mode, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D35021

--HG--
extra : moz-landing-system : lando
2019-06-18 18:08:04 +00:00
Cosmin Sabou
8402a765af Bug 1556172 - Disable browser_aboutCertError.js on mac and linux64 cause of frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35216

--HG--
extra : moz-landing-system : lando
2019-06-18 11:31:42 +00:00
prathiksha
b901cf9927 Bug 1552333 - Move onCertErrorDetails from NetErrorChild.jsm to aboutNetError.js. r=johannh,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D31901

--HG--
extra : moz-landing-system : lando
2019-06-18 03:54:21 +00:00