Commit Graph

19910 Commits

Author SHA1 Message Date
Gijs Kruitbosch
b2642e4564 Bug 1362774 - don't create about:blank for the initial browser, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D10338

--HG--
extra : rebase_source : dc525622761d3d39c652096125c93de9464f345e
2018-11-01 11:06:32 +00:00
Andrea Marchesini
e7cd4e9921 Bug 1503217 - When deleting session data on shutdown, we should check 'cookie' permissions also for sub-domains, r=johannh 2018-11-01 07:34:43 +01:00
Oriol Brufau
d57ad11213 Bug 1503600 - Reorder "Manage Extension" and "Remove Extension" in browserAction context menu. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D10382

--HG--
extra : moz-landing-system : lando
2018-10-31 16:55:06 +00:00
arthur.iakab
02a09260c5 Merge inbound to mozilla-central a=merge 2018-10-31 18:33:39 +02:00
Ehsan Akhgari
d2e3be3d94 Bug 1503416 - Remove the remnants of fastblock prefs from the control centre code r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D10311

--HG--
extra : moz-landing-system : lando
2018-10-31 10:56:34 +00:00
Ciure Andrei
872b1e9fb8 Backed out 4 changesets (bug 1458308) for causing uiAutoPref.js perma failures CLOSED TREE
Backed out changeset 4bf34689d4b6 (bug 1458308)
Backed out changeset 51e675ce6c56 (bug 1458308)
Backed out changeset 99317c8cd247 (bug 1458308)
Backed out changeset 7370877bd9e1 (bug 1458308)
2018-10-30 20:35:43 +02:00
Kirk Steuber
ac50067b73 Bug 1458308 - Move app.update.auto to be stored in the update directory on Windows only r=rstrong
This patch additionally includes support for automatic migration of the pref from its old location to its new location.

This patch does not fix telemetry reporting of app.update.auto - that will be addressed in another patch in the same series.

MozReview-Commit-ID: KjX1mmGVB8M

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

--HG--
extra : moz-landing-system : lando
2018-10-29 21:35:25 +00:00
Csoregi Natalia
cc313f779c Backed out 9 changesets (bug 1472212) for browser-chrome tests run issues on Linux x64 asan and failures on browser_ext_windows_create_tabId.js. CLOSED TREE
Backed out changeset 18e46df44cd1 (bug 1472212)
Backed out changeset 2e5de66c1f60 (bug 1472212)
Backed out changeset b94f9883aef0 (bug 1472212)
Backed out changeset ebdca743668c (bug 1472212)
Backed out changeset f8a06d01437e (bug 1472212)
Backed out changeset b6996abc7d90 (bug 1472212)
Backed out changeset 24c257cd18c3 (bug 1472212)
Backed out changeset 176f3ee14e67 (bug 1472212)
Backed out changeset b4baa63e5b1b (bug 1472212)
2018-10-30 01:58:21 +02:00
Gurzau Raul
8f82fd493f Merge inbound to mozilla-central. a=merge 2018-10-30 00:00:56 +02:00
Drew Willcoxon
f261cff897 Bug 1498023 - Search shortcuts should hide all one-off UI when typed r=mak,Mardak
* Disable or enable the one-offs per each new search based on whether the first char is "@". The patch does this in `onResultsAdded`, where other per-search initialization happens.
* Remove the `disableOneOffButtons` option from the urlbar `search` method. It's not necessary anymore now that one-offs are automatically hidden for the only caller that uses this option (new tab with the "@engine" tiles).
* Make the `oneOffSearchesEnabled` getter return the actual status of the one-off UI instead of relying on an `_oneOffSearchesEnabled` property.

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

--HG--
extra : moz-landing-system : lando
2018-10-29 16:13:49 +00:00
Brendan Dahl
06c315024d Bug 1502523 - Account for different activeElement behavior in test. r=Gijs
For browser.xhtml activeElement was modified to match the behavior of
XUL documents. For now, change the test to match the special case in the
activeElement code.

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

