Граф коммитов

57635 Коммитов

Автор SHA1 Сообщение Дата
Marco Bonardo 7d48aaf18e Bug 1478582 - Bug 14785825 - Move address bar model tokenization to a module. r=adw
This is a first stab at the new tokenizer.
It's not expected to be perfect yet, but good enough to be modified and replace the existing code in unifiedComplete with just a few modifications.
It's mostly intended to start setting up a code and tests structure.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 23:38:17 +00:00
ffxbld d5e21d1dc3 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D5141

--HG--
extra : moz-landing-system : lando
2018-09-06 12:40:37 +00:00
Martin Stransky 848e86f0f6 Bug 1408360 - Make toplevel window transparent when mozilla.widget.titlebar-theme-round-corners is set, r=dao
Some Gtk+ themes use non-rectangular toplevel windows. To fully support
such themes we need to make toplevel window transparent with ARGB visual
and make background of toplevel window transparent.

It may cause performance issue so let's disable it by default and
put it under a preference to allow distros to enable it per default theme.

Depends on D4665

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

--HG--
extra : moz-landing-system : lando
2018-09-06 11:54:25 +00:00
yulia 9611217838 Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

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

--HG--
extra : moz-landing-system : lando
2018-09-06 11:42:57 +00:00
arthur.iakab 4862d62ddf Backed out changeset 5e21be5fdf9d (bug 1429421)for build busteges CLOSED TREE 2018-09-06 12:12:40 +03:00
yulia 139e4e0b9a Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

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

--HG--
extra : moz-landing-system : lando
2018-09-06 08:55:50 +00:00
Mike Conley b9fb0fb155 Bug 1480951 - Regression test. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D5067

--HG--
extra : rebase_source : cb6bf5be99309f50c2d7462465004e3833b4eeba
2018-09-05 14:35:43 -04:00
Mike Conley d0b033bcb9 Bug 1480951 - Make SessionStore respect sessionStorage.clear(). r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D5066

--HG--
extra : rebase_source : 447e78988d9657247b6870a68dc57bc066905092
2018-09-05 14:52:00 -04:00
Ryan VanderMeulen 001bc2a990 Bug 1488420 - Update pdf.js to version 2.0.815. r=bdahl 2018-09-06 08:28:26 -04:00
Dão Gottwald 476817dd80 Bug 1489063 - Remove unused autocomplete-textbox class. r=standard8 2018-09-06 11:46:21 +02:00
Andreea Pavel 4b53c29ee3 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-09-06 07:39:46 +03:00
Andreea Pavel 746993f3e1 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-06 07:37:40 +03:00
Ehsan Akhgari 3bc37f679f Bug 1487556 - Disable the Cookies and Site Data section if Content Blocking has been turned off; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4988
2018-09-05 20:09:11 -04:00
Mike Hommey 89bf3fe1a7 Bug 1473786 - Enable LTO on macOS builds. r=ted 2018-09-06 06:45:32 +09:00
Mike Hommey d71f4a53aa Bug 1473786 - Avoid the aboutNetError-new.xhtml url being smashed into pieces by compiler optimizations. r=felipe
The browser_all_files_referenced.js test partly relies on finding chrome
and resource urls in the libxul binary, but with LTO, clang actually
replaces AssignASCII calls to inline copies using immediate values, like
this:

  movabsq $0x726573776f72622f, %rcx
  movq   %rcx, 0x8(%rax)
  movabsq $0x2f3a656d6f726863, %rcx
  movq   %rcx, (%rax)

Those immediate values are, respectively, "/browser" and "chrome:/".

Somehow, the aboutNetError-new url is the only one where that causes
problems, which is kind of surprising, in a sense. It's also in a
special position, being temporary until aboutNetError is actually
replaced and the new about:certerror rides the train. Chances are, if we
add an exception for aboutNetError-new in the
browser_all_files_referenced.js test itself, it would remain there after
the new about:certerror rides the train.

However, using the somehow circumvoluted Assign(NS_LITERAL_CSTRING())
construct, we can prevent clang from LTOing the string into pieces. And
there are better chances the code will go away when the new
about:certerror rides the train.

Differential Revision: https://phabricator.services.mozilla.com/D5017
2018-09-06 06:45:25 +09:00
Luca Greco 88b7be38f8 Bug 1483002 - Added WEBEXT probes keyed by addon id. r=janerik,mixedpuppy
This patch contains a set of changes needed to add WEBEXT telemetry probes keyed by addon id.

The telemetry probes keyed by addon id has been added as separate telemetry histograms
named after the related generic WEBEXT probe with the additional "_BY_ADDONID" suffix.

A set of small helper methods have been defined in a new ExtensionTelemetry object, exported
by the ExtensionUtils.jsm.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 20:16:35 +00:00
Drew Willcoxon 894f274b95 Bug 1484737 - Improve the handling of search alias highlighting in the urlbar. r=Mardak,mak
This has two parts:

(1) urlbar already had a formatValue method. Right now, it only does the URL formatting (domain highlighting, crossing out https for mixed content pages) that we do when the urlbar is not focused. This patch generalizes that method into a kind of "any formatting you want to do, do it here" method, and it adds alias formatting.

