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

2367 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 877eae8863 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc

--HG--
extra : rebase_source : d4c2f80bdf02ec4a07e3713a9ae1823145d25942
2018-04-14 19:38:18 -07:00
Andreea Pavel 5743b5b700 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-21 12:31:28 +03:00
Boris Zbarsky 1df89947b2 Bug 1453869 part 10. Stop constructing DOMParser by contract. r=mrbkap
MozReview-Commit-ID: A0bHF5RHhs6
2018-04-20 23:04:45 -04:00
Boris Zbarsky 54fbc1b396 Bug 1453869 part 5. Remove nsIDOMParser::ParseFromBuffer. r=mrbkap
MozReview-Commit-ID: 4KuM0HRI2BC
2018-04-20 23:01:25 -04:00
Boris Zbarsky 4527d58c1c Bug 1453869 part 3. Remove the used-only-in-tests DOMParser.init method. r=mrbkap
Some DOM unit tests rely on being able to parse XUL via DOMParser.  That was allowed due to them calling init() with a system subject principal.  It can be more narrowly allowed by adding an explicit setter for being able to parse XUL/XBL.

MozReview-Commit-ID: 3h0WWGHmYOn
2018-04-20 23:01:24 -04:00
Kris Maglione 903e86e865 Bug 1455458: De-XPIDLify the blocklist service. r=gijs
Going through XPConnect for JS-to-JS access in the blocklist service adds no
benefit, but does add a lot of overhead and maintenance burden.

MozReview-Commit-ID: Lf1mDK0b0B0

--HG--
extra : rebase_source : 410ed3fcf999d7c7775ef4926c89f67d9e342da8
2018-04-19 16:01:24 -07:00
Boris Zbarsky 45a3faf8f6 Bug 1455052 part 12. Remove JS uses of nsIDOMEvent. r=masayuki,kmag
MozReview-Commit-ID: 5g0H3rzxTXt
2018-04-20 12:55:31 -04:00
Dorel Luca 3409e8f9fb Merge mozilla-central to autoland
--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
rename : testing/mozharness/mozharness/mozilla/testing/verify_tools.py => testing/mozharness/mozharness/mozilla/testing/per_test_base.py
extra : rebase_source : 6f474049dab2c2979e13ea87114b82d2b04715d0
2018-04-21 02:03:27 +03:00
Dão Gottwald 2c4dccadbf Bug 1446762 - Update the lwt header image on resolution change. r=MattN
This was previously implemented using the resize event, and was wrongly removed in bug 1438573.

MozReview-Commit-ID: ATZdPgoOGRF

--HG--
extra : rebase_source : 8d4afac5d5bddd12cafee104988e8bc5e3b80e65
2018-04-20 14:21:00 +02:00
Bogdan Pozderca b7044b1ab1 Bug 1418605 - The toolbar, toolbar_text, toolbar_field, toolbar_field_text, toolbar_field_border properties should apply to the findbar r=jaws,mconley,ntim
MozReview-Commit-ID: 821d7kR41mJ

--HG--
extra : rebase_source : d0f6e9308b261806a014fcc834c753f3a892fbbc
2018-02-10 17:24:50 -05:00
Jan Horak 14578d6f2d Bug 1455235 [gtk] Don't start moving window before mousemove event, r=dao
We need to start moving the window in GTK after mousemove event arrives,
not with mousedown, because the drag area can also process doubleclick
event to restore/maximize window. This also match to the GTK implementation,
see gedit behaviour for example.

MozReview-Commit-ID: WXP3D2wIp0

--HG--
extra : rebase_source : c39ac7884767366aa1964571fa5da9575e4f781c
2018-04-19 12:39:57 +02:00
Jan Henning 404003707f Bug 1415342 - Part 1 - Move OfflineAppCacheHelper to Toolkit. r=standard8
The OfflineAppCacheHelper was apparently introduced after the Sanitizer had been
forked for Fennec and so far nobody bothered to use it there as well.

MozReview-Commit-ID: 42Uk5hfvf9y

--HG--
rename : browser/modules/offlineAppCache.jsm => toolkit/modules/offlineAppCache.jsm
extra : rebase_source : 77e542dbbdfea62b918b89b4c0799be7e3f89ef9
2018-04-12 19:16:02 +02:00
Mike de Boer ecf63670d4 Bug 1034036 - Part 2: Rename and shorten `getMostRecentBrowserWindow` to `getTopWindow` and modernize the style used in BrowserWindowTracker.jsm. r=dao
MozReview-Commit-ID: EvgAhq4uR3a