--HG--
extra : moz-landing-system : lando
2018-10-29 16:20:20 +00:00
Ehsan Akhgari
16e0f3a1a8 Bug 1502760 - Stop honouring browser.contentblocking.enabled in the control centre code r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D10020

--HG--
extra : moz-landing-system : lando
2018-10-29 14:44:12 +00:00
Ehsan Akhgari
8f7308f234 Bug 1497014 - Part 3: Add a test to ensure that the shield doesn't reanimate when seeing notifications for existing blocking categories r=johannh
Depends on D9985

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

--HG--
extra : moz-landing-system : lando
2018-10-29 14:47:59 +00:00
Ehsan Akhgari
48dcf0f5dc Bug 1497014 - Part 2: Extend browser_trackingUI_animation_2.js to cover third-party cookie blocking too r=johannh
Depends on D9984

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

--HG--
extra : moz-landing-system : lando
2018-10-29 14:47:57 +00:00
Jonathan Kingston
671423e741 Bug 1149485 - Replace about:blocked references to blacklist to blocklist. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D10003

--HG--
rename : toolkit/themes/linux/global/icons/blacklist_favicon.png => toolkit/themes/linux/global/icons/blocklist_favicon.png
rename : toolkit/themes/osx/global/icons/blacklist_favicon.png => toolkit/themes/osx/global/icons/blocklist_favicon.png
rename : toolkit/themes/windows/global/icons/blacklist_favicon.png => toolkit/themes/windows/global/icons/blocklist_favicon.png
extra : moz-landing-system : lando
2018-10-29 11:24:59 +00:00
Siddhant085
6ab6938f8c Bug 1493483 - Use nsIBrowserSearchService::defaultEngine instead of currentEngine (in production code) r=Standard8
nsIBrowserSearchService::currentEngine and nsIBrowserSearchService::defaultEngine are the same thing.
The use of defaultEngine makes more sense and thus we are phasing out the use of currentEngine and replace it with defaultEngine.

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

--HG--
extra : moz-landing-system : lando
2018-10-27 16:52:02 +00:00
Brian Grinstead
f5b668665e Bug 1502556 - Conditionally add browser.xul instead of browser.xhtml to browser_all_files_referenced.js;r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D9980

--HG--
extra : moz-landing-system : lando
2018-10-28 23:00:58 +00:00
Tim Nguyen
3d98bf77be Bug 1501586 - Clean up lwt-*-brighttext attributes properly when switching from a dark theme to a light theme. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D9991

--HG--
extra : moz-landing-system : lando
2018-10-28 10:18:08 +00:00
Mike Conley
3269c2c585 Bug 1501789 - Use the JSM global to create permanentKeys to avoid leaking windows after tab tear out / adoption. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D9975

--HG--
extra : moz-landing-system : lando
2018-10-28 01:53:14 +00:00
Csoregi Natalia
2ef395bc07 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-10-27 12:58:54 +03:00
Andrea Marchesini
e78ef32074 Bug 1482055 - Cleanup cookie at shutdown must support domain cookies, r=johannh 2018-10-27 10:26:31 +02:00
Dão Gottwald
7f86685eb5 Bug 1502455 - UrlbarView: add one-off search buttons stub. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D9929

--HG--
extra : moz-landing-system : lando
2018-10-26 22:07:31 +00:00
Mark Banner
e7f2c79ef9 Bug 1502069 - isTabEmpty should be a property on the tab rather than a global function. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9926

--HG--
extra : moz-landing-system : lando
2018-10-26 16:42:11 +00:00
Johann Hofmann
15d3dcdb9e Bug 1501977 - Remove global Content Blocking toggle in the main menu. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D9916

--HG--
extra : moz-landing-system : lando
2018-10-26 18:09:06 +00:00
Dave Townsend
dae9ed3530 Bug 1469345: Enable remaining favicon tests in verify mode. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D9832

--HG--
extra : moz-landing-system : lando
2018-10-26 09:54:18 +00:00
Andrei Oprea
f2287575eb Bug 1502130 - Prevent handling contentSearchUI events if input element is no longer present r=ursula,k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D9828