formatValue is called by the base autocomplete binding when `value` is set. So it's called when the selection in the popup changes and the autocomplete controller subsequently sets the input value. (It's also called by urlbar on focus and blur.) And if anyone else sets the value directly, it'll be called then too of course.

But it's not called when you're just typing in the input, so I added a call in urlbar.onResultsAdded, where we were calling highlightSearchAlias, to handle the first heuristic result being added or modified as a result of what you type.

So I think that should cover all possible times we need to highlight the alias?

(2) Just looking at the selected result to get the alias in the input doesn't work all the time. If you click a search tile on newtab and then key around in the popup, sometimes when you key down to the one-off buttons, the input value reverts to the alias (it's the user-typed value I guess?), but at the time that the value setter is called during the revert, the popup's selected index is still the last selection in the popup. IOW the selected index doesn't match up with what's in the input.

Rather than deal with that, it seems safer to call PlacesSearchAutocompleteProvider.findMatchByAlias() on the first word in the input. But that has a couple of problems. It's async, and I noticed there can be a slight delay in the highlighting appearing. Also, we've already gotten the information returned by that method, when we generated the results in the first place, so it seems inelegant to call it again.

So what I've done instead is to cache aliases in the popup when results are added, and then just look up the first word in the input in these aliases. We shouldn't reset this cache until the first result of a new search comes in.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 00:20:45 +00:00
Tiberius Oros a325c6ef11 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-06 01:27:49 +03:00
Matt Howell 39c00aeec5 Bug 1488857 - Correctly detect the current dev edition version for showing stub installer profile reset prompts. r=agashlin
Also remove a useless line that looks like some debugging code I accidentally left in.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 20:55:04 +00:00
Mark Striemer 47e85ff68e bug 1483598 - Match system and user extension add/remove page action strings r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D5069

--HG--
extra : moz-landing-system : lando
2018-09-05 19:17:40 +00:00
Andreea Pavel 84279844a7 Backed out changeset 0adb1474cc23 (bug 1469148) for failing bc at browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus_capture_secondary_click.js on a CLOSED TREE 2018-09-05 23:38:31 +03:00
Jared Wein 32cd282fa6 Bug 1488904 - Enable the multiselect tabs feature on early beta builds and earlier. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D5078

--HG--
extra : moz-landing-system : lando
2018-09-05 21:52:00 +00:00
Ehsan Akhgari caf5f4eb85 Bug 1488361 - Only initiate the updating of site data control buttons after we have moved the buttons in the UI; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D5057
2018-09-05 13:58:54 -04:00
Dorel Luca 97066da84e Merge mozilla-central to mozilla-inbound 2018-09-05 19:07:40 +03:00
Ehsan Akhgari 2be5bf6c3d Bug 1488784 - Part 1: Rewrite browser_bug578534.js to not use the cookie permission service; r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D5037
2018-09-05 11:56:17 -04:00
tushararora.cs a50bc5b5f2 Bug 1414566 browser.menus.update() does not support updating icon r=robwu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D4628

--HG--
extra : moz-landing-system : lando
2018-09-04 14:25:37 +00:00
Tom Schuster cf7c38d6f5 Bug 1462418 - Test. r=johannh
--HG--
extra : rebase_source : 4843056051c254bde9e44aaf85b7f09f77e4e9d5
2018-09-04 11:35:27 +02:00
Tom Schuster b0e9b6ec04 Bug 1462418 - Implement Delete key functionality to remove site data. r=johannh
--HG--
extra : rebase_source : d313ccdfebb78362c3fd8323c0a993f05003543c
2018-09-04 11:17:37 +02:00
Dão Gottwald 541109bcf7 Bug 1480415 - Set aria-label on Reader View button and set menuitem-specific attributes directly there instead of on the command element. r=jaws 2018-09-05 14:49:15 +02:00
Margareta Eliza Balazs 0a38d82d7b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-05 15:43:59 +03:00
Margareta Eliza Balazs a6dfec6935 Merge inbound to mozilla-central. a=merge 2018-09-05 12:45:27 +03:00
Cosmin Sabou c800c1c182 Backed out changeset b5fbe33b954e (bug 1473786) for browser chrome failures on browser_all_files_referenced. 2018-09-05 09:02:19 +03:00
Dão Gottwald da0b67cc1f Backed out changeset 69bd5eb50a32 (bug 1478626) 2018-09-05 13:51:43 +02:00
Neil Deakin 857a44d468 Bug 1484176, somewhat revert the change from bug 1454358 for places menu.xml since the boxObject being used should be for the inner scrollbox, r=dao 2018-09-05 11:43:56 +02:00
Nicholas Nethercote 13643f64e8 Bug 1488321 - Fix up nsISHEntry.{index,getEntryAtIndex()}. r=nika
nsISHEntry.index is readonly, but if you pass `true` as getEntryAtIndex()'s
second argument, nsISHEntry.index will be modified. This is pretty gross.