--HG--
extra : rebase_source : 8fd8040cd1eee94675d4e9ca0c8ccc60db9e1bf7
2018-04-11 12:05:59 +02:00
Mike de Boer d16ee58ded Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
MozReview-Commit-ID: 9qzq1aGvjDu

--HG--
rename : browser/modules/UpdateTopLevelContentWindowIDHelper.jsm => browser/modules/BrowserWindowTracker.jsm
extra : rebase_source : 9c4a728e13fd691d377e7f221c5632646115daca
2018-04-11 12:05:56 +02:00
Noemi Erli 6b88e0ee99 Backed out 4 changesets (bug 1415342) for bc failures in browser/components/preferences/in-content/tests/siteData/browser_clearSiteData.js on a CLOSED TREE
Backed out changeset 36ff321fc1b8 (bug 1415342)
Backed out changeset d7e30b8499cd (bug 1415342)
Backed out changeset 4913f1571ece (bug 1415342)
Backed out changeset 25d665693e38 (bug 1415342)

--HG--
rename : toolkit/modules/offlineAppCache.jsm => browser/modules/offlineAppCache.jsm
2018-04-19 10:37:30 +03:00
Jan Henning 14468b6342 Bug 1415342 - Part 1 - Move OfflineAppCacheHelper to Toolkit. r=standard8
The OfflineAppCacheHelper was apparently introduced after the Sanitizer had been
forked for Fennec and so far nobody bothered to use it there as well.

MozReview-Commit-ID: 42Uk5hfvf9y

--HG--
rename : browser/modules/offlineAppCache.jsm => toolkit/modules/offlineAppCache.jsm
extra : rebase_source : b7010f732ca13583fd2b2c62102b4ea1c13a4cc6
2018-04-12 19:16:02 +02:00
Dorel Luca 8ee8fc461e Backed out 2 changesets (bug 1317581) for Browser chrome failures on toolkit/components/extensions/test/browser/browser_ext_themes_arrowpanels.js. CLOSED TREE
Backed out changeset 5cc146254899 (bug 1317581)
Backed out changeset 963466173a74 (bug 1317581)
2018-04-18 18:54:38 +03:00
Jared Wein 7ee1860850 Bug 1317581 - DateTimePicker should support high contrast mode on Windows. r=dao
MozReview-Commit-ID: DEBBjcgHIyH

--HG--
extra : rebase_source : 9b52b15a0af9a56ad724dd578884856d4d5e7e20
2018-03-22 13:01:28 -04:00
Coroiu Cristina 374b919ce6 Merge inbound to mozilla-central a=merge 2018-04-18 13:44:22 +03:00
Kris Maglione 0f40271841 Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

bc5629735d/processors/add-task-async.jsm?at=default&fileviewer=file-view-default

MozReview-Commit-ID: KxuS9Cen87

--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
2018-04-12 21:10:04 -07:00
David Keeler 70a3575ade bug 1454504 - use a more performant API to find a root certificate in CertUtils.checkCert r=kmag,mossop
nsIX509Cert.issuer performs synchronous certificate verification and isn't even
guaranteed to return a verified result. Luckily we can replace this with
nsISSLStatus.succeededCertChain, which contains the already-verified certificate
chain of the connection we're interested in.

MozReview-Commit-ID: I8jPDVlUOvf

--HG--
extra : rebase_source : cb426a250946aa92172a077dc9ccf708304af846
2018-04-16 15:19:51 -07:00
Narcis Beleuzu 72df6941d4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-16 01:28:00 +03:00
Jim Chen 48885775a4 Bug 1452200 - 1b. Add template literal support to Log.jsm; r=markh
Make Log.jsm functions support tagged template literals. For example,
instead of |logger.debug("foo " + bar)| or |logger.debug(`foo ${bar}`)|,
you can now use |logger.debug `foo ${bar}`| (without parentheses).

Using tagged template literals has the benefit of less verbosity
compared to regular string concatenation, with the added benefit of
lazily-stringified parameters -- the parameters are only stringified
when logging is enabled, possibly saving from an expensive stringify
operation.

This patch also fixes a bug in BasicFormatter where consecutive tokens
are not formatted correctly (e.g. "${a}${b}").

MozReview-Commit-ID: 9kjLvpZF5ch

--HG--
extra : rebase_source : ccf4e9fae9fa9ea7581de82296035fcc736ca58e
2018-04-15 14:53:28 -04:00
Jim Chen 2eb44a3425 Bug 1452200 - 1a. Add AndroidAppender for Log.jsm; r=markh
Add an AndroidAppender that lets Log.jsm output to the Android logs,
using AndroidLog.jsm. Because the Android logging system keeps track of
the log metadata (time/level/name) separately from the log message, the
patch also adds a separate AndroidFormatter that does not prepend the
metadata to the log message itself.

