Commit Graph

36803 Commits

Author SHA1 Message Date
Rob Wu
ca2c1cf947 Bug 1299411 - Pass port parameter to port.onMessage r=kmag
This should have been a part of bug 1298810, but that only set the
argument for native messaging ports, which does not use Port from
ExtensionUtils. The port parameter must also be included in runtime's
Port.onMessage to avoid regressions when the port implementations are
unified and native messaging starts using runtime's Port.

Note that starting from this commit, multiple onMessage listeners
receive the same (cloned) message instead of a new clone per listener.
This is a side effect of using `fire.withoutClone` instead of `fire`:
`fire` clones all parameters, but ports are not cloneable so we have
to use `fire.withoutClone` instead. This change with regards to message
cloning is fully compatible with Chrome's messaging API (which also
passes the same message object to all `port.onMessage` calls).

MozReview-Commit-ID: AUDuUKHkXCM

--HG--
extra : rebase_source : b91d701bba21f376935961a6eeb1a8489ac5591b
2016-09-24 11:34:26 +02:00
Rob Wu
5749ce4557 Bug 1299411 - Decouple Port implementation from API r=aswan
Decoupled the API from the implementation. From now on it is possible
to create Port instances without generating an API. This allows us to
internally use Ports to pass around messages with minimal overhead
(in the form of unnecessary clones of messages).
This will be used by native messaging.

This commit has no behavioral change, it is mostly moving around some
code and storing the internal message listener in a set.

MozReview-Commit-ID: 4h0LNJvTH9R

--HG--
extra : rebase_source : ef12309acc2060b9a2b2bc55be72b95d0f4f450e
2016-09-24 11:16:32 +02:00
Matthew Wein
20342b5f6c Bug 1252871 - Add support for runtime.onInstalled r=aswan
MozReview-Commit-ID: 3wDtv0g0BpO

--HG--
extra : rebase_source : 589f77f750d7d874cb8f1634590b944b366fb3a4
2016-10-19 10:38:29 +01:00
Matthew Wein
09fbf696c1 Bug 1252871 - Move promiseFindAddonUpdates to AddonTestUtils r=aswan
MozReview-Commit-ID: 9lmpuQSQWw1

--HG--
extra : rebase_source : e1ffd24d34875c1a9d0820a1beccd9223a4119a5
2016-09-26 10:49:05 -07:00
Matthew Wein
4b795c5eb5 Bug 1252871 - Move and sort methods imported from AddonTestUtils r=aswan
MozReview-Commit-ID: EvffSUxQkWQ

--HG--
extra : rebase_source : 1dbceece2aef7bf0743baac185a793a8c4bc6bd7
2016-09-26 10:36:51 -07:00
Phil Ringnalda
16acd6fa33 Merge m-c to autoland 2016-10-27 20:40:39 -07:00
Phil Ringnalda
445097654c Merge m-i to m-c, a=merge
MozReview-Commit-ID: 56Hspl8LZMY
2016-10-27 19:21:47 -07:00
Carsten "Tomcat" Book
a15991721b Merge mozilla-central to autoland 2016-10-27 16:50:00 +02:00
Carsten "Tomcat" Book
061b119bf8 Merge mozilla-central to mozilla-inbound 2016-10-27 16:46:06 +02:00
Carsten "Tomcat" Book
7d0f3d5865 merge mozilla-inbound to mozilla-central a=merge 2016-10-27 16:45:00 +02:00
Kate McKinley
9288d568fb Bug 1311893 - HSTS Priming timing telemetry r=ckerschb,francois p=francois
MozReview-Commit-ID: WKmlCqDOKT

