Commit Graph

60135 Commits

Author SHA1 Message Date
Paolo Amadini
d5f7d8afde Bug 1522115 - Prevent the new "about:config" search field from moving slightly when the page is scrolled. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D17392

--HG--
extra : rebase_source : 9112bb0d5d5d353e91a8a828e4ff4f03aaaa213f
2019-01-24 18:58:26 +00:00
Paolo Amadini
8839f4e7b5 Bug 1521797 - Don't run the new "about:config" tests on debug builds for bug 1507747. r=bgrins
The search field is now focused by the test code as part of intialization, which may cause the intermittent leak in bug 1507747 to surface.

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

--HG--
extra : rebase_source : dfcc023ab23948869bacee14dfc1a00d51b24c0a
2019-01-23 22:53:21 +00:00
Paolo Amadini
3848c7cbfb Bug 1522168 - Part 2 - Reduce the number of calls to the preferences service. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D17505

--HG--
extra : rebase_source : c78591cc0e62daf606b8d63e5f993a420a966d6d
2019-01-24 18:34:13 +00:00
Paolo Amadini
4199aa476a Bug 1522168 - Part 1 - Lazify the creation of table row elements. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D17504

--HG--
extra : rebase_source : 7f3cef5820bb7ef30e6a5864c3dce4312c841d85
2019-01-24 18:33:57 +00:00
Dão Gottwald
40de07781f Bug 1515306 - Rename UrlbarMatch to UrlbarResult. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17481

--HG--
rename : browser/components/urlbar/UrlbarMatch.jsm => browser/components/urlbar/UrlbarResult.jsm
extra : moz-landing-system : lando
2019-01-24 11:23:20 +00:00
Oana Pop Rus
41938d335a Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-24 12:29:18 +02:00
Mark Banner
1d083ed1c1 Bug 1521704 - Move Page Action tests to their own directory. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D17383

--HG--
rename : browser/components/urlbar/tests/legacy/browser_page_action_menu.js => browser/base/content/test/pageActions/browser_page_action_menu.js
rename : browser/components/urlbar/tests/browser/browser_page_action_menu_add_search_engine.js => browser/base/content/test/pageActions/browser_page_action_menu_add_search_engine.js
rename : browser/components/urlbar/tests/browser/browser_page_action_menu_clipboard.js => browser/base/content/test/pageActions/browser_page_action_menu_clipboard.js
rename : browser/components/urlbar/tests/browser/browser_page_action_menu_share_mac.js => browser/base/content/test/pageActions/browser_page_action_menu_share_mac.js
rename : browser/components/urlbar/tests/browser/browser_page_action_menu_share_win.html => browser/base/content/test/pageActions/browser_page_action_menu_share_win.html
rename : browser/components/urlbar/tests/browser/browser_page_action_menu_share_win.js => browser/base/content/test/pageActions/browser_page_action_menu_share_win.js
rename : browser/components/urlbar/tests/browser/head-common.js => browser/base/content/test/pageActions/head.js
rename : browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_0.xml => browser/base/content/test/pageActions/page_action_menu_add_search_engine_0.xml
rename : browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_1.xml => browser/base/content/test/pageActions/page_action_menu_add_search_engine_1.xml
rename : browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_2.xml => browser/base/content/test/pageActions/page_action_menu_add_search_engine_2.xml
rename : browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_many.html => browser/base/content/test/pageActions/page_action_menu_add_search_engine_many.html
rename : browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_one.html => browser/base/content/test/pageActions/page_action_menu_add_search_engine_one.html
rename : browser/components/urlbar/tests/browser/page_action_menu_add_search_engine_same_names.html => browser/base/content/test/pageActions/page_action_menu_add_search_engine_same_names.html
extra : moz-landing-system : lando
2019-01-24 09:21:47 +00:00
Ciure Andrei
c035ee7d3a Merge inbound to mozilla-central. a=merge 2019-01-24 05:44:33 +02:00
Johann Hofmann
faf6c06e25 Bug 1521756 - Enable AV MitM certificate error page by default on all channels. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D17404

--HG--
extra : moz-landing-system : lando
2019-01-23 23:36:57 +00:00
Nika Layzell
45b85eee03 Bug 1467223 - Part 5: Perform parent-process interception for HTTP loads, r=qdot,valentin
This will only happen if the pref is enabled, and works through the existing
mechanism for process switching loads. It should enable POST data to be
preserved when performing a process switch, for example when submitting
a form on a file:// or moz-extension:// URI to a http:// URI.

Depends on D15611

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:07:10 +00:00
Dale Harvey
467ab77cab Bug 1517562 - Update media autoplay strings. r=flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D17131

--HG--
extra : moz-landing-system : lando
2019-01-23 20:52:53 +00:00
Cosmin Sabou
a2aab24802 Backed out changeset 5c6cdeb8648d (bug 1355588) causing talos tart timeouts.
--HG--
extra : rebase_source : 238d706bb366772d4870493938deac41a271db6b
2019-01-23 21:44:55 +02:00
Michael Kaply
b282b7ca54 Bug 1522202 - Switch policy sorting test to case insensitive. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D17403