This patch changes `index` so it's not readonly (because it's not!) and removes
getEntryAtIndex()'s second argument.

--HG--
extra : rebase_source : c519d77fcc1c3bda2f260b5888ce9cd0f6cfdab5
2018-09-05 09:02:37 +10:00
Ryan Kelly 8624d8b8b2 Bug 1484465 - Enable FxA Commands feature by default. r=vladikoff
This switches send-tab to use the new FxA "device commands" feature
by default, rather than the old sync client commands channel.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 16:54:32 +00:00
Csoregi Natalia 0ee540d6b5 Backed out changeset 56aa054d4cc0 (bug 1399367) for browser/extensions/formautofill/test/unit/test_activeStatus.js failures. CLOSED TREE 2018-09-05 05:47:21 +03:00
Timothy Guan-tin Chien a3d7d3c3d1 Bug 1399367 - Remove MasterPassword.{encrypt|decrypt}Sync() methods r=MattN
This also makes various AutofillRecords methods async, with the exception of
remove() and removeAll().

Noted that I didn't implement any kind of "lock" for FormAutofillStorage --
please do not call these methods concurrently -- if you must please |await|
for the last call to resolve. This most likely would happen in tests, and
shouldn't happen in the real world, given that all user actions happen on
macrotasks, and probably not at the next tick, unless Quicksilver is a
Firefox user.

FormAutofillStorage can be improved if there are complex use cases for it.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 00:32:57 +00:00
Bogdan Tara 32e713bf8b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-05 02:43:23 +03:00
Bogdan Tara bc4c3d2021 Backed out changeset 4ad33c6fbfca (bug 832834) for merge conflict. CLOSED TREE 2018-09-05 02:41:48 +03:00
Bogdan Tara f302cbb0b3 Merge inbound to mozilla-central. a=merge 2018-09-05 02:24:27 +03:00
David Keeler 5e13847479 bug 832834 - reimplement nsSecureBrowserUIImpl r=franziskus,Felipe
It turns out nsSecureBrowserUIImpl is considerably more complicated than it
needs to be. This patch reimplements it in terms of OnLocationChange only, which
is all it needs to produce the same behavior as before.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 23:10:37 +00:00
Bogdan Tara 8b38c1ae85 Merge autoland to mozilla-central. a=merge 2018-09-05 01:53:44 +03:00
Brian Grinstead 743343fdfc Bug 1485157 - Check to make sure document.activeElement exists before attempting to blur it;r=Gijs
We're ending up in a case here where document.activeElement is null in
browser.xhtml but it's a <browser> tag in browser.xul.

We'll need more analysis and testing to decide if we want the HTML or XUL
activeElement behavior, and then adjust as needed. But in the meantime,
this unbreaks a bunch of browser.xhtml tests and is a safe null check in
both cases.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 20:46:08 +00:00
Tim Nguyen eda7b67115 Bug 1488000 - Allow theming sidebar border color. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D4839

--HG--
extra : moz-landing-system : lando
2018-09-04 21:33:46 +00:00
ffxbld ebe4d2e4d6 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-09-04 11:15:27 -07:00
Aaron Klotz 63790f4fe3 Bug 1488546: Disable safe mode key press checks in launcher process; r=mhowell
Depends on D4966

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

--HG--
extra : moz-landing-system : lando
2018-09-04 19:56:01 +00:00
Gijs Kruitbosch 9d274b2d2f Bug 1337794 - remove obsolete pagehide handling hacks from browser.js r=mconley
The pagehide handler has been as dead as a doornail for a while now,
but the side-effect of forcing the creation of an about:blank document
in non-remote windows was implicitly relied upon by some tests.

This removes the dead code and fixes up some tests.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 17:55:05 +00:00
Tim Nguyen 2c14b75a07 Bug 1385518 - Update sidebar styling for dark theme. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D4823

--HG--
extra : moz-landing-system : lando
2018-09-04 18:49:15 +00:00
Ehsan Akhgari 24f1a63b5e Bug 1488013 follow-up: Make sure the test doesn't set prefs that would affect the tests following it; a=Aryx 2018-09-04 11:39:25 -04:00
Gijs Kruitbosch fd954f1869 Bug 237027 - allow turning off URL canonization, remove shift support, and move the remainder from 'cmd' to 'ctrl' on mac, r=mak
This avoids the conflict with cmd-enter/click to open links in new tabs on
macOS. It also removes support for the use of `shift` to complete to '.net',
and allows users to toggle a pref to turn off `ctrl` support on all OSes.

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

--HG--
extra : moz-landing-system : lando
2018-09-04 17:10:09 +00:00
Oriol Brufau 4939933710 Bug 1488026 - Always fire onDetached event before onAttached. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D4826

--HG--
extra : moz-landing-system : lando
2018-09-04 20:50:12 +00:00
shindli fd77c051cb Backed out changeset 99e8a7cd7726 (bug 1484761) as requested by the developer on IRC on a CLOSED TREE 2018-09-04 09:09:49 +03:00
Daniel Varga 3c3e9e37c6 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 65372156c004c649109b08227f8aa6a91cb22969
2018-09-04 01:05:40 +03:00
Daniel Varga f46d581d52 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-04 00:54:07 +03:00
Ehsan Akhgari 5f627b85ab Bug 1487434 - Ensure that the checkbox of the All Detected Trackers category is also disabled when TP is controlled by an extension; r=johannh
This checkbox is non-functional in this state, so there is no point to it
being enabled.

