Commit graph

19588 commits

Author SHA1 Message Date
Oriol Brufau
f81e9b49d1 Bug 1486050 - Don't change selected tab when browser.tabs.update is called with {highlighted: true, active: false}. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D4272

--HG--
extra : moz-landing-system : lando
2018-08-27 11:53:42 +00:00
arthur.iakab
7df3c5baab Merge inbound to mozilla-central a=merge 2018-08-25 06:35:21 +03:00
Brendan Dahl
f6923ccc24 Bug 1485426 - Use createXULElement instead of createElement in XUL docs. r=bgrins
Preparing for transitioning to XHTML.

MozReview-Commit-ID: JLlmUxsvhIB

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

--HG--
extra : moz-landing-system : lando
2018-08-25 00:16:27 +00:00
Matthew Noorenberghe
487d770cc3 Bug 1485473 - Combine the borders of the name fields on the address form. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D4031

--HG--
extra : moz-landing-system : lando
2018-08-24 23:21:30 +00:00
Sam Foster
2b03865bc5 Bug 1482271 - Add preferences UI for the DNS over HTTPS mode and uri prefs r=johannh,flod
MozReview-Commit-ID: G10vRxluGCa

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

--HG--
extra : moz-landing-system : lando
2018-08-24 17:54:32 +00:00
Gijs Kruitbosch
300dbd787f Bug 1485577 - Pass triggeringPrincipal into openDialog for window opening code. r=jkt,Standard8 on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D4095

--HG--
extra : source : f83d8d85c94f2d1cab19085ec1662808def93fe9
extra : amend_source : 3a291878cce0ab7b780921f55cb613b14aebd189
2018-08-24 16:20:36 +00:00
Andreea Pavel
663c6bc5c5 Backed out changeset f83d8d85c94f (bug 1485577) for failing bc at browser/base/content/test/performance/browser_tabopen.js on a CLOSED TREE 2018-08-24 21:44:38 +03:00
Gijs Kruitbosch
7de2b99549 Bug 1485577 - Pass triggeringPrincipal into openDialog for window opening code. r=jkt,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D4095

--HG--
extra : moz-landing-system : lando
2018-08-24 16:20:36 +00:00
Andrei Oprea
6ac001b7a4 Bug 1482579 - Deprecation warning for search service API from getShortURLForCurrentSearch r=k88hudson
Wait for Search services to initialize before we try to access any properties

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

--HG--
extra : moz-landing-system : lando
2018-08-24 14:00:34 +00:00
Tiberius Oros
2ab0108c42 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-24 12:45:50 +03:00
Tiberius Oros
2ee9341d01 Merge inbound to mozilla-central. a=merge 2018-08-24 12:43:45 +03:00
Johann Hofmann
b812e620f1 Bug 1484574 - Update copy for the content blocking section in the identity popup. r=paolo
This updates some copy based on UX and legal requirements as well as add a correct
SUMO URL for the "Learn More" link for breakage reporting.

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

--HG--
extra : moz-landing-system : lando
2018-08-24 09:26:33 +00:00
Paolo Amadini
33cef824d2 Bug 1484275 - ESLint quick fix, again. r=me 2018-08-24 08:58:06 +01:00
Paolo Amadini
6ea78024ca Bug 1484275 - ESLint quick fix. r=me 2018-08-24 08:39:47 +01:00
Jared Hirsch
768f7a15c5 Temporarily revert Screenshots back to Photon page action until 63 branches (Bug 1466575). r=ianbicking
Screenshots moved from a Photon page action to a pure WebExtension page
action, but this move introduced some UI bugs where the two page actions
behave differently. Since this change isn't needed for 63, seems better
to just temporarily revert.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 22:15:44 +00:00
Paolo Amadini
866357cbca Bug 1484275 - Fix opening the main menu while another popup is open on Windows. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3979

--HG--
extra : rebase_source : 5cf5b9fe368de3c78765cb154ef6532e2340d400
2018-08-23 14:04:43 +01:00
Brian Birtles
eaac2f20c4 Bug 1484911 - Convert .disabled selectors on <form> elements in extension.css to :disabled; r=bwinton
This does _not_ convert .disabled selectors on non-<form> elements such as
panel-list-items since presumably in such cases the 'disabled' class is being
used to grey-out a whole chunk of content.

For form elements, however, authors shouldn't be greying out elements with the
'disabled' class without also actually making the form element itself disabled
(e.g. with the disabled attribute).

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