--HG--
extra : moz-landing-system : lando
2019-01-23 19:34:55 +00:00
Drew Willcoxon
b52e93223b Bug 1521236 - Add UrlbarInput.autofill(), call it from the controller, and disable autofill when the new search string is a prefix of the old string. r=mak
There are two parts to this:

When the controller receives the first result and the context has an autofill value, then call a new input.autofill() method, which does the actual autofill in the input.

We shouldn't autofill when the user back spaces.  Actually back spacing is just one example of deleting text at the end of the input; the user could select text and press delete, or use the delete-previous-word key shortcut, etc.  So it's not correct to simply check whether the last keypress was a backspace and skip autofill then.  We should copy the logic of the legacy autocomplete controller and check whether the new search string is a prefix of the old string.  If so, then don't autofill.  So I added that logic to UrlbarInput.  I could have added similar logic to the controller or the context instead, but it makes the most sense being in the input since it's the input where the user is interacting with the text value.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 19:37:20 +00:00
Stephen A Pohl
3122549861 Bug 1313429: Followup to add a missing break for a case in a switch statement (discovered by coverity). r=mikedeboer
--HG--
extra : rebase_source : a914dd5e54017739e1c4565b0b7d40c2df3b31d9
2019-01-24 00:14:51 +01:00
Andrea Marchesini
ae7e7d4c3a Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod 2019-01-23 19:19:19 +01:00
Andrea Marchesini
dc777dc7a6 Bug 1521051 - nsICookiePermission.ACCESS_LIMIT_THIRD_PARTY, r=valentin, r=johannh 2019-01-23 19:19:18 +01:00
Razvan Maries
7ccb4bf803 Backed out 2 changesets (bug 1521051) for xpcshell fails on extensions/cookie/test/unit/test_cookies_thirdparty.js. CLOSED TREE
Backed out changeset 90bb620dd870 (bug 1521051)
Backed out changeset 483fa314e45e (bug 1521051)
2019-01-23 22:09:32 +02:00
Ciure Andrei
a4eeeccf1d Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-01-23 20:55:29 +02:00
Andrea Marchesini
c47b4ede66 Bug 1515665 - no window passwed when creating SessionStorage in SessionStorage.jsm, r=ehsan 2019-01-23 19:19:20 +01:00
Andrea Marchesini
8e0c688733 Bug 1521051 - Get rid of nsICookiePermission.ACCESS_ALLOW_FIRST_PARTY_ONLY, r=johannh, r=flod 2019-01-23 19:19:19 +01:00
Andrea Marchesini
fb5e2a4f57 Bug 1521051 - nsICookiePermission.ACCESS_LIMIT_THIRD_PARTY, r=valentin, r=johannh 2019-01-23 19:19:18 +01:00
Gijs Kruitbosch
b1b30aa5dc Bug 1520607 - only disable and re-enable autopositioning while in the process of showing subviews, r=sfoster,mconley
Differential Revision: https://phabricator.services.mozilla.com/D17105

--HG--
extra : moz-landing-system : lando
2019-01-23 11:17:00 +00:00
Arjun Krishna Babu
79422dbdcd Bug 1521581 - Make Close tabs confirm button title case. r=dao 2019-01-23 16:40:26 +01:00
Jonas Allmann
9702a0dae3 Bug 1498238 - Insert permission icons for Load Images, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D17226

--HG--
extra : moz-landing-system : lando
2019-01-22 21:30:38 +00:00
Rob Wu
5ce0100dcc Bug 1520047 - Fix memory leak in places trees r=mak
The places-tree destructor lacks a `result.removeObserver(this.view);`
call before the assignment to `result.root.containerOpen`, which is
causing a memory leak.

This patch fixes the leak by removing the `result.root.containerOpen`
assignment, since the correct logic already exists in the `setTree`
method of `PlacesTreeView`, which is called upon `this.view = null;`
(XULTreeElement::SetView -> nsTreeBodyFrame::SetView -> setTree).

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

--HG--
extra : moz-landing-system : lando
2019-01-23 09:54:36 +00:00
Sebastian Hengst
2ecf173b14 Merge mozilla-central to autoland 2019-01-23 11:31:44 +02:00
shindli
e64d40448e Backed out changeset e0ff6bf01a9f (bug 1521346) for TV and bc failure in browser/base/content/test/tabs/browser_multiselect_tabs_move_to_new_window_contextmenu.js 2019-01-23 07:22:25 +02:00
Oriol Brufau
a22ebb780d Bug 1521346 - Preserve lazyness when moving tabs into a new window. r=jaws
TODO: the first lazy tab is not moved using gBrowser.adoptTab, so it's still unlazified.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 21:15:59 +00:00
alwu
a4c70628b9 Bug 1487844 - turn on the blocking-autoplay by default for all branches. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D17315