Differential Revision: https://phabricator.services.mozilla.com/D4838
2018-09-03 13:55:02 -04:00
Florian Quèze 9eb5b36fba Bug 1488232 - add a Google translation backend, r=felipe.
--HG--
rename : browser/components/translation/BingTranslator.jsm => browser/components/translation/GoogleTranslator.jsm
2018-09-03 19:15:56 +02:00
Ehsan Akhgari aa17415c48 Bug 1488096 - Give changeBlockListLink the same search-l10n-ids as changeBlockList; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4827
2018-09-03 12:18:30 -04:00
ffxbld 9e951cf226 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D4852

--HG--
extra : moz-landing-system : lando
2018-09-03 13:16:32 +00:00
Ehsan Akhgari 32868a1638 Bug 1488097 - Make browser_search_subdialogs_within_preferences_site_data.js test both the case with and without the Content Blocking UI; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4828
2018-09-03 11:28:59 -04:00
Ehsan Akhgari a6aab5c8f4 Bug 1488013 - Don't move the UI elements too early otherwise the XBL binding wouldn't have been applied when we want to adjust the checked attribute on our checkbox element; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4829
2018-09-03 11:22:06 -04:00
Aaron Klotz fa4326d0f2 Bug 1488872: Make -marionette implcitly wait-for-browser in the launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D5064

--HG--
extra : moz-landing-system : lando
2018-09-05 19:35:28 +00:00
Timothy Guan-tin Chien 4b8e9c3d4a Bug 1399367 - Remove MasterPassword.{encrypt|decrypt}Sync() methods r=MattN
This also makes various AutofillRecords methods async, with the exception of
remove() and removeAll().

Noted that I didn't implement any kind of "lock" for FormAutofillStorage --
please do not call these methods concurrently -- if you must please |await|
for the last call to resolve. This most likely would happen in tests, and
shouldn't happen in the real world, given that all user actions happen on
macrotasks, and probably not at the next tick, unless Quicksilver is a
Firefox user.

FormAutofillStorage can be improved if there are complex use cases for it.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 17:54:48 +00:00
Arshad Kazmi 70701eba6e Bug 1469148 - Add button info to click event of contextMenus API r=robwu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D4960

--HG--
extra : moz-landing-system : lando
2018-09-05 16:33:50 +00:00
Dana Keeler 8b93bfbb06 bug 832834 - reimplement nsSecureBrowserUIImpl r=franziskus,Felipe
It turns out nsSecureBrowserUIImpl is considerably more complicated than it
needs to be. This patch reimplements it in terms of OnLocationChange only, which
is all it needs to produce the same behavior as before.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 17:12:36 +00:00
Jared Wein d7a8b85f4c Bug 1480907 - Implement ability to bookmark a selection of tabs through drag and drop. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D4589

--HG--
extra : moz-landing-system : lando
2018-09-05 14:16:59 +00:00
Aaron Klotz e638e46d0b Bug 1488625: Check eNoDeelevate before obtaining a medium integrity token when UAC is disabled; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D4997

--HG--
extra : moz-landing-system : lando
2018-09-05 14:56:41 +00:00
timeless c956741452 Bug 1487889 - Add missing whitespace for certErrorMismatchSinglePrefix1. r=johannh
--HG--
extra : source : 9cbc8592d649c3876156e78fb9539038913435e6
extra : histedit_source : b232208157581922fdf7cda83d05889c518b395e
2018-08-31 17:04:40 -04:00
Nicholas Nethercote 70d22aa86a Bug 1487328 - Remove nsISHistoryListener.OnHistoryGo{Back,Forward}. r=nika
As per the previous commit, they are now subsumed by OnHistoryGotoIndex.

--HG--
extra : rebase_source : 627a32ed9378c7dd5364323183297933f90f9d72
2018-09-03 09:27:37 +10:00
Margareta Eliza Balazs b5430ee4da Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-05 15:42:52 +03:00
Rob Wu c80740cd9c Bug 1462121 - Fix intermittent in browser_ext_getViews.js r=zombie
extension.getViews() returns all windows whose context.active property
is true. In an upcoming commit, this "active" property will no longer be
set to false upon pagehide (which is a bit too early, since the window
has not unloaded yet), but set to false if the window is truly unloaded
(or frozen in the bfcache).

In the extension.getViews() test, the parts that close the popup or tab
should not immediately resume the test, but wait until the window in the
extension process has unloaded. Otherwise there is a rare chance that
extension.getViews() will return the window that was expected to be
closed, which results in a test failure.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 12:04:59 +00:00
Oriol Brufau 29fc9939ad Bug 1401610 - Add "Remove Extension" context menu item to browserAction. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D3565