MozReview-Commit-ID: C9oBbgVQOEc

--HG--
extra : rebase_source : eb1e8622b059ee45b574830426194ea35643b37c
2018-04-15 14:53:28 -04:00
Gurzau Raul bd326a2a6b Backed out 5 changesets (bug 1452200) for mochitest-chrome failures on Android on a CLOSED TREE
Backed out changeset ed07fb947b5e (bug 1452200)
Backed out changeset b03e9dc6ecd7 (bug 1452200)
Backed out changeset e4cdad2cd3d2 (bug 1452200)
Backed out changeset 8ac249bdc772 (bug 1452200)
Backed out changeset 225bb7ed5f71 (bug 1452200)
2018-04-15 09:19:04 +03:00
Kris Maglione 44ae2b5cde Bug 1420908: Remove telemetry experiments. r=gfritzsche
MozReview-Commit-ID: 6KEEZ6nKXrU

--HG--
extra : rebase_source : aeb2f66e7ffdba6ac438aaa3fee69b133d2fa2fd
extra : histedit_source : 15eaed2f9013357732660f8b63c28af13abbd870
2018-04-03 15:17:13 -07:00
Kris Maglione 28ea7cea29 Bug 1453123: Follow-up: Fix straggler CertUtils.jsm import. r=bustage DONTBUILD CLOSED TREE
MozReview-Commit-ID: ImCFeWh79wW

--HG--
extra : amend_source : cdde1dd862136f731d15dc5d78fc1a730a5260dd
2018-04-12 17:33:14 -07:00
Kris Maglione fa5af6622b Bug 1453123: Have CertUtils export a CertUtils object. r=rhelmer
MozReview-Commit-ID: 1XInmbNQ2wo

--HG--
extra : rebase_source : 11784a228a91a1b48eab9319e9c853802e060fc2
extra : amend_source : 7e067210dda9db2228f391e4d53de4d5d5f9a3f9
2018-04-10 13:23:35 -07:00
Tim Nguyen 041e5707e3 Bug 1449327 - Stop sanitizing fully transparent values. r=dao
MozReview-Commit-ID: DRQjCm35QsN

--HG--
extra : rebase_source : df6c4cfe8e936519f867a7d283cebfdfb566256b
2018-04-11 21:05:13 +02:00
Andreea Pavel 4114ad2cfc Merge mozilla-inbound to mozilla-central. a=merge 2018-04-11 17:36:09 +03:00
Nika Layzell b286bc10d9 Bug 1443379 - Stop pretending cacheKey can be anything other than uint32_t, r=smaug 2018-04-10 17:49:46 -04:00
Nika Layzell 4464c02334 Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz 2018-04-10 17:49:45 -04:00
Zibi Braniecki 68f40c33b0 Bug 1449505 - Migrate InlineSpellChecker.jsm to use mozIntl.getLocaleDisplayNames. r=jfkthame
MozReview-Commit-ID: JbvCQZrTtEZ

--HG--
extra : rebase_source : a1758bf7f4d09d4e12cb46614de23e34a2f3c482
2018-04-01 14:30:21 +02:00
Andreea Pavel fdfd625082 Backed out 9 changesets (bug 1449505) for failing xpcshell at browser/extensions/formautofill/test/unit/test_addressRecords.js on a CLOSED TREE
Backed out changeset e96c92f80c09 (bug 1449505)
Backed out changeset 760e4d29af7e (bug 1449505)
Backed out changeset e82c5152cc17 (bug 1449505)
Backed out changeset 07143ec143ae (bug 1449505)
Backed out changeset 75a7dee8e060 (bug 1449505)
Backed out changeset a58126ed4b3f (bug 1449505)
Backed out changeset f0b4429eedff (bug 1449505)
Backed out changeset 4bf3befa991d (bug 1449505)
Backed out changeset 398d8addfbd8 (bug 1449505)
2018-04-11 10:07:42 +03:00
Zibi Braniecki 283f11b86f Bug 1449505 - Migrate InlineSpellChecker.jsm to use mozIntl.getLocaleDisplayNames. r=jfkthame
MozReview-Commit-ID: JbvCQZrTtEZ

--HG--
extra : rebase_source : ef20608e7bfb84383e2e8f8d67c2989e0fe041b8
2018-04-01 14:30:21 +02:00
Coroiu Cristina 4f61ba5899 Backed out changeset 9d0fc1d12d9a (bug 1449327) for browser-chrome failures at toolkit/components/extensions/test/browser/browser_ext_themes_sanitization.js
--HG--
extra : rebase_source : 157263ac5ffebb19b14198e5f7927b0de91a12bb
2018-04-10 20:44:49 +03:00
Tim Nguyen 95f4ea3410 Bug 1449327 - Stop sanitizing fully transparent values. r=dao
MozReview-Commit-ID: JMtBYycoRMC