--HG--
extra : moz-landing-system : lando
2018-10-26 15:12:25 +00:00
Dão Gottwald
5a62defc27 Bug 1501624 - Add a method for setting the value from a result and migrate urlbar tests away from setting textValue. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9764

--HG--
extra : moz-landing-system : lando
2018-10-26 09:52:23 +00:00
Ehsan Akhgari
7bf4a87483 Bug 1502076 - Part 2: Remove the fastblock UI from the Control Centre r=johannh
Depends on D9794

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

--HG--
extra : moz-landing-system : lando
2018-10-26 06:55:20 +00:00
Drew Willcoxon
5292e4e7aa Bug 1500516 - Search aliases: @engine text should remain in the urlbar when highlighting search suggestion results, and modified suggestions should search with the @ engine r=mak
* Slightly rework the logic that makes `searchSuggestionsCompletePromise` so that it checks `this.hasBehavior("searches")` and `this._inPrivateWindow` earlier so that it can avoid getting the query string and truncating it (along with the pref accesss)
* Get rid of the `input` param to `_addSearchEngineMatch`. It's only used for forcing a trailing space for alias results that don't have a query, but `_addSearchEngineMatch` can detect that case on its own -- no need for an `input` param.
* A slightly unrelated change: I noticed that when the spec shows a search for "@amazon telescopes", the first suggestion is not "telescopes", like it actually is in Firefox, but "telescopes for adults". That makes sense. There's no point in having the first suggestion echo back the heuristic result. It's better not to because (1) there's no visual dupe and (2) you don't have to press the down arrow key twice to get to non-dupe suggestions. So I added some logic to the suggestions fetching to ignore suggestions that are duplicates of the search string. I changed `_searchEngineAliasMatch` to `_searchEngineHeuristicMatch` because of course you can do searches without using an alias, and this new logic needs the query string in that case.
* Slightly rework `_addSearchEngineMatch` to be a little more straightforward
* Fix `head_autocomplete.js` so it intelligently compares moz-action results instead of a simple string comparison (and hope that the object is stringified the same way)

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

--HG--
extra : moz-landing-system : lando
2018-10-25 21:53:24 +00:00
Coroiu Cristina
6455148cff Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-10-26 01:02:15 +03:00
Coroiu Cristina
4258c167d5 Merge inbound to mozilla-central a=merge 2018-10-26 00:56:50 +03:00
Dão Gottwald
4eeeb8adf2 Bug 1501996 - Move browser_urlbarTrimURLs.js to browser/components/urlbar/tests/browser/. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D9772

--HG--
rename : browser/base/content/test/urlbar/browser_urlbarTrimURLs.js => browser/components/urlbar/tests/browser/browser_UrlbarInput_trimURLs.js
extra : moz-landing-system : lando
2018-10-25 20:27:16 +00:00
Nicholas Hurley
2319ff8d81 Bug 1050329 - part 2 - Add error page for h2 goaway. r=dragana,bzbarsky
This is kind of like the previous patch (where we had a not-very-friendly user experience shutting down misbehaving h2 sessions), but in this case the server has proven to us that it can speak a minimum of h2, so we don't want to just fallback. Instead, when we send a GOAWAY frame because we have detected some error on the part of the server, if it's a top-level page load, we'll show an error page explaining that the server spoke bad http/2, and the site admin(s) need to be contacted. We already did this for INADEQUATE_SECURITY (which is its own special case still), but that didn't cover all the cases.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 20:46:46 +00:00
Brian Grinstead
a1b87b1887 Bug 1493536 - Convert search-one-offs binding to custom element;r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9710

--HG--
rename : browser/components/search/content/search.xml => browser/components/search/content/search-one-offs.js
extra : moz-landing-system : lando
2018-10-25 09:36:15 +00:00
Ehsan Akhgari
09d4b61b43 Bug 1501286 - Part 2: Remove support for tracking protection UI from Control Centre r=johannh
Depends on D9519

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

