45030 Commits

Author SHA1 Message Date
Tiberius Oros
797c93d81f Merge inbound to mozilla-central r=merge a=merge 2017-11-21 11:55:23 +02:00
Nika Layzell
a7666fd8fe Bug 1418048 - Add a callback-based Send API to async returning IPDL methods, r=billm
Currently if you write an async IPDL method which has a return value, we expose
a SendXXX method which returns a MozPromise. This MozPromise can then be
->Then-ed to run code when it is resolved or rejected.

Unfortunately, using this API loses ordering guarantees which IPDL provides.
MozPromise::Then takes an event target, which the resolve runnable is dispatched
to. This means that the resolve callback's code doesn't have any ordering
guarantees relative to the processing of other IPC messages coming over the same
protocol.

This adds a new overload to SendXXX with two additional arguments, a lambda
callback which is called if the call succeeds, and a lambda callback which is
called if the call fails. These will be called in order with other IPC messages
sent over the same protocol.

MozReview-Commit-ID: FZHJJaSDoZy
2017-11-20 17:55:32 -05:00
Brindusan Cristian
334a5602dc Merge mozilla-central to inbound r=merge a=merge on a CLOSED TREE 2017-11-21 00:29:02 +02:00
Cosmin Sabou
fdc83a94aa Merge inbound to mozilla-central r=merge a=merge 2017-11-21 00:01:02 +02:00
Mats Palmgren
4832d1fbb4 Bug 1418782 - Fix a compilation error with --disable-dbus. r=stransky
MozReview-Commit-ID: GB7NtVqTeKM
2017-11-20 21:02:17 +01:00
Tooru Fujisawa
50f5bf47cd Bug 1418739 - Part 2: Remove unused delayedStartup parameter from BrowserTestUtils.waitForNewWindow. r=smaug 2017-11-21 03:41:56 +09:00
Tooru Fujisawa
7f67b178a5 Bug 1388325 - Stop getting telemetry for deprecated feature in addons (JS_DEPRECATED_LANGUAGE_EXTENSIONS_IN_ADDONS) r=jandem 2017-11-21 03:41:56 +09:00
Brian Grinstead
5f270e061f Bug 1418494 - Flatten menucaption-inmenulist into menucaption;r=mconley
The only time menucaptions are created are for optgroups, and they
always get instantiated as menucaption-inmenulist. Flatten the
inheritance here to get rid of a binding.

MozReview-Commit-ID: KWzor0QDdma

--HG--
extra : rebase_source : a87ea48a4c6815ec6bdb53925283a9c1ed89f5a2
2017-11-20 10:05:35 -08:00
Ted Mielczarek
6110b6707e bug 1409721 - move crashreporter.ini and crashreporter-override.ini to moz.build LOCALIZED_FILES. r=nalexander
The additional `ifndef IS_LANGPACK` Makefile bits turned out to be unnecessary,
as langpack packaging excludes ini files:
https://dxr.mozilla.org/mozilla-central/rev/20d57b9c4183973af4af5e078dff2aec0b74f928/toolkit/locales/l10n.mk#220

We already don't have this wrapping around updater.ini so it doesn't seem
harmful.

MozReview-Commit-ID: 7kmg1AIVLcl