--HG--
extra : rebase_source : 2c02e44a464ce5d62ed21fce9d61d2921e7f5001
2018-03-31 13:57:09 +02:00
Csoregi Natalia 2b084713ed Merge inbound to mozilla-central. a=merge 2018-04-10 12:56:48 +03:00
Boris Zbarsky 77f8167eb3 Bug 1452185 part 2. Remove nsIDOMXULElement use in JS. r=qdot
MozReview-Commit-ID: 2JIybnXaudR
2018-04-09 16:30:32 -04:00
Ursula Sarracini 98fd9cb926 Bug 1452732 - Add date_added fields to different highlight types r=andreio
MozReview-Commit-ID: JY4HABQRJr4

--HG--
extra : rebase_source : f5bf036f889ebbf585a8bb9d2e5e4977f914569a
2018-04-09 15:33:18 -04:00
Gijs Kruitbosch 3929672b94 Bug 1371523 - remove find bar sync ipc message, r=mikedeboer
MozReview-Commit-ID: C0VO0U3UJ76

--HG--
extra : rebase_source : 4c29a0d740ff8b18dea35428a3f88ab5093ecc91
extra : source : cbf007a7027f20ecc1641ea9cc07e98817a49862
2018-03-21 17:10:40 +00:00
Narcis Beleuzu 58b4822076 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-05 01:09:42 +03:00
Kris Maglione 202290f6bb Bug 1451215: Run codespell on code. r=aswan
MozReview-Commit-ID: HIilZTKcQUY

--HG--
extra : rebase_source : 48ba4b4ac06f6d146ce81050da6c60b6f7c3fbfc
extra : amend_source : cba3e4c100a57889851eaaffff3696d1285655ea
2018-04-03 22:22:07 -07:00
Kirk Steuber 17077953e2 Bug 1429157 - Create an enterprise policy to prevent profile refreshes r=Felipe,Gijs
MozReview-Commit-ID: K7yxDm0H7eH

--HG--
extra : rebase_source : 200cd53aa37f41eeb85baaa78f93c70a80d18539
2018-03-28 09:44:07 -07:00
Ciure Andrei 5ffac2bcd3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-04 00:58:50 +03:00
Dão Gottwald 9b050d739e Bug 1450279 - Replace CAN_DRAW_IN_TITLEBAR with a run-time check. r=Gijs
MozReview-Commit-ID: Iedpcu5K74m

--HG--
extra : rebase_source : 3114680ab149c0005d191b2da650ac287d8105af
2018-03-30 17:36:01 +02:00
Shane Caraveo b0897b3378 Bug 1448599 - fix WebRequest events for redirected channels when onBeforeRedirect is not used, r=kmag
If any WebRequest listener *other* than onBeforeRedirect was used, and a channel was redirected,
the ChannelWrapper was not updated with the redirected channel.  This broke most listeners for
redirected channels and specifically an extension would never see events for the new channel.

MozReview-Commit-ID: BwXToTD5LEu

--HG--
extra : rebase_source : 866a7ee8e1f34b9710e28cfe21c13a848e08c0b5
2018-04-02 21:12:07 -05:00
Blake Kaplan 8f990783c1 Bug 1448200 - Handle the creation of the spellchecker more gracefully. r=Felipe
If the user right-clicks on an input field and that click causes us to create
a spellchecker, then it won't be initialized in time to show the context menu.
Handle that case more gracefully by passing that state up to the parent.

MozReview-Commit-ID: 1hjxloq2OLp

--HG--
extra : rebase_source : 861d7824132d44d52f5aedde11ea1ab383fc87b9
2018-03-30 16:15:11 -07:00
Peter Van der Beken 5e6f3328ec Bug 1448850 - Remove nsIMessageListener and nsIMessageListenerManager. r=bz.
--HG--
extra : rebase_source : 2938f6e1cb9078a6d45a8d58db0f6bf70e461b9c
2018-02-16 15:28:31 +01:00
Kit Cambridge f3b50c17fe Bug 1440116 - Add an `ObjectUtils.isEmpty` helper. r=markh
MozReview-Commit-ID: 1Y4XW3dKUPT

--HG--
extra : rebase_source : 9a46656c876c8081e17f15427166f7b2ad9ad879
2018-03-22 11:42:14 -07:00