Commit Graph

35589 Commits

Author SHA1 Message Date
Rob Wu
a3c3c29726 Bug 1295082 - Minor fixups for experimental WebExtensions APIs r=kmag
- Remove unused registerAPI and registerPrivilegedAPI
- Generate the APIs just once.
- Fix typo in addon ID.

MozReview-Commit-ID: rdiiIxHMsm

--HG--
extra : rebase_source : 080d9b6de6fc2f256d953b5266a2c36ee9e56205
2016-08-16 14:31:28 -07:00
Rob Wu
62ec179344 Bug 1295082 - BaseContext.extensionId -> BaseContext.extension.id r=kmag
MozReview-Commit-ID: 2tFVUwjyJQu

--HG--
extra : rebase_source : 7091f5f8f52b158912fb503626a20d82db2142f8
2016-08-16 14:29:52 -07:00
Rob Wu
dfc11d6f00 Bug 1295082 - Put Extension in BaseContext r=kmag
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.

And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.

MozReview-Commit-ID: BgsGGCPQxJR

--HG--
extra : rebase_source : 9a85d95f0c147198938b86c57127f6e7403fd53c
2016-08-15 01:04:58 -07:00
Rob Wu
0077f92ec3 Bug 1295473 - Fix return type of {tabs,runtime}.sendMessage r=billm
The tabs.sendMessage and runtime.sendMessage implementations behave like
an async function: They take a callback parameter and return a promise.
So they should be handled by |callAsyncFunction|, not
|callFunctionNoReturn|.

This fixes the issue for background pages, but not for content scripts
because sendMessage is not implemented as a schema at the moment. This
will also be fixed once content script APIs are generated via Schemas.

MozReview-Commit-ID: 9p1hvOP0KSm

--HG--
extra : rebase_source : 7fc804e52184d59cc1dae2f299c644ed13d8a3c7
2016-08-15 23:53:24 -07:00
Wes Kocher
66098b3d43 Merge m-c to autoland, a=merge 2016-08-17 17:25:57 -07:00
Wes Kocher
ae78ab94fa Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Wes Kocher
07f8858bf6 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07:00
Wes Kocher
8738cfff5d Backed out 7 changesets (bug 1289549) for functional UI failures a=backout
Backed out changeset 32ff5490a900 (bug 1289549)
Backed out changeset 0a62241f9774 (bug 1289549)
Backed out changeset b6e3d77671f7 (bug 1289549)
Backed out changeset 506846cb7c35 (bug 1289549)
Backed out changeset efdb25f69c2c (bug 1289549)
Backed out changeset 6f8b50b7a92a (bug 1289549)
Backed out changeset 1c61346368e5 (bug 1289549)

--HG--
rename : browser/modules/SocialService.jsm => toolkit/components/social/SocialService.jsm
rename : browser/modules/test/unit/social/test_SocialService.js => toolkit/components/social/test/xpcshell/test_SocialService.js
rename : browser/modules/test/unit/social/test_SocialServiceMigration21.js => toolkit/components/social/test/xpcshell/test_SocialServiceMigration21.js
rename : browser/modules/test/unit/social/test_SocialServiceMigration22.js => toolkit/components/social/test/xpcshell/test_SocialServiceMigration22.js
rename : browser/modules/test/unit/social/test_SocialServiceMigration29.js => toolkit/components/social/test/xpcshell/test_SocialServiceMigration29.js
2016-08-17 09:18:14 -07:00
Wes Kocher
65dd7b1d3c Backed out changeset d0ba9997681a (bug 1283116) for android xpcshell failures a=backout 2016-08-17 16:00:47 -07:00
Bob Silverberg
1075768ad9 Bug 1283116 - Implement chrome.management.getSelf, r=kmag
MozReview-Commit-ID: Bj9ZyF1meED

--HG--
extra : rebase_source : 86be57023640ef43d40f33f2fd604d3f39178da8
extra : source : aa58e53b263c0c74c7bca57d861c904d12d59698
2016-08-17 17:03:39 -04:00
Wes Kocher
f90f3d11fd Merge m-c to fx-team, a=merge
a=release for the webidl hook due to comment-only changes