--HG--
extra : rebase_source : d0ea61865ad0b07054b894335f9266f19c1495f5
extra : source : 0e485a8fdc3f45ae4cdad75e010765fb48aa20c4
2017-11-13 15:58:09 -05:00
Joel Maher
2430b67014 Bug 1339326 - Disable toolkit/content/tests/chrome/test_bug331215.xul on windows debug for frequent failures. r=me, a=testonly 2017-11-20 10:55:30 -05:00
Paul Bone
d9f3623f07 Bug 1412729 (part 4) - Attempt to reduce the size of GCMajor markers r=sfink
--HG--
extra : rebase_source : b1076c58337d3153bfdb27783719ef304ca75590
2017-11-10 23:19:04 +11:00
Paul Bone
f97c230bc8 Bug 1412729 (part 3) - Reduce the size of GCSlice markers r=sfink
--HG--
extra : rebase_source : c9a479b96b32827e756d50d53979352e5306e811
2017-11-12 13:52:40 +11:00
Paul Bone
f440b0a85d Bug 1412729 (part 1) - Update out-of-date comments r=gfritzsche
--HG--
extra : rebase_source : 2757a7c13cb54ce38dc9ab52ef4f025bc3e4f463
2017-11-10 23:42:04 +11:00
Sebastian Hengst
bd79ca1aa9 Backed out changeset bdec8ddab580 (bug 1418522) for eslint failure at toolkit/content/aboutwebrtc/aboutWebrtc.js:756:37 | Extra space after computed key 'cand.type'. r=backout on a CLOSED TREE 2017-11-20 20:35:26 +02:00
Michael Froman
c2e26bbd5f Bug 1418522 - fix unmatched ICE candidate handling on about:webrtc. r=ng
MozReview-Commit-ID: 4cbxgJw9xIF

--HG--
extra : rebase_source : 55c9811e397404690a7a416ff80671aa89daba43
2017-11-17 17:08:00 -06:00
Bob Silverberg
630fa30c9d Bug 1418311 - Avoid overwriting the notifications map in different contexts, r=mixedpuppy
Prior to this patch, the map that holds the list of notifications for an extension was recreated
for each context. This fixes that issue and maintains a list for the extension across all
contexts.

MozReview-Commit-ID: 2wfABoyyqvF

--HG--
extra : rebase_source : f62e4ceaf9ecd63c2502019f1a04a4314e6d3e58
2017-11-17 11:42:04 -05:00
Gijs Kruitbosch
59ffe6e6ca Bug 1408044 - fix miscellaneous tests that depended on about: existing, r=dao
MozReview-Commit-ID: EKsaFbRoBc4

--HG--
extra : rebase_source : 3c22ed909437a7fa98e2126b4eb8b9c669f98173
2017-11-15 17:19:33 +00:00
Gijs Kruitbosch
ba009dae2f Bug 1408044 - remove the 'about:' page from toolkit, r=dao
MozReview-Commit-ID: 8qNBcCYWxhe

--HG--
extra : rebase_source : 7fbd316235899cbd340c53ea2111b020eff941d4
2017-11-16 17:16:12 +00:00
Martin Stransky
b9fe37f77f Bug 1418985 - pass valid error parameter to dbus_bus_get() instead of nullptr, jhorak r=jhorak
MozReview-Commit-ID: 2pjjSSd7DOI

--HG--
extra : rebase_source : 3be6a3f1c8a089513ddb56f0d2b062c97ebe3976
2017-11-20 15:33:52 +01:00
Martin Stransky
8096ccea06 Bug 1418985 - pass valid error parameter to dbus_bus_request_name() instead of nullptr, r=jhorak
MozReview-Commit-ID: 4Gv517107zt

--HG--
extra : rebase_source : 72c948b9fea31cfd77be09abd2241f2c8a9a6441
2017-11-20 15:24:11 +01:00
Mark Banner
a34654023f Bug 1417940 - Change various instances of manually calling getService to use Services.jsm in toolkit/. r=mossop
MozReview-Commit-ID: 8eEhjFZc4mT

--HG--
extra : rebase_source : 10341495d85dae45f2efbe3af6ad11b0c0214104
2017-11-09 16:36:57 +00:00
Noemi Erli
e90c67896c Backed out 3 changesets (bug 1406253)for build bustage in dom/base/nsCopySupport.cpp r=backout on a CLOSED TREE
Backed out changeset 284f3cc2880c (bug 1406253)
Backed out changeset aecb3d509a39 (bug 1406253)
Backed out changeset 9ce01198e8a1 (bug 1406253)
2017-11-20 13:34:29 +02:00
Samael Wang
ef3c08ceb1 Bug 1406253 - Part 3: use currentRequstFinalURI in context menu and add a test case. r=dao
If the image request gets redirect on loading, HTMLImageElement.currentURI
(which corresponds to nsIImageLoadingContent.currentURI) would return the
original URI before redirect, making "Save Image" in the context menu use
incorrect URI and filename. Use currentRequestFinalURI instead to get
redirected URI.

