Commit Graph

238 Commits

Author SHA1 Message Date
Rob Wu
b52f567545 Bug 1286746 - Invoke sendMessage callback even if there are no listeners. r=kmag
MozReview-Commit-ID: HLIC3ZRcwRm
2016-07-14 20:34:40 -07:00
Rob Wu
80b02f6ee0 Bug 1286746 - Invoke port.onDisconnect if there are no onConnect listeners. r=kmag
MozReview-Commit-ID: DPs36oFm25J
2016-07-15 17:46:00 -07:00
Kris Maglione
56e8cb638f Bug 1274775 - Make sure background pages are created with a PresShell. r=billm
MozReview-Commit-ID: GLWg5aK47g5
2016-07-24 15:09:07 -07:00
Carsten "Tomcat" Book
9265f02f72 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Till Schneidereit
e393dab409 Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02:00
Rob Wu
e19087ccc7 Bug 1287245 - Ensure globally unique internal port IDs r=billm
MozReview-Commit-ID: FXNP5MadlMx
2016-07-15 21:44:03 -07:00
Iris Hsiao
5c3ef832ad Backed out changeset 7c026e26932d (bug 1287245) for Mochitest test_ext_background_runtime_connect_params.html failure 2016-07-20 11:04:45 +08:00
Rob Wu
da14dfd666 Bug 1287229 - port.disconnect should not throw r=billm
MozReview-Commit-ID: 7d8Zmb4OAd0
2016-07-15 22:46:42 -07:00
Rob Wu
ec2dab84e4 Bug 1287245 - Ensure globally unique internal port IDs r=billm
MozReview-Commit-ID: FXNP5MadlMx
2016-07-15 21:44:03 -07:00
Carsten "Tomcat" Book
e7b6762188 Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request 2016-07-18 16:14:59 +02:00
Carsten "Tomcat" Book
ac400ca3c2 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Kris Maglione
e30a4f143e Bug 1272222: Use larger icons for browser actions in the menu panel. r=Gijs
MozReview-Commit-ID: 26lmlcrngPk
2016-07-13 15:16:00 -07:00
Till Schneidereit
b5a834f62f Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Kris Maglione
8e28312be9 Bug 1284942: Don't fire message listeners for windows hidden in bfcache. r=aswan
MozReview-Commit-ID: KSqLt7Qqdkf
2016-07-06 17:14:02 -07:00
Matthew Wein
6206634766 Bug 1270742 - Add support for default_icon in chrome.pageAction r=kmag
MozReview-Commit-ID: D9uR0JUXJwx
2016-05-23 15:59:33 -07:00
Sebastian Hengst
1be0f90cda Backed out changeset 1008f5b88e6b (bug 1270742) for failing browser_ext_browserAction_context.js. r=backout 2016-06-24 13:00:31 +02:00
Matthew Wein
0ead67a3c6 Bug 1270742 - Add support for default_icon in chrome.pageAction. r=kmag
MozReview-Commit-ID: D9uR0JUXJwx
2016-05-23 15:59:33 -07:00
Andrew Swan
48c0798a2b Bug 1274708 Add BaseContext.jsonStringify() r=kmag
MozReview-Commit-ID: E4F1e8hDA5a
2016-06-16 08:30:58 -07:00
Kris Maglione
843973aa31 Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Sebastian Hengst
d97f588f03 Backed out changeset a00cf073f5c0 (bug 1279392) for failing mochitest test_ext_contentscript_create_iframe.html at least on Linux x64 opt. r=backout 2016-06-14 13:37:52 +02:00
Kris Maglione
b2a33e3bf1 Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Kris Maglione
4a1342c9e6 Bug 1278733: Turn on JSDoc validation, and fix basic errors in existing comments. r=aswan
MozReview-Commit-ID: EZpOyvoi2h0
2016-06-07 18:36:19 -07:00
Kris Maglione
2b1843d7c4 Bug 1265834: Follow-up: Fix JSDoc syntax. r=trivial DONTBUILD
MozReview-Commit-ID: HC2Vw3eNvlD
2016-06-07 12:53:32 -07:00
Bob Silverberg
1a7d79421b Bug 1265836 - Part 2: Change normalizeTime to return a date rather than a number. r=aswan
Also update browser.history.deleteRange to use normalizeTime

MozReview-Commit-ID: EQ3NLSIRTe8
2016-05-24 09:00:17 -04:00
Sebastian Hengst
b169ca896f Backed out changeset 800df6b80dc0 (bug 1265836) 2016-05-26 10:32:41 +02:00
Bob Silverberg
e903af75a7 Bug 1265836 - Part 2: Change normalizeTime to return a date rather than a number. r=aswan
Also update browser.history.deleteRange to use normalizeTime