--HG--
extra : moz-landing-system : lando
2018-09-05 10:02:52 +00:00
Tim Nguyen 59c2439982 Bug 1488615 - Make #urlbar-zoom-button adjustments available to all webextension themes. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4996

--HG--
extra : moz-landing-system : lando
2018-09-05 08:23:10 +00:00
Tim Nguyen 5a744e504b Bug 1488617 - Use currentColor and context-fill for tab-audio-small.svg icons. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4999

--HG--
extra : moz-landing-system : lando
2018-09-05 08:25:54 +00:00
Rob Wu 3afb2de6c7 Bug 1415333 - Use tab.setAttribute instead of tab.setUserContextId r=Gijs
Use tab.setAttribute instead of tab.setUserContextId, in case the XBL
bindings are not ready yet.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 09:53:17 +00:00
Rob Wu e69ac92ea0 Bug 1415333 - Set correct userContextId at window creation r=Gijs
The container tab indicator should also be set on the tab, not just on
the browser. Otherwise it is possible for the indicator to be missing
when a new window is opened.

And previously, if the URL was an "about:blank" URL, the tab in the new
window would use the default container because of the early return in
_handleURIToLoad. This is fixed by accounting for window.arguments[6]
when initializing the default (about:blank) tab in the tabbrowser.

Unit tests for these code path will be added in bug 1393570.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 09:39:56 +00:00
Soeren Hentzschel bfb302ba9e Bug 1486915 - Use the "hidden" attribute instead of a "hide" class in aboutPrivateBrowsing.js r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4821

--HG--
extra : moz-landing-system : lando
2018-09-05 09:28:17 +00:00
trisha 88400e06ef Bug 1484761 - Change "security certificates" to "certificates" on the new cert error pages r=johannh 2018-08-31 19:12:02 +05:30
Gijs Kruitbosch d1b26d3f34 Bug 1486824 - review comment follow-up: change params for openNewBrowserWindow to explicitly check for URL, r=nhnt11 2018-09-03 15:16:55 +01:00
Gijs Kruitbosch ef7146a4be Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D4466

--HG--
extra : rebase_source : e51b66bb18d0e600814b48d5cd3ec9d5dea3028a
extra : source : 96b5a88ac0041a1bd382a731749e1fca9aa911ed
2018-09-03 14:43:38 +01:00
Tyson Smith 2ef364ecb8 Bug 1474488 - add --enable-undefined-sanitizer (mainly for fuzzing interface). r=nfroyd 2018-09-04 07:00:00 +03:00
Mark Banner b947b7b13d Bug 1487783 - Create a basic directory & format for the new components of the address bar rewrite. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D4772

--HG--
extra : moz-landing-system : lando
2018-09-02 08:30:49 +00:00
Narcis Beleuzu 721842eed8 Merge inbound to mozilla-central. a=merge 2018-09-02 00:56:16 +03:00
Cosmin Sabou cbd66ad34c Bug 1484891 - Fix eslint failure. 2018-09-01 18:45:48 +03:00
Cosmin Sabou 2c3abdb6ba Merge mozilla-central to autoland. a=merge 2018-09-01 12:31:39 +03:00
Cosmin Sabou c8483bebfa Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : gfx/doc/AsyncPanZoom-HighLevel.png => gfx/docs/AsyncPanZoomArchitecture.png
rename : gfx/doc/silkArchitecture.png => gfx/docs/SilkArchitecture.png
rename : gfx/doc/README.webrender => gfx/webrender_bindings/README.webrender
2018-09-01 12:27:26 +03:00
Cosmin Sabou 08490965a2 Bug 1480443 - Part 2: Fix test case failure of Content Blocking. r=johannh 2018-09-01 11:04:15 +03:00
Cosmin Sabou d69bb4b3f3 Bug 1480443 - Enable FastBlock by default on Nightly. r=francois 2018-09-01 11:01:06 +03:00
Ehsan Akhgari 820ef13193 Bug 1480900 follow-up: Fix lint failure
Landed on a CLOSED TREE

--HG--
extra : source : 5a55e5b741076790c0fead2d758fa5dc5d76b839
2018-08-31 16:16:20 -04:00
Ciure Andrei db22ef8d8a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-01 02:43:10 +03:00
Sebastian Hengst 4f39161869 Backed out 18 changesets (bug 1487647, bug 1487271, bug 1487001, bug 1487105, bug 1486845, bug 1485738, bug 1487595, bug 1347060, bug 1480900, bug 1487889) for accidential push of inbound to central. a=backout
Backed out changeset 331706d8558f (bug 1487595)
Backed out changeset d78b833293db (bug 1487595)
Backed out changeset f292ef31ef0b (bug 1487595)
Backed out changeset ef8c5c529210 (bug 1486845)
Backed out changeset 9cbc8592d649 (bug 1487889)
Backed out changeset 05a0118455e4 (bug 1487105)
Backed out changeset 78b8ff889992 (bug 1487105)
Backed out changeset 5a55e5b74107 (bug 1480900)
Backed out changeset ea2402bdef40 (bug 1347060)
Backed out changeset 3f831b709e37 (bug 1485738)
Backed out changeset d1c29bfb5ea9 (bug 1480900)
Backed out changeset 8e60483ec824 (bug 1480900)
Backed out changeset 328589a86dd1 (bug 1487647)
Backed out changeset d974ef1647f3 (bug 1480900)
Backed out changeset 0509636cc5d5 (bug 1487001)
Backed out changeset c57165730494 (bug 1487271)
Backed out changeset a55d81761fc4 (bug 1480900)
Backed out changeset eaa2d0e9b62d (bug 1480900)