MozReview-Commit-ID: Bd7Q36sH93b

--HG--
extra : rebase_source : b88ccf98bc2a41aac007d79060424eaa2c2aca88
2017-11-14 19:19:27 +08:00
Scott Wu
bb68b625f9 Bug 1413162 - Set width to manageAddresses and manageCreditCards dialogs and move button styles to common stylesheets. r=flod,jaws,lchang
Increased the dialog width and align html button styles with XUL button styles (padding, min-width) in common stylesheets.

MozReview-Commit-ID: Czzu0Ar6JfP

--HG--
extra : rebase_source : 3f9206ac21f0b533952c0ad5c898cfdf0e3a23ea
2017-11-13 18:36:35 +08:00
Robert Helmer
56ca69de9d Bug 1389341 - start generating jsdoc for AddonManager API r=kmag
MozReview-Commit-ID: IpREaXBIMbq

--HG--
extra : rebase_source : 83fa1b40a52f890b25bbf477bef2aaf146f77098
2017-09-14 13:18:11 -07:00
Axel Hecht
7245bd41b2 bug 1385227, use proper make steps to put l10n repacks in sequence, r=gps
This drops the abuse of make dependencies to factor our steps
in l10n repacks and language packs.
It's replaced with clobbers, libs, and the packaging, which
can be shared between installers and the language pack.

MozReview-Commit-ID: 2vEHp0QogXQ

--HG--
extra : rebase_source : c14f0b17904f8f9e0e3f004384c2a292ceeafe4f
extra : source : e95f8bd7b5190bf1d3fae75a88a15ebbe6613809
2017-08-04 17:19:12 +02:00
Brindusan Cristian
9bd6ed7630 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : 4c68fb1a967a7c1b64e9779851573eb29a412908
2017-11-21 00:24:13 +02:00
Michael Froman
3a94937146 Bug 1418522 - fix unmatched ICE candidate handling on about:webrtc. r=ng
MozReview-Commit-ID: 4cbxgJw9xIF

--HG--
extra : rebase_source : 10039e072c2026c1d06528ef13352f6daa3dcac5
2017-11-17 17:08:00 -06:00
Brian Grinstead
2eba517f00 Bug 1416372 - Remove line line:col display in separate view source windows;r=jryans
This is the only consumer of <statusbar> and <statusbarpanel> in m-c, and isn't visible
without changing the view_source.tab pref.

MozReview-Commit-ID: 60VbsnBEkcK

--HG--
extra : rebase_source : 938942e80b6116f339afd7d550154e95dc667a03
2017-11-20 10:40:33 -08:00
Luca Greco
60c56aed5c Bug 1332273 - Support programmatically registered content scripts. r=baku,kmag
MozReview-Commit-ID: BiWlyYV7ZvB

--HG--
extra : rebase_source : 25249cef5853c147cb7c76cbc7d49656c549e94c
2017-11-03 17:01:58 +01:00
Dan Banner
b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Sebastian Hengst
c9214daa09 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-18 11:58:58 +02:00
Lucius Q. User
95d6b1b58e Bug 1414020 - Remove the "searchbar-treebody" binding and instead migrate the behavior to an attribute on "autocomplete-treebody". r=adw 2017-11-16 11:06:58 +03:00
Sebastian Hengst
5893f9f792 Backed out changeset 0e485a8fdc3f (bug 1409721) 2017-11-17 17:56:11 +02:00
Ted Mielczarek
39a3cc18ee bug 1409721 - move crashreporter.ini and crashreporter-override.ini to moz.build LOCALIZED_FILES. r=nalexander
The additional `ifndef IS_LANGPACK` Makefile bits turned out to be unnecessary,
as langpack packaging excludes ini files:
https://dxr.mozilla.org/mozilla-central/rev/20d57b9c4183973af4af5e078dff2aec0b74f928/toolkit/locales/l10n.mk#220