--HG--
extra : rebase_source : e41defed5b737b780e8f1d6616517f1204775514
2016-10-26 14:36:44 +09:00
Phil Ringnalda
76f5d03bb6 Merge m-c to m-i
MozReview-Commit-ID: LUDPZ08eWBo
2016-10-26 18:58:54 -07:00
Phil Ringnalda
4012e61cc3 Merge m-i to m-c, a=merge
MozReview-Commit-ID: CysKZsvYf69
2016-10-26 18:40:50 -07:00
Jed Davis
13fea0b617 Bug 1268733 - Move sandbox telemetry / crash annotation code from mozsandbox to libxul. r=haik 2016-10-26 16:57:10 -06:00
Alessio Placitelli
32e51bca3b Bug 1304647 - Measure the number of total URIs visited in a "session fragment", without any filtering. r=gijs, data-review=rweiss
MozReview-Commit-ID: 8L18SKeeM7F
2016-10-18 01:58:00 +02:00
Ben Kelly
bffc547933 Bug 1303167 P5 Fix test that attempts to use setTimeout() during modal dialog. r=smaug 2016-10-26 10:20:16 -07:00
aleth
3393f980e5 Backed out changeset 028b297ddba4 (Bug 1311783) for eslint failures. rs=bustage-fix
--HG--
extra : rebase_source : 2b601136f1e3b28d11a7c47d29c5fc36f96366c0
extra : amend_source : 1fd328e51326cd1ac4cb670cbe93ef1160db2a24
2016-10-26 19:41:20 +02:00
Manuel Griessmayr
31a011d1d4 Bug 1311783 - Pretty print firefox -h. r=bsmedberg
--HG--
extra : amend_source : 0fa054832c397bcff54892a8eee357540db45df3
2016-10-20 11:51:00 +02:00
Aaron Klotz
bb3855e88a Bug 1310056: Part 1 - DllInterceptor improvements to support InSendMessageEx; r=m_kato
MozReview-Commit-ID: 2I1AHqKGfQi
2016-10-13 15:04:48 -06:00
stefanh@inbox.com
541bf95e7c Bug 637311 - Update charset menu before it's visible so the checkmark for current encoding is displayed on Mac the first time the menu is opened. r=Gijs. 2016-10-22 20:16:21 +02:00
Dão Gottwald
3f3fd64755 Bug 1164954 - Notify add-on listeners when adding a built-in theme that is supposed to be the selected theme. r=mossop 2016-10-26 18:25:16 +02:00
Georg Fritzsche
cea0812b0c Bug 1293318 - Always throttle environment changes and limit throttling to main pings. r=dexter 2016-09-27 10:45:31 +02:00
Thomas Nguyen
a3e4e0546b Bug 1164562 - Intermittent test_TelemetryController.js test timed out. r=dexter
MozReview-Commit-ID: 4KnTmvEyuFG
2016-10-26 18:33:22 +08:00
dimi
b21dcb43d7 Bug 1301269 - Fix update retry timer is released before firing. r=francois
MozReview-Commit-ID: KF1j2EFuxpa

--HG--
extra : rebase_source : 5c0a4d18d2fd4c6e615a975573d194344bba832c
2016-10-21 14:40:11 +08:00
Phil Ringnalda
d41a1c1da4 Merge m-c to autoland 2016-10-26 18:57:56 -07:00
Chris AtLee
d76d832b94 Bug 1303184 - Add exception list to find-dupes, and error out when unexpected dupes are detected; r=gps
MozReview-Commit-ID: JRRnj6Kw1s4

--HG--
extra : rebase_source : fb1deeb821d143f4e2998c079197ba06febad54b
extra : amend_source : 55720372bd036c7310f8719d229fc7657e522095
2016-10-26 17:00:07 -07:00
Kan-Ru Chen
7c1c963ca5 Bug 1301346 - Add telemetry to collect how much time was spent in handling beforeunload and unload event. r=bsmedberg,smaug
MozReview-Commit-ID: 3jCsBcDncGC

--HG--
extra : rebase_source : b382dbf89483b9aee6c1a205bfc7b20cca18af85
2016-09-09 12:06:36 +08:00
Eitan Isaacson
14a2b3bc99 Bug 1308030 - Add telemetry probes to narrate. r=bsmedberg,Gijs, data-review=bsmedberg
Added 2 probes:
1. Breakup by language of initilizations and available voice support for that language.
2. Speak time of narrate.

MozReview-Commit-ID: AGD8nON2m7N

--HG--
extra : rebase_source : 2bbd483bf48b92e290e726cea4f16c6ff5155b58
2016-10-14 16:49:57 -07:00
Kit Cambridge
f8747ad476 Bug 1312857 - Pass the correct change sources in getOrCreateTagFolder and importJSONNode. r=markh
MozReview-Commit-ID: Gga9kiC3AxK

--HG--
extra : rebase_source : 0b07551617c277aeaec619d0a4432874fc77e9ec
2016-10-25 11:39:56 -07:00
Sebastian Hengst
7e75e60f1f Backed out changeset 6a904e8a06a7 (bug 1272890) for timing out in test_ext_tab_teardown.html. r=backout 2016-10-26 19:01:38 +02:00
Tomislav Jovanovic
204e680596 bug 1247793 - Implement download() options: method, headers and body, r=aswan
MozReview-Commit-ID: 2muhcweY8Fo

--HG--
extra : rebase_source : 30f0aabce48717caa963610c2fcf831a0b890702
2016-10-22 12:06:22 +02:00
Carsten "Tomcat" Book
9031c83f32 Merge mozilla-central to autoland 2016-10-26 17:14:27 +02:00
Henry Chang
45d5eda33b Bug 1312323 - Consider the "single encoded value" case and bubble the decoding error up. r=francois.
MozReview-Commit-ID: 1GNFkMQ1JoD
2016-10-26 10:03:49 +08:00
Tomislav Jovanovic
47aa3f8372 bug 1272890 - implement match_about_blank for content scripts r=kmag
MozReview-Commit-ID: 3iZLpUw5LF4