--HG--
rename : gfx/docs/AsyncPanZoomArchitecture.png => gfx/doc/AsyncPanZoom-HighLevel.png
rename : gfx/webrender_bindings/README.webrender => gfx/doc/README.webrender
rename : gfx/docs/SilkArchitecture.png => gfx/doc/silkArchitecture.png
2018-09-01 02:01:23 +03:00
Sebastian Hengst 973b725f51 Bug 1485400 - Remove ')' from merge conflict. a=bustage-fix 2018-09-01 01:56:12 +03:00
Ciure Andrei d1376bd7ec Merge inbound to mozilla-central. a=merge 2018-09-01 01:40:48 +03:00
Dave Townsend d0040cf29d Bug 1487650: Don't show a space for a pending favicon in pinned tabs. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4771

--HG--
extra : moz-landing-system : lando
2018-08-31 22:20:39 +00:00
Jared Wein 40361e66df Bug 1487404 - Coalesce multiple appendChild calls to one appendChild call when building the application handlers list. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D4697

--HG--
extra : moz-landing-system : lando
2018-08-31 17:50:17 +00:00
Sam Foster 3a3b20f7d3 Bug 1486951 - Change accesskey for Enable DNS over HTTPS label. r=flod
MozReview-Commit-ID: HcNXyWVaNbf

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

--HG--
extra : moz-landing-system : lando
2018-08-31 14:38:58 +00:00
Jared Wein 8af0a33e7e Bug 1484721 - Update the save button disabled state after changing the country select dropdown in the address-form. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D4470

--HG--
extra : moz-landing-system : lando
2018-08-31 16:15:51 +00:00
Jared Wein cd49c65e14 Bug 1480719 - Require credit card expiration month and year before saving credit cards. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D4485

--HG--
extra : moz-landing-system : lando
2018-08-31 16:36:34 +00:00
Coroiu Cristina 83cdfe7284 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-08-31 19:35:06 +03:00
Coroiu Cristina 43969de34f Merge inbound to mozilla-central a=merge 2018-08-31 19:14:43 +03:00
Margareta Eliza Balazs ffea0ab6ab Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-31 12:27:44 +03:00
Margareta Eliza Balazs 4a29900034 Merge autoland to mozilla-central. a=merge 2018-08-31 12:22:29 +03:00
Margareta Eliza Balazs 5ddcd7b745 Backed out changeset 96b5a88ac004 (bug 1486824) for causing frequent failures e.g: browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about.js a=backout 2018-08-31 12:17:27 +03:00
James Teh f856e68ebe Bug 1487304: Add more labels/descriptions in Privacy preferences for accessibility. r=johannh,MarcoZ
This allows screen reader users to determine the context of various controls when tabbing through them.
Specific changes:
1. Describe the "Cookies and Site Data" group using the disk space indicator; e.g. "Your stored cookies, site data and cache are currently using 315 MB of disk space."
2. Associate the description for the "Content Blocking" group; i.e. "Block third-party content, like ads or code..."
3. Correct association of the label for the "Do Not Track" setting; i.e. 'Send websites a “Do Not Track” signal that you don’t want to be tracked'
4. Associate the label for the "Permissions" group.
5. Make each permission a labelled group so the user knows what the various "Settings…" buttons are for.
6. Associate the label for the "Data Collection and Use" group.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 07:57:57 +00:00
Gurzau Raul 3f66519a54 Merge inbound to mozilla-central. a=merge 2018-08-31 07:04:49 +03:00
Abdoulaye O. Ly c72e4554a1 Bug 1483786 - Add aOptions object param to 'replaceTabsWithWindow' function in browser/base/content/tabbrowser.js file. r=jaws
replaceTabsWithWindow calls replaceTabWithWindow to create a new window window with a first tab.
But unlike the later function, the former cited function don't take an object param (aOptions) containing informations such as the mouse position (which helps set the new window position).
To adress the issue, we added support for passing an option param to replaceTabsWithWindow which just transferts the param to replaceTabWithWindow.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:11:34 +00:00
Gurzau Raul 7a2169b2f1 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-31 07:07:20 +03:00
Drew Willcoxon 9ec1989456 Bug 1480349 - RTL hosts don't stay visible when the browser window is resized. r=mak
This does a few things that should help:

(1) Run the timeout only after resize events have stopped.

(2) Increase the timeout from 30ms to 100ms.  It doesn't need to be so fast.

