Commit Graph

238 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
6d577cc76d Merge mozilla-central to fx-team 2016-02-19 12:08:37 +01:00
bsilverberg
e72c240afa Bug 1246748 - Complete the implementation of chrome.i18n.getUILanguage, r=kmag
Implement chrome.i18n.getUILanguage including tests

Add API to content scripts

MozReview-Commit-ID: IcDlLj8Et73
2016-02-18 07:50:17 -05:00
Matthew Wein
babfa923f9 Bug 1246031 - Utility for obtaining platform information. r=kmag 2016-02-17 15:14:28 -05:00
Andy McKay
102661d869 Bug 1238312 - implement tabs.duplicate. r=kmag
MozReview-Commit-ID: Fzd6BuAEgSl
2016-02-12 15:38:55 -08:00
Kris Maglione
1cd215bc66 Bug 1234020: Part 2a - [webext] Return promises from the background page APIs. r=rpl 2016-02-02 19:14:34 -08:00
Kris Maglione
c71b8aa2e6 Bug 1234020: Part 1 - [webext] Add initial binding-level promise<->callback support. r=billm 2016-02-01 19:20:13 -08:00
Kris Maglione
cb2bf096f9 Bug 1190680: Part 2 - [webext] Add initial support for lastError callbacks. r=billm 2016-01-29 18:38:08 -08:00
Kris Maglione
47d18c471a Bug 1190680: Part 1 - [webext] Factor common extension context logic into a shared base class. r=billm 2016-01-29 18:39:29 -08:00
Wes Kocher
e72149351a Bug 1217129 - ESLint fix r=me 2016-01-20 12:08:56 -08:00
Kris Maglione
e7180194c8 Bug 1217129: [webext] Follow-up: Fix race in pageAction tests. 2016-01-19 21:57:34 -08:00
Kris Maglione
e91b36169d Bug 1190323: Part 1 - [webext] Fix @@extension_id locale string substitutions. r=billm 2016-01-08 16:26:22 -08:00
Dave Townsend
a37b82025e Bug 1237340: Fix browser and toolkit eslint failures. r=Felipe 2016-01-06 10:10:35 -08:00
Bill McCloskey
5f7ffdd379 Bug 1224703 - part 1: fix the way we get the message manager r=fabrice 2016-01-05 15:37:01 -08:00
Bill McCloskey
994bef148c Bug 1228044 - [webext] Filter messages between extensions (r=kmag) 2015-12-23 12:29:39 -08:00
Kris Maglione
956fe582d0 Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm
The base .eslintrc is essentially a merge of the root Toolkit .eslintrc and
the devtools .eslintrc, with some minor changes to match our prevalent style.

For the most enforces the coding styles that we've been using most
consistently. There are a couple of significant differences, though:

 * The rule for opening brace alignment can only be applied globally, and
   doesn't make exceptions for top-level functions. I chose to turn it on, and
   change the brace style of existing top-level functions that violated it,
   since the rule seemed worth using, and that's the direction most Toolkit JS
   code has been headed anyway.

 * The rule for switch/case statements requires an added indentation level for
   case statements. Most of our switch statements did not use an extra level
   of indentation, and I initially wrote the rule to enforce that style, until
   I came across case statements that used blocks, and required the extra
   indentation level for sanity.
2015-12-02 16:58:53 -08:00
Kris Maglione
55f968e981 Bug 1209184: Part 1a - [webext] Make localization work in content processes. r=billm 2015-11-21 12:07:14 -08:00
Kris Maglione
ca794b0e54 Bug 1221415: [webext] Improve error checking and Chrome-compatibility of i18n API. r=billm 2015-11-15 16:54:41 -08:00
Bill McCloskey
948f074381 Bug 1223585 - [webext] Annotate ignoreEvent (r=kmag) 2015-11-12 08:19:45 -08:00
Kris Maglione
372384b5c1 Bug 1192433: Part 1 - [webext] Split Extension class to allow accessing data from non-running extensions. r=billm 2015-10-30 12:01:40 +01:00
Kris Maglione
118cdecae1 Bug 1197422 - Part 2: [webext] Implement the pageAction API. r=billm ui-r=bwinton 2015-10-15 15:15:04 -07:00
Luca Greco
8000faa588 Bug 1204575 - fix WebExtension EventManager fireFunc registering. r=billm r=gabor 2015-09-25 04:33:00 +02:00
Bill McCloskey
53ba768590 Bug 1202481 - [webext] Fix browser.runtime.onMessage reply handling (r=gabor) 2015-09-23 17:18:34 -07:00
Bill McCloskey
6567491b58 Bug 1202486 - [webext] Add test for browser.runtime.connect, fix a few bugs (r=gabor) 2015-09-23 17:18:33 -07:00
Bill McCloskey
9b6ceea392 Bug 1202478 - [webext] Run WebExtension callbacks asynchronously (r=gabor) 2015-09-23 17:18:29 -07:00
Phil Ringnalda
aaf72d29b9 Backed out 12 changesets (bug 1202482, bug 1202483, bug 1202481, bug 1202486, bug 1202479, bug 1202478, bug 1197475, bug 1203331, bug 1139860, bug 1202501, bug 1199473, bug 1190662) for Mulet mochitest-5 timeouts
CLOSED TREE