--HG--
extra : moz-landing-system : lando
2019-01-23 01:55:17 +00:00
shindli
42595cea0a Backed out 2 changesets (bug 1520436) for TV failures in browser/base/content/test/permissions/browser_permissions.js CLOSED TREE
Backed out changeset 4752a33b4c3a (bug 1520436)
Backed out changeset 10716b2122dc (bug 1520436)
2019-01-23 03:20:13 +02:00
Drew Willcoxon
78544a4304 Bug 1520907 - Rename QueryContext to UrlbarQueryContext. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17033

--HG--
rename : browser/components/urlbar/tests/unit/test_QueryContext.js => browser/components/urlbar/tests/unit/test_UrlbarQueryContext.js
extra : moz-landing-system : lando
2019-01-23 00:39:07 +00:00
alwu
6433e31707 Bug 1520436 - part2 : modify test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16771

--HG--
extra : moz-landing-system : lando
2019-01-22 18:16:52 +00:00
Mihai Tabara
d1a74b81ea Bug 1518236: Fix/update WNP with locales for 65; r=flod a=whats-new 2019-01-23 13:54:52 +00:00
alwu
db9dcd21c8 Bug 1520436 - part1 : add another tooltip text for non-promptable permission. r=flod,johannh
As non-promptable permission won't prompt user to ask for their approval, we should use different texts for the cancel button of promptable permissions.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 18:54:54 +00:00
shindli
b4fc89763a Backed out changeset c9f087ff5a52 (bug 1521170) for X2 / TV failures CLOSED TREE 2019-01-23 02:29:37 +02:00
Jared Wein
cecdd9632d Bug 1521170 - Add a rule that prevents calling some Array and String accessor methods without using the return value. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17020

--HG--
extra : moz-landing-system : lando
2019-01-22 23:02:24 +00:00
Tom Prince
9dab8ed4ab Bug 1520686: Add win64-aarch64 l10n mozconfig; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D16890

--HG--
rename : browser/config/mozconfigs/win64/l10n-mozconfig => browser/config/mozconfigs/win64-aarch64/l10n-mozconfig
rename : testing/mozharness/configs/single_locale/win64.py => testing/mozharness/configs/single_locale/win64-aarch64.py
extra : moz-landing-system : lando
2019-01-22 22:18:08 +00:00
Matt Howell
28ff59ecfc Bug 1514806 Part 5 - Select the appropriate 7-zip SFX stub binary for the build target. r=firefox-build-system-reviewers,mshal#firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15983

--HG--
extra : moz-landing-system : lando
2019-01-22 21:58:49 +00:00
Dale Harvey
d13fedb2c6 Bug 1517526 - Let user allow blocked autoplay. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D17130

--HG--
extra : moz-landing-system : lando
2019-01-22 21:48:24 +00:00
shindli
1d09d7bee4 Backed out changeset 217865622f7a (bug 1521902) for an error in the code that will break telemetry 2019-01-22 23:28:48 +02:00
danielleleb
5bbd684165 Bug 1517756 - Moves 'use strict' statement to top of file. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17280

--HG--
extra : moz-landing-system : lando
2019-01-22 20:53:20 +00:00
Tim Nguyen
8dedf81a2f Bug 1521287 - Remove XUL grid layout from browser/components/preferences/in-content/main.xul. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D17052

--HG--
extra : moz-landing-system : lando
2019-01-22 20:51:01 +00:00
Dave Townsend
3b32c37fc4 Bug 1521902: Remove unused argument from nsIShellService.isDefaultBrowser. r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D17281

--HG--
extra : moz-landing-system : lando
2019-01-22 20:41:41 +00:00
Dão Gottwald
02ad5a2695 Bug 1512652 - Implement URL canonizing via Ctrl key. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17060

--HG--
extra : moz-landing-system : lando
2019-01-22 19:17:04 +00:00
Dão Gottwald
58eca97b0c Bug 1521231 - Stop using --panel-disabled-color for subviewbutton shortcuts. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D17039

--HG--
extra : moz-landing-system : lando
2019-01-22 19:08:54 +00:00
Ehsan Akhgari
57a8f5ed79 Bug 1517389 - Ensure that we emit content blocking events when setting cookie headers and reading cookies from the cookies database; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17203

--HG--
extra : moz-landing-system : lando
2019-01-22 19:46:10 +00:00
Dão Gottwald
63d3b24a1b Bug 1521783 - Let typeRestrictToken focus the address bar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17239

--HG--
extra : moz-landing-system : lando
2019-01-22 16:40:12 +00:00
Harry Twyford
70df5bbf20 Bug 1313429 - Add Touch Bar functionality to Firefox r=spohl,mikedeboer,flod
Adds Touch Bar functionality to Firefox across eight commits.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 17:13:33 +00:00
Oana Pop Rus
9c7401c254 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-22 18:37:07 +02:00