MozReview-Commit-ID: EQ3NLSIRTe8
2016-05-24 09:00:17 -04:00
Bob Silverberg
52bfc3f194 Bug 1265834 - Part 1: Move normalizeTime from downloads into a shared util. r=aswan
MozReview-Commit-ID: GKWBbvTPbGy
2016-05-13 10:18:04 -04:00
Bill McCloskey
f43508ae12 Bug 1197346 - Allow browser.storage to be used from content scripts (r=kmag) 2016-04-23 20:04:30 -07:00
Bill McCloskey
21d9408694 Bug 1197346 - Rename ExtensionPage to ExtensionContext (r=kmag) 2016-04-23 20:04:29 -07:00
Kris Maglione
c1d84333d1 Bug 1248846: [webext] Test that event callbacks and promises do not fire later than expected. r=aswan
MozReview-Commit-ID: 4fpHc22txy
2016-04-05 08:59:47 -07:00
Kris Maglione
7f54275c94 Bug 1248846: [webext] Don't call callbacks after a context is destroyed. r=aswan
MozReview-Commit-ID: 5O2YKGONODH
2016-04-04 14:14:35 -07:00
Kris Maglione
51106a2f9e Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
MozReview-Commit-ID: KEQYq4nZbfk
2016-04-04 13:54:27 -07:00
Wes Kocher
c533b72e89 Backed out changeset c67309c62021 (bug 1258199) for xpcshell failures
MozReview-Commit-ID: FySkZPotDGU
2016-04-04 13:51:12 -07:00
Kris Maglione
3793854b24 Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
MozReview-Commit-ID: KEQYq4nZbfk
2016-03-28 17:21:06 +02:00
Kris Maglione
e1b59246c8 Bug 1250784: Part 2 - [webext] Fix some issues that cause noisy tests. r=Mossop
MozReview-Commit-ID: 93NMinJpWRo
2016-03-09 17:26:27 -08:00
Till Schneidereit
e5576eec60 Bug 1254947 - Fix instanceof checks that assume promiseFromSomeGlobal instanceof otherGlobal.Promise succeeds. r=bz 2016-03-09 14:25:11 +01:00
Kris Maglione
e0795d5219 Bug 1220154, 1249830: Handle sendMessage replies with 0 and >1 listeners correctly. r=billm
MozReview-Commit-ID: 7lE7RaJcl7n
2016-03-04 15:40:56 -08:00
Kris Maglione
d7334ea44a Bug 1248499: [webext] Implement tabs.detectLanguage. r=billm
MozReview-Commit-ID: F4GpSesj2ho
2016-02-26 13:20:28 -08:00
Kris Maglione
7a1a4278dd Bug 1248497 – Add promise support to the sendMessage APIs. r=billm
MozReview-Commit-ID: AZH9LUq8kGr
2016-02-15 17:37:19 -08:00
Matthew Wein
641e87d5e0 Bug 1246029 Implement chrome.commands.onCommand. r=kmag 2016-02-29 19:04:03 -08:00
Kris Maglione
936db59b45 Bug 1251892: Fix EventManager cleanup code. r=rpl
MozReview-Commit-ID: FUHnELOAeGw
2016-02-27 14:53:09 -08:00
Carsten "Tomcat" Book
3969e7dcc7 merge mozilla-inbound to mozilla-central a=merge 2016-02-29 11:35:30 +01:00
Ryan VanderMeulen
99821e9f61 Backout changeset 49ab89b42dbf (bug 1246029) for browser_ext_commands_onCommand.js permafail. 2016-02-28 19:30:09 -05:00
Luca Greco
fc3ac46ddc Bug 1227462 - tabs.create and tabs.update should check URLs using checkLoadURL. r=kmag
MozReview-Commit-ID: EKFRpoSuXrF
2016-02-25 18:13:59 +01:00
Matthew Wein
de65f6699e Bug 1246029 - Implement chrome.commands.onCommand. r=kmag 2016-02-26 23:51:19 -08:00
bsilverberg
da16bd6be4 Bug 1251289 - Fix chrome.i18n.getAcceptLanguages to *not* replace dashes with underscores in language codes. r=kmag
MozReview-Commit-ID: 1plfVzxwq3V
2016-02-25 13:18:16 -05:00
bsilverberg
1ba83c667a Bug 1213450 - Complete the implementation of chrome.i18n - getAcceptLanguages, r=kmag
Implement browser.i18n.getAcceptLanguages() including tests
Rebase against fx-team, resolving some conflicts
Fix eslint errors/warnings

MozReview-Commit-ID: 52sZWsIHbl4
2016-02-25 07:29:09 -05:00
bsilverberg
520cdab332 Bug 1246754 - Complete the implementation of chrome.i18n.detectLanguage, r=kmag
MozReview-Commit-ID: 7cvJj0QP5XO
2016-02-23 22:01:11 -05:00
Phil Ringnalda
8fcf6aa84e Back out 9466f6513f50 (bug 1213450) for timeouts in test_ext_i18n.html 2016-02-23 18:36:11 -08:00
bsilverberg
4cacadedfd Bug 1213450 - Complete the implementation of chrome.i18n - getAcceptLanguages, r=kmag
Implement browser.i18n.getAcceptLanguages() including tests

MozReview-Commit-ID: EeuxXvg0l3M
2016-02-18 08:59:57 -05:00