Backed out changeset 6503123e95dd (bug 1139860)
Backed out changeset b83bc163064d (bug 1203331)
Backed out changeset 2f501bd57cd2 (bug 1202481)
Backed out changeset 37e6ac7beb42 (bug 1202486)
Backed out changeset f9b6e99e620e (bug 1202483)
Backed out changeset 466af9f9baee (bug 1202482)
Backed out changeset 6be690e265a2 (bug 1202479)
Backed out changeset 57ff88bfccf4 (bug 1197475)
Backed out changeset 7e8c04ff6049 (bug 1202478)
Backed out changeset 525227997274 (bug 1202501)
Backed out changeset da317cdb79d3 (bug 1199473)
Backed out changeset 73b8ddd6dac9 (bug 1190662)
2015-09-22 19:29:51 -07:00
Bill McCloskey
fbb4583508 Bug 1202481 - [webext] Fix browser.runtime.onMessage reply handling (r=gabor) 2015-09-22 16:09:23 -07:00
Bill McCloskey
21c214de21 Bug 1202486 - [webext] Add test for browser.runtime.connect, fix a few bugs (r=gabor) 2015-09-22 16:09:22 -07:00
Bill McCloskey
0f033b5f70 Bug 1202478 - [webext] Run WebExtension callbacks asynchronously (r=gabor) 2015-09-22 16:09:21 -07:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Bill McCloskey
69388b1d70 Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor) 2015-09-04 09:45:01 -07:00
Carsten "Tomcat" Book
ebb221ac2d Backed out 11 changesets (bug 1201377, bug 1199800, bug 1197437, bug 1199832, bug 1199698, bug 1199842) for breaking browser_ext_tabs_executeScript.js test on a CLOSED TREE
Backed out changeset 8d8d73d3c3e1 (bug 1201377)
Backed out changeset 4ed8951e3f54 (bug 1199842)
Backed out changeset 5830178bc008 (bug 1199832)
Backed out changeset 4445c570fe49 (bug 1199698)
Backed out changeset 35fc1e25d167 (bug 1199800)
Backed out changeset 54c4c3bd2454 (bug 1199800)
Backed out changeset bd3112ce6b9b (bug 1199800)
Backed out changeset 701e56e18ca7 (bug 1199800)
Backed out changeset 4407d50a7995 (bug 1199800)
Backed out changeset af2fbe345712 (bug 1199800)
Backed out changeset 0a41d20fcf77 (bug 1197437)
2015-09-04 09:59:34 +02:00
Bill McCloskey
d77e121881 Bug 1199800 - [webext] Allow extensions to be generated from JSON (r=gabor) 2015-09-03 20:59:03 -07:00
Fabrice Desré
bc561611cc Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Fabrice Desré
c50552b3e4 Bug 1190995 - backout 0450f02a2b3b for M1 failures 2015-08-14 17:57:34 -07:00
Fabrice Desré
edcc328e33 Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Bill McCloskey
1ba4b05dd9 Bug 1175770 - New extension API (r=Mossop) 2015-08-03 10:41:24 -07:00
Carsten "Tomcat" Book
5b881a75d9 Backed out changeset 4e3821b236f9 (bug 1175770) 2015-08-03 09:37:54 +02:00
Bill McCloskey
d7318b2bd9 Bug 1175770 - New extension API (r=Mossop) 2015-08-02 17:29:55 -07:00