--HG--
extra : moz-landing-system : lando
2018-10-25 16:52:19 +00:00
Mark Banner
20af54f2b3 Bug 1502039 - Move addToUrlbarHistory, getShortcutOrURIAndPostData and getPostDataStream to UrlbarUtils. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D9783

--HG--
rename : browser/base/content/test/general/browser_getshortcutoruri.js => browser/components/urlbar/tests/unit/test_UrlbarUtils_getShortcutOrURIAndPostData.js
extra : moz-landing-system : lando
2018-10-25 14:35:32 +00:00
Dorel Luca
9529a31c66 Backed out 5 changesets (bug 1501286) for browser-chrome failures in browser/components/uitour/test/browser_trackingProtection.js
Backed out changeset cac0d4aa79d1 (bug 1501286)
Backed out changeset 578d395f555e (bug 1501286)
Backed out changeset d9940451c373 (bug 1501286)
Backed out changeset ca6c3139bdd2 (bug 1501286)
Backed out changeset 93d6f4d54f78 (bug 1501286)

--HG--
extra : rebase_source : 04083c456cd0df6243861cf53e5c39c08888c5ad
2018-10-25 17:52:59 +03:00
Ehsan Akhgari
eb682c1609 Bug 1501286 - Part 2: Remove support for tracking protection UI from Control Centre r=johannh
Depends on D9519

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

--HG--
extra : moz-landing-system : lando
2018-10-25 13:35:20 +00:00
Daniel Varga
ef1b6f6269 Merge mozilla-central to mozilla-inbound. a=merge 2018-10-25 19:20:33 +03:00
Dão Gottwald
99717b6dc1 Bug 1500959 - Clean up browser_visibleTabs_tabPreview.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9650

--HG--
extra : moz-landing-system : lando
2018-10-24 18:00:22 +00:00
Jonas Jenwald
2265e713ff Bug 1365105 - Clear all find highlights, in the PDF Viewer, when the findbar is closed. r=bdahl,paolo
In order to support this, a new "findbarclose" event (mirroring the pre-existing "findbaropen" one) was added to the `MozFindbar.close` method in the findbar.js file.
2018-10-25 15:52:02 +02:00
Gurzau Raul
08de11aa7a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-25 01:04:19 +03:00
Abdoulaye O. Ly
31d61afe8c Bug 1499227 - Trigger multiselect on mousedown event instead of on click event. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D9359

--HG--
extra : moz-landing-system : lando
2018-10-24 17:26:24 +00:00
shindli
670e412487 Merge inbound to mozilla-central. a=merge 2018-10-24 19:46:50 +03:00
Gijs Kruitbosch
b4d8b02bc5 Bug 1491333 - make findbarClose test less clownshoes, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D9633

--HG--
extra : moz-landing-system : lando
2018-10-24 13:18:00 +00:00
Marco Bonardo
134e4ec293 Bug 1499743 - Address Bar restriction characters: remove typed, change url and search r=adw
Remove the "~" typed restriction character.
Change the url restriction character to "$" and the search one to "?".

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:49:00 +00:00
Paolo Amadini
3320f4e2ef Bug 1486984 - Fix find commands for PDF and special pages, and remove obsolete code. r=Gijs
Support for finding text in a page is now determined by a blacklist of locations, simplifying handling in multi-process mode and restoring the intended behavior.

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

--HG--
extra : rebase_source : 129f3d4e3cdd3673251ed7a3cc58101dd3cb0c91
2018-10-23 15:29:09 +01:00
Andrew McCreight
c87fb5b0a9 Bug 1499865 - Make loadedModules and loadedComponents into array attributes. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D9561

--HG--
extra : moz-landing-system : lando
2018-10-23 23:28:44 +00:00
arthur.iakab
ff965569bd Merge autoland to mozilla-central a=merge 2018-10-24 01:15:18 +03:00
Ciure Andrei
09e4040e94 Merge autoland to mozilla-central. a=merge 2018-10-23 19:48:47 +03:00