(3) Add a parameter to formatValue that bypasses actually formatting the value and instead only ensures the host is visible.  There's no need in this case to keep removing the formatting and then adding it back.  Having a "formatValue" method take a parameter to skip formatting is kind of weird, though.  At first I tried factoring out the make-host-visible part, but that requires also factoring out all the logic that determines whether the value is a formattable URL, and that ended up being ugly.  I'm open to better ideas.

Based on an earlier patch by Marco Bonardo <mbonardo@mozilla.com>

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

--HG--
extra : moz-landing-system : lando
2018-08-31 01:11:58 +00:00
Mark Banner afb520e82a Bug 1486739 - Enable ESLint rule comma-dangle for browser/, services/, taskcluster/ and toolkit/ directories. r=mossop
Enable globally by default by blacklist directories outside of the ones we're enabling. Remove now unnecessary existing configurations.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 06:06:08 +00:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Soeren Hentzschel abb07f84d7 Bug 1487557 - Make all rows of active policies to have the same number of columns. r=felipe 2018-08-30 20:49:01 -03:00
Soeren Hentzschel dc23cb94dc Bug 1483431 - improve design of about:policies. r=felipe 2018-08-30 18:20:25 -03:00
Gurzau Raul 09fe34b331 Merge inbound to mozilla-central. a=merge 2018-08-31 00:49:36 +03:00
Gijs Kruitbosch 4877e27e0a Bug 1453723 - actually wait for the homepage to load, r=bgrins
Explicitly specify which load we're waiting for to avoid intermittent oranges

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

--HG--
extra : moz-landing-system : lando
2018-08-30 16:29:59 +00:00
Narcis Beleuzu 682a2942bf Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-30 20:07:36 +03:00
Narcis Beleuzu 05d91d3e02 Merge inbound to mozilla-central. a=merge 2018-08-30 19:58:52 +03:00
Michael Kaply 19d09489b9 Bug 1486421 - Check all values for machine_only. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D4686

--HG--
extra : moz-landing-system : lando
2018-08-30 16:21:29 +00:00
Dave Townsend 3e24d077aa Bug 1487437: Only show a space for a pending icon if it started loading while the throbber was showing. r=dao.
This stops us from showing a pending space when an icon is added after loading is
complete causing us to shift the title when both pending and previous icon are
shown.

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

--HG--
extra : moz-landing-system : lando
2018-08-30 16:58:44 +00:00
Rob Wu 90c43c6a11 Bug 1465508 - Fix intermittent browser_ext_url_overrides_newtab.js r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D4656

--HG--
extra : moz-landing-system : lando
2018-08-30 13:29:18 +00:00
Narcis Beleuzu 1bb581bc8f Merge mozilla-central to inbound.
--HG--
extra : rebase_source : 063f3df7ad6d834fa3e72cd6825c31792716586b
2018-08-30 16:09:37 +03:00
Narcis Beleuzu 1e60ae6690 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-30 20:08:44 +03:00
Narcis Beleuzu a4ec006bb0 Backed out changeset 4e195f7b2d6b (bug 1486824) for clipboard failures on OSX browser_editcontrols_update. a=backout 2018-08-30 15:59:59 +03:00
Bob Owen b2d6e0b576 Bug 1366137: Wait for the correct URLs to have loaded in browser_new_web_tab_in_file_process_pref.js. r=mconley 2018-08-30 17:21:38 +01:00
Margareta Eliza Balazs 43464bd7dc Backed out changeset 76ccb62dd14d (bug 1480349) for bc failures on browser_urlbar_search.js a=backout 2018-08-30 14:04:09 +03:00
Narcis Beleuzu 78f15dbb01 Merge mozilla-central to autoland. a=merge 2018-08-30 16:08:00 +03:00
ffxbld 055f6b25a3 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D4660

--HG--
extra : moz-landing-system : lando
2018-08-30 12:53:09 +00:00
arthur.iakab 044707fc78 Merge inbound to mozilla-central a=merge 2018-08-30 07:37:00 +03:00
Felipe Gomes a86c7ac8b8 Bug 1487233 - Re-enable browser_startup_content.js on test-verify. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D4634
2018-08-29 23:29:53 -03:00
Dennis Schubert 65a27816a3 Bug 1486885 - Remove error logging inside getBaseDomainFromURI(). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D4684

--HG--
extra : moz-landing-system : lando
2018-08-30 15:50:20 +00:00
Dave Townsend e63bb1c465 Bug 1487246: Enable the eslint no-sequences rule. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D4681

--HG--
extra : rebase_source : ae253571d7d47c4a113a98a8b7c29bf712a0d764
2018-08-29 16:15:33 -07:00
Dave Townsend e1f6637191 Bug 1487246: Remove uses of comma sequences in linted code. r=Standard8
Two cases were hiding permanently failing tests. I've commented those out and
filed bug 1487431.

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

--HG--
extra : rebase_source : 232fa6173de8844a9c47d59926ec8e39d0640ecd
2018-08-29 16:12:55 -07:00
shindli 4852481c04 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-30 14:22:17 +03:00
Marco Bonardo 12bc352965 Bug 1485746 - Cursor gets reset to start of address bar on window switch. r=adw
This restores the previous behavior where we set the selection only when setting a new different value

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