--HG--
extra : amend_source : d988a8a774085539988d1d964c4beb2d07eecb50
2016-08-16 22:09:34 -07:00
Wes Kocher
48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Wes Kocher
073e095b66 Merge fx-team to central, a=merge CLOSED TREE 2016-08-16 16:37:28 -07:00
Sebastian Hengst
8505f067f2 Backed out changeset bc160abe215b (bug 1282070) for docshell leakage in browser_visibleFindSelection.js. r=backout 2016-08-16 16:05:45 +02:00
Jared Wein
ea0b3d77bc Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: GDfvwWRLNm5
2016-08-16 21:27:37 -04:00
Sebastian Hengst
c66c2fee3a Backed out changeset 7914e9dc6f88 (bug 1294542) for xpcshell failure in test_Log.js. r=backout 2016-08-17 01:24:58 +02:00
Shane Caraveo
ed35ca6be4 Bug 1289549 P3 socialapi move toolkit component to browser, r=florian
MozReview-Commit-ID: JosyCE9HAac

--HG--
rename : toolkit/components/social/SocialService.jsm => browser/modules/SocialService.jsm
rename : toolkit/components/social/test/xpcshell/test_SocialService.js => browser/modules/test/unit/social/test_SocialService.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration21.js => browser/modules/test/unit/social/test_SocialServiceMigration21.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration22.js => browser/modules/test/unit/social/test_SocialServiceMigration22.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration29.js => browser/modules/test/unit/social/test_SocialServiceMigration29.js
2016-08-16 14:34:06 -07:00
Shane Caraveo
b5de53e87a Bug 1289549 P2 socialapi remove sidebar and chat, r=florian
MozReview-Commit-ID: GUqJRtp4QlJ
2016-08-16 14:34:06 -07:00
Shane Caraveo
cc1f7d742e Bug 1289549 P1 socialapi remove status and marks, r=florian
MozReview-Commit-ID: KKvTZaeTU69
2016-08-16 14:34:05 -07:00
Jared Wein
f038f5ea4c Bug 1291839 - Change the Narrate input[type=range] to use 'change' events instead of 'input' events because we are not interested in intermediate values of the slider. r=eeejay
* * *
[mq]: temp

MozReview-Commit-ID: JpGbdSonDTD
2016-08-16 15:44:15 -04:00
Jared Wein
2794558914 Bug 1294545 - Enable the arrow-spacing rule for eslint. r=felipe
MozReview-Commit-ID: L4Qwpoukz8R
2016-08-16 15:44:15 -04:00
Jared Wein
e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Jared Wein
8ba24fd3a9 Bug 1294618 - Enable the computed-property-spacing rule for eslint. r=felipe
MozReview-Commit-ID: IaN54BFBksA
2016-08-16 15:44:14 -04:00
Jared Wein
b82aa6f6de Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: AAXqh63QNv3
2016-08-16 15:44:13 -04:00
Wes Kocher
e9556c03b7 Backed out changeset af4cc6c04573 (bug 1282070) for failures in test_bug263683.xul CLOSED TREE 2016-08-16 11:58:33 -07:00
Mike de Boer
f4c829a76c Bug 1282070 - repaint the modal highlight mask when the page resizes or changes size due to added/ removed content. r=jaws
MozReview-Commit-ID: JrTOarWMEQQ
2016-08-16 18:01:19 +02:00
Rob Wu
65acb9a681 Bug 1290157 - Always pass an array to tabs.executeScript on success r=kmag
MozReview-Commit-ID: Ctw8RUtfEZC

--HG--
extra : rebase_source : 7f76c1c99b5948463e5bfa0f7270fe50f6e95a88
2016-08-09 00:28:47 -07:00
Rob Wu
0765167097 Bug 1287626,1288279 - Make IDs unique across processes r=billm
MozReview-Commit-ID: 78xgt8wqbng

--HG--
extra : rebase_source : 2f88ba3d4c8198038f2ce3f849bad2baca48df4a
2016-08-10 16:23:56 -07:00
Rob Wu
a342c4d816 Bug 1287626 - Add globally unique nsIXULAppinfo.uniqueProcessID r=billm
MozReview-Commit-ID: 3bcW1CjTpjT