--HG--
extra : moz-landing-system : lando
2018-08-23 13:16:11 +00:00
Oriol Brufau
6be8c01caa Bug 1479129 - Implement support for updateProperties.highlighted in browser.tabs.update(). r=mixedpuppy,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3800

--HG--
extra : moz-landing-system : lando
2018-08-23 22:09:45 +00:00
Kris Maglione
80327d3561 Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3729

--HG--
extra : rebase_source : e187b8e9a6b6db7ebc762adda5e489b25c7a7e43
extra : histedit_source : 868cb99d09954a51d6be321fcb516475ef70eb33
2018-08-18 19:27:33 -07:00
Kris Maglione
2dee0aae3c Bug 1484496: Part 4b - Add intrinsic type information to most nsSimpleEnumerators. r=froydnj
This allows JS callers to automatically get the correct types during
interation, without having to explicitly specify them.

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

--HG--
extra : rebase_source : b708f382d8ea571d199c669bfed5b5a7ca9ffac4
extra : histedit_source : 7df6feb82088c8a5ca45dc28fe4d2b852c177fee
2018-08-18 21:06:32 -07:00
Kris Maglione
65c28aa0ad Bug 1484496: Part 2 - Add common base class for all nsISimpleEnumerator implementations. r=froydnj
In order to allow JS callers to use nsISimpleEnumerator instances with the JS
iteration protocol, we'll need to additional methods to every instance. Since
we currently have a large number of unrelated implementations, it would be
best if they could share the same implementation for the JS portion of the
protocol.

This patch adds a stub nsSimpleEnumerator base class, and updates all existing
implementations to inherit from it. A follow-up will add a new base interface
to this class, and implement the additional functionality required for JS
iteration.

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

--HG--
extra : rebase_source : ad66d7b266856d5a750c772e4710679fab9434b1
extra : histedit_source : a83ebffbf2f0b191ba7de9007f73def6b9a955b8
2018-08-18 14:22:47 -07:00
Tomislav Jovanovic
7d327a197e Bug 1369209 - Implement management.install for themes only r=robwu,kmag
Differential Revision: https://phabricator.services.mozilla.com/D3106

--HG--
extra : rebase_source : b9f0c006346b132ed655255525ce33294c3526da
2018-08-10 14:12:36 +02:00
Dorel Luca
8e7a61886b Backed out changeset d47a2f5db828 (bug 1481199) browser/base/content/test/urlbar/browser_autocomplete_a11y_label.js. CLOSED TREE 2018-08-23 23:45:02 +03:00
Diego Pino Garcia
6900fb42ab Bug 1481199 - Drop the obsolete dataType parameter for nsIBrowserSearchService.addEngine. r=mkaply 2018-08-23 09:00:00 -04:00
arthur.iakab
dcedbb628b Merge mozilla-central to inbound 2018-08-25 01:09:50 +03:00
Tim Nguyen
669319bc29 Bug 1485996 - Fix library panel with MOZ_BROWSER_XHTML on. r=bgrins 2018-08-24 15:21:28 +01:00
Noemi Erli
d9cb8a1d4a Backed out changeset b24238e8e714 (bug 1481199) for failures in mobile/android/tests/browser/chrome/test_device_search_engine.html 2018-08-24 20:34:36 +03:00
Diego Pino Garcia
1f9d6d9b78 Bug 1481199 - Drop the obsolete dataType parameter for nsIBrowserSearchService.addEngine. r=mkaply 2018-08-23 17:25:12 -05:00
Cosmin Sabou
54a6357287 Backed out changeset 29cdfd4dec23 (bug 1369209) for browser chrome failures on browser_ext_management.js. CLOSED TREE 2018-08-23 22:29:36 +03:00
Tomislav Jovanovic
c6d1ca1a5b Bug 1369209 - Implement management.install for themes only r=kmag,robwu
Differential Revision: https://phabricator.services.mozilla.com/D3106

--HG--
extra : moz-landing-system : lando
2018-08-23 18:45:23 +00:00
Nicholas Nethercote
8cb0711355 Bug 1485279 - Merge nsISHContainer into nsISHEntry. r=qdot
nsSHEntry is the only class that instantiates those two interfaces, so the
separation is not useful. This lets us remove numerous pointless QIs.

--HG--
extra : rebase_source : 570b7ade669fb89a789184198bec9da186c5f1d3
2018-08-22 19:20:56 +10:00
Brindusan Cristian
d44d2ad21c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-23 01:03:34 +03:00
Brindusan Cristian
d21b936680 Merge inbound to mozilla-central. a=merge 2018-08-23 01:00:10 +03:00
Ehsan Akhgari
bdb451ac2e Bug 1484312 - Add UI for restricting third-party cookies to the Control Centre; r=johannh,flod 2018-08-22 17:05:19 -04:00
Brendan Dahl
4b4b2327fe Bug 1485147 - Fix app menu for browser.xhtml. r=bgrins
The XUL elements were not being created because of the wrong createElement
call.