--HG--
extra : moz-landing-system : lando
2018-08-30 09:41:24 +00:00
Mark Banner 23c68929d3 Bug 1486808 - Remove nsINavBookmarksService::unfiledBookmarksFolder and PlacesUtils.unfiledBookmarksFolderId. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D4456

--HG--
extra : moz-landing-system : lando
2018-08-30 08:47:46 +00:00
Mark Banner f5112645af Bug 1486226 - Correctly handle empty (invalid) href attributes in <link> elements (e.g. favicons). r=mak
Differential Revision: https://phabricator.services.mozilla.com/D4487

--HG--
extra : moz-landing-system : lando
2018-08-30 08:35:51 +00:00
Gijs Kruitbosch d8fe716bb5 Bug 1485253 - fix crashes due to dead windows' taskbar preview objects sticking around, r=m_kato,florian
The fix in bug 1418793 accidentally removed the onCloseWindow call, which
meant we were setting `.enabled` on taskbar window objects whose windows
were already dead, which was causing crashes.

I've reverted the removal, and also added some nullchecking, because the
C++ component shouldn't make it this easy for consumers to cause crashes.

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

--HG--
extra : moz-landing-system : lando
2018-08-30 00:58:19 +00:00
Drew Willcoxon bcbe910b2f Bug 1480349 - RTL hosts don't stay visible when the browser window is resized. r=mak
This does a few things that should help:

(1) Run the timeout only after resize events have stopped.

(2) Increase the timeout from 30ms to 100ms.  It doesn't need to be so fast.

(3) Add a parameter to formatValue that bypasses actually formatting the value and instead only ensures the host is visible.  There's no need in this case to keep removing the formatting and then adding it back.  Having a "formatValue" method take a parameter to skip formatting is kind of weird, though.  At first I tried factoring out the make-host-visible part, but that requires also factoring out all the logic that determines whether the value is a formattable URL, and that ended up being ugly.  I'm open to better ideas.

Based on an earlier patch by Marco Bonardo <mbonardo@mozilla.com>

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

--HG--
extra : moz-landing-system : lando
2018-08-29 23:36:24 +00:00
Gijs Kruitbosch a8e2b8e702 Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D4466

--HG--
extra : moz-landing-system : lando
2018-08-29 17:58:25 +00:00
arthur.iakab a82f668e23 Merge mozilla-central to autoland 2018-08-30 01:12:47 +03:00
arthur.iakab 32fbca3814 Merge inbound to mozilla-central a=merge 2018-08-30 00:56:06 +03:00
arthur.iakab 4470331ea7 Merge autoland to mozilla-central a=merge 2018-08-30 00:52:22 +03:00
anthony 72017bd799 Pocket: Tag auto complete appears behind send to mobile section (Bug 1487157). r=thecount
In the Pocket dropdown, the Tag input field has an auto-complete. In the case
that the user is enrolled in a A/B experiment, a "Send to Phone" section will
be added to the panel. The tag auto-complete field, when active, appears
behind the experiment section.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 19:28:57 +00:00
Ehsan Akhgari 7d0e6b4dbe Bug 1487174 - Update a couple of preferences strings based on the latest copy; r=mconley,flod a=Aryx 2018-08-29 15:10:43 -04:00
Jared Wein bac44c8022 Bug 1481473 - Hide the 'Duplicate Tab' menuitem when there is a selection of tabs. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D4549

--HG--
extra : moz-landing-system : lando
2018-08-29 18:07:30 +00:00
Cosmin Sabou 55bf096f3d Merge mozilla-inbound to mozilla-central. a=merge 2018-08-29 20:34:13 +03:00
Johann Hofmann ebb1072247 Bug 1484832 - Update DNT section for Content Blocking. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D4517

--HG--
extra : moz-landing-system : lando
2018-08-29 16:13:00 +00:00
Carl Corcoran 7da8e04c87 Bug 1467736: Add support for DllBlocklist_Shutdown;r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D4544

--HG--
extra : moz-landing-system : lando
2018-08-29 18:49:49 +00:00
Jared Wein 2c02e520a9 Bug 1468440 - Update close, unblock audio and mute/unmute button tooltips for multi-selected tabs. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D4390

--HG--
extra : moz-landing-system : lando
2018-08-29 18:44:35 +00:00
Dave Townsend 730ca3472e Bug 1473514: Display an empty space for the tab icon while waiting for the real favicon to appear. r=dao
This adds a simple empty box that is displayed when we're still loading an icon
but are no longer showing the throbber. Ideally I'd like to keep showing the
throbber and maintain the busy state but that seems more risky for now.

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

--HG--
extra : moz-landing-system : lando
2018-08-29 18:27:36 +00:00
Aaron Klotz 02d0c0e4f2 Bug 1486901: Part 3 - Ensure that all RunAsLauncherProcess tests run to ensure side effects; r=mhowell!
Differential Revision: https://phabricator.services.mozilla.com/D4585

--HG--
extra : moz-landing-system : lando
2018-08-29 18:16:33 +00:00