--HG--
extra : rebase_source : fdde98684957139e412c5f664ebeab655fee883d
2016-08-10 16:07:40 -07:00
Jessica Jong
5a9b39d967 Bug 1278738 - Add 'week' to the list of valid types attributes for <input>. r=smaug 2016-08-15 23:15:00 -04:00
Mike de Boer
010418133a Bug 1282070 - repaint the modal highlight mask when the page resizes or changes size due to added/ removed content. r=jaws
MozReview-Commit-ID: JKzUehP4pyP
2016-08-16 12:16:29 +02:00
Mike de Boer
e557b7eff0 Bug 1294644 - prevent drawing the rectangles all too often when modal highlighting is off and make sure to restore the outline of found links and the highlight color of the currentle highlighted occurrence. r=jaws
Many thanks to Tooru Fujisawa [:arai] for helping write this patch and testing it.

MozReview-Commit-ID: BxAd3WdqUXU
2016-08-16 11:25:56 +02:00
Wes Kocher
fee75658b6 Merge m-c to fx-team a=merge CLOSED TREE 2016-08-15 15:04:43 -07:00
Wes Kocher
03b3c20a6e Merge fx-team to central, a=merge 2016-08-15 14:49:11 -07:00
Wes Kocher
257350ce3a Backed out changeset a11a0035c85e (bug 1281884) for Windows VM xpcshell failures a=backout 2016-08-15 14:43:13 -07:00
Wes Kocher
d602abb016 Merge inbound to central, a=merge 2016-08-15 14:20:38 -07:00
Igor
175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor
a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Sebastian Hengst
8c843b1739 merge mozilla-central to fx-team. r=merge a=merge 2016-08-13 13:53:42 +02:00
Sebastian Hengst
9ec085584d Backed out changeset 0c4f81bc2b52 (bug 1252224) for permafailing in browser_ext_browserAction_popup_resize.js on Linux after merge to mozilla-central. r=backout a=backout
MozReview-Commit-ID: KUARkl7QxB7
2016-08-13 13:27:15 +02:00
Wes Kocher
0fe7a92d47 Merge m-c to fx-team a=merge 2016-08-12 16:39:13 -07:00
Wes Kocher
b44cee8b2a Merge fx-team to central, a=merge CLOSED TREE 2016-08-12 14:37:49 -07:00
Wes Kocher
e9097643d5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
Paolo Amadini
afecf17f56 Bug 1294619 - Update jsdownloads code to enable the no-ex-assign rule for ESLint. r=jaws
MozReview-Commit-ID: DiFGriLUdQq
2016-08-12 11:52:29 -04:00
Jared Wein
d3e296107e Bug 1294621 - Enable the no-lonely-if rule for eslint. r=gijs
MozReview-Commit-ID: 8izEqc8IyCu
2016-08-12 11:50:35 -04:00
Florian Quèze
d99b80b960 Bug 1294680 - instrument the 'Settings page' button, r=past. 2016-08-12 16:16:41 +02:00
J. Ryan Stinnett
67d38931a7 Bug 1250171 - Remove *_PER_USER_FLAG probes from DevTools. r=clarkbw
MozReview-Commit-ID: 2nZxPYrKKai
2016-08-12 06:24:14 -05:00
Dave Townsend
958533ac14 Bug 1294483: Centralise where we check for correct signing state and make the checks more obvious. r=rhelmer
--HG--
extra : rebase_source : eb94721a22ffbb1b70ef614f9585595eb60ec72f
extra : amend_source : 724a557eda6b1663caa961fa745e80a7ab98ec6f
2016-08-11 11:45:06 -07:00
Drew Willcoxon
c1331f5412 Bug 1294509 - Enable browser_thumbnails_bg_crash_during_capture.js on e10s. r=markh
MozReview-Commit-ID: 6cVbhXWdS0X
2016-08-11 20:12:38 -07:00
Jared Wein
8d45b8762e Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx

--HG--
extra : rebase_source : 330d512f91d840a47e48f39c21d70d13b2953d2d
2016-08-13 21:58:42 -04:00