--HG--
extra : rebase_source : d520a13211584af096f68cd0a2cfec022a72e413
2016-10-12 05:48:04 +02:00
Phil Ringnalda
0a5faee022 Merge m-c to autoland 2016-10-25 22:08:13 -07:00
Phil Ringnalda
8cf1367dd8 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FnnOWQ3xKPi
2016-10-25 22:03:31 -07:00
Carsten "Tomcat" Book
31bdfd3ad3 Merge mozilla-central to mozilla-inbound
--HG--
rename : gfx/skia/skia/src/animator/SkCondensedDebug.cpp => gfx/skia/skia/src/animator/SkCondensedDebug.inc
rename : gfx/skia/skia/src/animator/SkCondensedRelease.cpp => gfx/skia/skia/src/animator/SkCondensedRelease.inc
2016-10-25 10:46:44 +02:00
Carsten "Tomcat" Book
59a29b8b1c merge mozilla-inbound to mozilla-central a=merge 2016-10-25 10:31:03 +02:00
Eric Rahm
c15406fea3 Bug 1312143 - Delete toolkit/obsolete. r=John-Galt
This removes the obsolete toolkit directory. A few references to dialogOverlay
have been updated to just used <dialog> directly. The InlineSpellCheckerUI var
has also been moved directly to browser.js and defined as lazy getter.

MozReview-Commit-ID: JZfi0W2wqCL
2016-10-24 18:23:24 -07:00
Wes Kocher
e636b54dfb Backed out changeset 2849f953881f (bug 1311189) for mochitest-5 failures a=backout 2016-10-24 16:49:55 -07:00
Stephen A Pohl
872ca624a7 Bug 1183037: Ensure that autocomplete popups can be displayed again after being dismissed the first time. r=mconley 2016-10-24 11:46:16 -04:00
Carsten "Tomcat" Book
b9e15ec151 Merge mozilla-central to mozilla-inbound 2016-10-24 16:56:37 +02:00
Mike Conley
3030fff48c Bug 1311189 - Put back the separator between form history and datalist entries in the autocomplete popup. r=MattN
MozReview-Commit-ID: 2lRauTr9EQA

--HG--
extra : rebase_source : 5364489af1e9647927756eae09d4512f24f57101
2016-10-19 13:55:06 -04:00
Mark Hammond
35966d2893 Bug 1312642 - PlacesSyncUtils should pass SOURCE_SYNC to PlacesUtils.bookmarks.reorder. r=kitcambridge
MozReview-Commit-ID: 4EsnU7LSWDG

--HG--
extra : rebase_source : 6c82b86c4098e4276e110aa481863c648c67ecc8
2016-10-25 13:47:33 +11:00
Rob Wu
7583495789 Bug 1287007 - Work-around for test failure in test_ext_cookies.html r=billm
There is a timing-sensitive bug in window.create and/or cookies API.
I haven't figured out the exact details, but created a minimal
test case and reported it at bugzil.la/1309637

Without this patch, the test will fail as described in that bug report.

MozReview-Commit-ID: DiJOao8h8Q7

--HG--
extra : rebase_source : 6a24f2570799cf113e544c68ef3d69645991e4a3
2016-10-12 19:13:46 +02:00
Ton
db0e472002 Bug 1309297 - Change "Show Folder" to "Open Folder" (about:profiles) in Windows. r=mossop
--HG--
extra : rebase_source : 9d3c21e25b49f7b112a03ec575840bccafb07d40
2016-10-11 19:36:33 +02:00
Jessica Jong
e732e68921 Bug 1310076 - Add 'datetime-local' to the list of valid types attributes for <input>. r=smaug 2016-10-24 03:35:00 +02:00
Tomislav Jovanovic
1975d67b88 bug 915036 - Implement DownloadSource.adjustChannel callback to support POST requests r=Paolo
MozReview-Commit-ID: 1RplqGhjtn6

--HG--
extra : rebase_source : 72c1300be889a61740cf6eca9c9e21fb979504a7
2016-10-21 15:54:18 +02:00
Ryan VanderMeulen
a57d15ff6a Merge inbound to m-c. a=merge 2016-10-23 13:16:27 -04:00
Valentin Gosu
db9440de51 Bug 1305204 - (Part 2) Backout bug 1275746 a=backout
MozReview-Commit-ID: H8aCKdJzEbR
2016-10-23 14:24:45 +02:00