Commit Graph

57150 Commits

Author SHA1 Message Date
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
Cosmin Sabou
3211507dfb Merge mozilla-inbound to mozilla-central. a=merge 2018-08-24 00:40:14 +03:00
Gurzau Raul
ac1914ecba Backed out 6 changesets (bug 1421501) for bustages on security/nss/lib/freebl/mpi/mp_comba.c on a CLOSED TREE
Backed out changeset cae4910806c7 (bug 1421501)
Backed out changeset 600a005d3613 (bug 1421501)
Backed out changeset 7381597721d2 (bug 1421501)
Backed out changeset 1ee0d35a041f (bug 1421501)
Backed out changeset 772dea1abb7f (bug 1421501)
Backed out changeset c119767aec7b (bug 1421501)
2018-08-23 17:13:42 +03:00
Robert Helmer
b8233d3ae3 Bug 1421501 - WebIDL and DOM for PrioEncoder r=edgar,hsivonen
MozReview-Commit-ID: L8htRm3J1mZ

--HG--
extra : rebase_source : ca9ccac75cd575be12d18c71ae60dbffb7c529fa
2018-06-20 17:21:17 -07:00
ffxbld
1eb4a76ba4 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D4071

--HG--
extra : moz-landing-system : lando
2018-08-23 13:31:44 +00:00
Tom Prince
cbd96979ae Bug 1478995: Disable nodejs in source tasks; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3988

--HG--
extra : source : 158ae9db750eda14c4a6653955e2932f46a38d7a
extra : amend_source : c35a7493fde3ae404edc436d7e37a25e1059025a
extra : intermediate-source : 125d36d0a59d1d5b50ed482027e7182d44e33f36
2018-08-22 09:54:07 -06:00
Brindusan Cristian
7ac19aed65 Merge inbound to mozilla-central. a=merge 2018-08-23 06:41:38 +03:00
Brindusan Cristian
3a6525794b Merge autoland to mozilla-central. a=merge 2018-08-23 06:39:25 +03:00
shindli
34bbe66fbd Backed out changeset 2f9c90bd0f2f (bug 1446168) for R3 failures in /tests/reftest/tests/layout/reftests/xul/mac-tab-toolbar-ref.xul 2018-08-23 03:10:03 +03:00
Narcis Beleuzu
77795dbade Backed out changeset ffe0fc382b2f (bug 1369209) for bc failures on browser_ext_management.js. CLOSED TREE 2018-08-23 02:28:19 +03:00
Drew Willcoxon
bd0bd8a76a Bug 1483122 - "https" is pushed off left edge of address bar (overlapping buttons!) for long URLs with broken cert configurations r=Gijs
Bug 1470910 broke the positioning because it changed the tag name of .urlbar-input-box but didn't update the related rule in browser.css, and then bug 1480355 landed and made it worse.  This patch fixes the first problem by updating the tag name in the CSS, and it fixes the second problem (and bug 1480355) by setting `direction: ltr` on .urlbar-input-box.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 22:29:52 +00:00
Brindusan Cristian
d21b936680 Merge inbound to mozilla-central. a=merge 2018-08-23 01:00:10 +03: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
Sebastian Hengst
e7f78d6d6c Bug 1484440 - Set browser.security.newcerterrorpage.enabled for exception dialog button test r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D3965

--HG--
extra : moz-landing-system : lando
2018-08-22 15:25:17 +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
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
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
Brindusan Cristian
d2592042f8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-23 01:02:39 +03:00
Tomislav Jovanovic
47f67b630a 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-22 21:52:28 +00:00
Dipen Patel
1e7897dcaa Bug 1468225 - remove method nsICertificateDialogs.viewCert and its uses. r=Gijs,keeler
- Remove the viewCert method from nsICertificateDialogs
- Remove all associated C++ code
- Directly invoke UI window where it was previous called.
- Update tests

MozReview-Commit-ID: 9b62Go0DjE9

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

--HG--
extra : moz-landing-system : lando
2018-08-22 17:38:33 +00:00
Narcis Beleuzu
6ff3b886ac Backed out changeset 7a8e8fa7a3f0 (bug 1484232) as per mkaply`s request.
--HG--
extra : rebase_source : 25a0bf756b1d223e6d33959a5ef0597a4c527504
2018-08-22 22:26:22 +03:00
Cosmin Sabou
ed624fa8d0 Backed out 6 changesets (bug 1484876) for eslint failure on PrivateBrowsingUtils. CLOSED TREE
Backed out changeset e80737d6af55 (bug 1484876)
Backed out changeset b1cb63d8c8bb (bug 1484876)
Backed out changeset cd2ced689895 (bug 1484876)
Backed out changeset d31e39a47704 (bug 1484876)
Backed out changeset babf6abc7f4c (bug 1484876)
Backed out changeset 1c9895ab06c6 (bug 1484876)
2018-08-22 16:26:33 +03:00
Ehsan Akhgari
e5937f080b Bug 1484876 - Part 5: Merge the PrivateBrowsingTrackingProtectionWhitelist service with PrivateBrowsingUtils.jsm; r=johannh 2018-08-22 09:08:10 -04:00
Ehsan Akhgari
3070297f6f Bug 1484876 - Part 4: Remove nsIPrivateBrowsingTrackingProtectionWhitelist.existsInAllowList(); r=johannh 2018-08-22 09:08:10 -04:00
Dão Gottwald
17bfe80ec1 Bug 1485256 - Use photon red for the fullscreen window close button. r=ntim
--HG--
extra : rebase_source : 8aa8dd600dfc45b520b0a378ea098057b2f74eef
2018-08-22 07:38:03 +02: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
Noemi Erli
a3eb003ecf Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/tests/css/motion/offset-path-string.html => testing/web-platform/tests/css/motion/offset-path-string-001.html
2018-08-22 12:49:02 +03:00
Andreea Pavel
c7eca6e1df Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-08-22 06:37:23 +03:00
Andreea Pavel
883da574e8 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-22 06:35:14 +03: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
Timothy Guan-tin Chien
2878e48d64 Bug 1471657 - Update Nightly DMG background to high-res r=Dolske
This updates the Nightly DMG background to high resolution as given
by shorlander.

The image is passed through zopflipng as done in bug 1234008,
with metadata added back using exiftool as described in bug 1454610 comment 13.

Change is verified locally by re-packaging artifact build and inspecting
the resulting DMG.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 20:54:30 +00:00
Dennis Schubert
1ff837285f Bug 1484796 - Add console logging statements to site patches. r=kmag,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D3818

--HG--
extra : moz-landing-system : lando
2018-08-21 16:10:23 +00:00
Timothy Guan-tin Chien
70c9490b83 Bug 1478477 - Update .DS_Store for Firefox Developer Edition r=Dolske
Following steps in bug 1435359 comment 2 I have managed to restore the icon
position and the background image of the Developer Edition DMG.

We should uplift this to all affect versions.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 16:49:28 +00: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
Ryan VanderMeulen
3fbc856a30 Bug 1485014 - Update pdf.js to version 2.0.775. r=bdahl
--HG--
extra : amend_source : 1a0a50252b281f43ecc9aff45f1f693deaa92ea2
2018-08-21 10:10:16 -04: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
Andreea Pavel
c8dfc19d97 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-08-22 06:38:49 +03:00
Jan Beich
e459b11dc1 Bug 1484535 - Allow C++ files to check MOZ_SYSTEM_ICU. r=froydnj 2018-08-21 16:02:00 +03: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
d9bdf77969 Merge mozilla-central to autoland 2018-08-21 12:57:58 +03:00