We already don't have this wrapping around updater.ini so it doesn't seem
harmful.

MozReview-Commit-ID: 7kmg1AIVLcl

--HG--
extra : rebase_source : 91e6a3df1d0ddc9da360efd51b0de3d4d5eba5ae
2017-11-13 15:58:09 -05:00
André Bargull
027f71e3dd Bug 1418026: Remove unused code from js/src/frontend. r=jandem 2017-11-16 11:17:04 -08:00
Florian Quèze
db57a79267 Bug 1405670 - remove tests for search-metadata.json migration, r=adw. 2017-11-17 12:06:06 +01:00
Florian Quèze
d622df7dce Bug 1405670 - fix search service tests relying on dropping .xml files in the profile folder, r=adw. 2017-11-17 12:05:47 +01:00
Florian Quèze
97356e430c Bug 1405670 - stop importing old search metadata from search-metadata.json, r=adw. 2017-11-17 12:04:44 +01:00
Florian Quèze
229e50d560 Bug 1405670 - stop saving the last modification date of directories we loaded engines from, r=adw. 2017-11-17 12:04:27 +01:00
Florian Quèze
47b9babf07 Bug 1405670 - stop importing old search plugins from <profile>/searchplugins/*.xml when the cache file is missing, r=adw. 2017-11-17 12:03:52 +01:00
Ciure Andrei
0792c2eee8 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-17 12:11:30 +02:00
Ciure Andrei
92d28bd8f2 Merge inbound to mozilla-central r=merge a=merge 2017-11-17 11:59:03 +02:00
Marco Castelluccio
14e0c2e19f Bug 1417289 - Disable failing part of TestDllInterceptor on code coverage builds. r=dmajor
--HG--
extra : rebase_source : 1a87e7832da133ae74bd201bdfe9327923941dcf
2017-11-17 10:32:50 +01:00
Tim Nguyen
3adfb3eca6 Bug 1415878 - Accept both Chrome arrays and CSS colors for all properties. r=jaws
MozReview-Commit-ID: 6NkIUZKWkBI

--HG--
extra : rebase_source : 9f333c76bd3d9b321851129b0cb815686753fe82
2017-11-16 12:40:53 +00:00
Michael Froman
cb81178b8a Bug 1414167 - Add offer/answer labels to local and remote sdp headings on about:webrtc. r=drno,smaug
Add a new |offerer| field to RTCStatsReport.
Based on offerer, label the local sdp as offer or answer.
Based on offerer, label the remote sdp as offer or answer.

MozReview-Commit-ID: 4jdWP8tpr9w

--HG--
extra : rebase_source : 5724645ef8e39c2af0c5fccf7d7872ee2cb437b5
2017-11-15 13:40:09 -06:00
Brian Grinstead
b07600fb90 Bug 1416368 - Remove unreferenced "statusbarpanel-text" class;r=dao
MozReview-Commit-ID: DsNpoB81O40

--HG--
extra : rebase_source : 4c561833a48d3f3e2fd2259ae25566cc0b5a60e1
2017-11-10 14:53:40 -08:00
Brian Grinstead
0ed4d8d06c Bug 1416368 - Remove unused statusbarpanel-* bindings;r=dao
MozReview-Commit-ID: I6QKxP6joag

--HG--
extra : rebase_source : 0a78abfaa63e969c41656fb2b7957dc9e959bc8b
2017-11-10 14:48:34 -08:00
Aditya Bharti
db731a5843 Bug 1414688 - Fix about:telemetry page in RTL locales opens JSON viewer. r=chutten
In RTL locales, the about:telemetry page opened a JSON viewer window because hgram.buckets.reverse()
was being called in RTL mode. Since a refactor tracked in bug 1122480, histograms no longer have a 'buckets' field.
Removing the call to hgram.buckets fixed this bug.
2017-11-16 21:42:03 +05:30
Bill McCloskey
794104b1e1 Bug 1413738 - Mozsearch clang plugin (r=mystor)
MozReview-Commit-ID: 53zUQ0vDMpd
2017-11-16 15:06:32 -08:00