MozReview-Commit-ID: 54RqUJQAqHq

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

--HG--
extra : moz-landing-system : lando
2018-08-22 17:04:52 +00:00
Noemi Erli
e0e342c6ae Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 19:31:52 +03:00
Noemi Erli
f2ac80ab7d Merge inbound to mozilla-central. a=merge 2018-08-22 19:28:33 +03:00
Mark Banner
bf2dba5c9f Bug 1476228 - Enable comma-dangle ESLint rule for Places directories. r=mikedeboer
MozReview-Commit-ID: K8HcZfyF4Sz

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

--HG--
extra : moz-landing-system : lando
2018-08-22 15:44:43 +00:00
Eliza Balazs
916dfe2d6e Bug 1480314 - Disable browser_search_within_preferences_1.js on win for frequent failures. r=jmaher 2018-08-22 04:55:00 +03:00
Johann Hofmann
8997b3ac3e Bug 1484583 - Update Tracking Protection UI tour for Content Blocking. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D3929

--HG--
rename : browser/components/uitour/test/browser_trackingProtection.js => browser/components/uitour/test/browser_contentBlocking.js
extra : moz-landing-system : lando
2018-08-22 10:29:52 +00:00
Mark Banner
f99b0cbb91 Bug 1484482 - Fix the bookmarks menu when it is displayed via the hidden window. r=paolo
MozReview-Commit-ID: 7VYNxFmedZl

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

--HG--
extra : moz-landing-system : lando
2018-08-22 10:17:28 +00:00
Matthew Noorenberghe
0cf516ec70 Bug 1482220 - Listen for the autofill edit forms being appended for localization. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D3846

--HG--
extra : moz-landing-system : lando
2018-08-22 02:58:38 +00:00
Tiberius Oros
05b46cf200 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 00:59:19 +03:00
Dorel Luca
b704584332 Merge mozilla-central to autoland 2018-08-21 19:03:25 +03:00
Dorel Luca
3fa761ade8 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-21 19:01:08 +03:00
Rob Wu
36516a10a8 Bug 1475842 - Change parameter format in browser.search API r=rpl
Changes to browser.search.search API:
- Change the positional parameters to an object parameter.
- Rename "engineName" to "engine", and make this an optional parameter.
- Rename "searchTerms" to "query".

Changes to browser.search.search implementation:
- Simplify gBrowser getter. None of the "!gBrowser" conditionals are
  necessary, as demonstrated by the new options page+sidebar tests
  (which passed even after  removing the `if (!gBrowser ...)` blocks).
  Use windowTracker.topWindow for consistency with our other code.

Test changes:
- Remove unneeded name / "TEST_ID" in tests
- Use SEARCH_TERM constant in more places.
- New test: Using API from options page.
- New test: Using API from sidebar.
- New test: Using API without explicit "engine" parameter.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 14:43:46 +00:00
Jonathan Kingston
3d93e94550 Bug 1364392 - Provide correct triggeringPrincipal to openLinkIn r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3873

--HG--
extra : moz-landing-system : lando
2018-08-21 14:15:40 +00:00
Jonathan Kingston
203aa92dca Bug 1483148 - Add allowInheritPrincipal to current tab bookmarklets. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3313

--HG--
extra : moz-landing-system : lando
2018-08-21 13:24:49 +00:00
Gijs Kruitbosch
dde42d4dfa Bug 1483935 - correctly check all windows for tabs when quitting, r=mconley
Bug 1438499 added an optional parameter to warnAboutClosingTabs.
In bug 1475427, the arguments to warnAboutClosingTabs changed, and instead
of passing a closing tab reference as the second argument, we now need to
pass the number of tabs as the first argument. The patch in that bug
updated the callsite in nsBrowserGlue.js to add the new argument, but
didn't remove the `null` argument that we were passing for the 'extra' tab.

Additionally, the change in bug 1475427 bails early from
warnAboutClosingTabs if the number of tabs passed is less than 2. That tab
count, too, needs to take into account multiple windows and not just the
last window iterated over.

This patch fixes both of these issues.

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

--HG--
extra : moz-landing-system : lando
2018-08-20 18:27:44 +00:00
Dorel Luca
07c6e76122 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-21 12:54:24 +03:00