Commit Graph

24 Commits

Author SHA1 Message Date
Kris Maglione
e4fa87d44c Bug 1234755: Follow-up: Fix additional failures. r=trivial 2015-12-31 16:17:00 -08:00
Bill McCloskey
8beda44f2f Bug 1208257 - [webext] browser_action.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey
88a32fbdba Bug 1208257 - [webext] windows.json (r=kmag) 2015-12-06 08:50:24 -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
2e0886855c Bug 1229874: Part 2 - Fix the major errors detected by ESLint. r=billm 2015-12-02 16:58:24 -08:00
Kris Maglione
6150af18a3 Bug 1190688: Part 1 - [webext] Implement the activeTab permission. r=billm 2015-12-01 20:37:41 -08:00
Wes Kocher
599a235cc8 Backed out 2 changesets (bug 1190688) for browser_ext_tabs_executeScript.js permatimeouts
Backed out changeset 1d5e9f3d094d (bug 1190688)
Backed out changeset 4a10c564dfca (bug 1190688)
2015-12-02 11:22:31 -08:00
Kris Maglione
e524414d82 Bug 1190688: Part 1 - [webext] Implement the activeTab permission. r=billm 2015-12-01 20:37:41 -08:00
Johann Hofmann
b377f73bb9 Bug 1200674 - Allow flexible icon sizes in ExtensionUtils. r=dtownsend 2015-11-24 18:20:26 +01:00
Kris Maglione
ad208e75ad Bug 1218443: [webext] Fix some instances of window listeners not being added correctly. r=billm 2015-11-15 19:34:09 -08:00
Phil Ringnalda
bba6e7ee2d Back out 6fa3b2df62cc (bug 1218443) for browser_ext_pageAction_context.js leaks
CLOSED TREE
2015-11-17 22:38:20 -08:00
Kris Maglione
790da7e8ce Bug 1218443: [webext] Fix some instances of window listeners not being added correctly. r=billm 2015-11-15 19:34:09 -08:00
Kris Maglione
9ab3082ad4 Bug 1215893: [webext] Check capturing event listeners for the correct target. r=billm 2015-11-14 23:30:52 -08:00
Kris Maglione
314e0a9694 Bug 1224961: Remove non-standard JS features from WebExtension code 2015-11-02 18:09:09 -08:00
Edgar Chen
af73cfe4a9 Bug 1205221 - Fix chrome.tabs.onUpdate event doesn't be fired correctly when tab's attribute is changed. r=billm 2015-09-15 14:06:51 +08:00
Sebastian Hengst
b5331a6b9e Backed out changeset 7733bfad72ab (bug 1217129) for bc4, bc7 etc. failures. r=backout
browser_ext_browserAction_simple.js | Test timed out
followed by many more browser_ext_* errors
2015-11-04 21:12:02 +01:00
Blake Winton
d9fa23c815 Bug 1217129 - Toggle WebExtensions panels on click instead of re-opening them. ui-r=maritz, r=billm 2015-10-22 10:07:02 -04:00
Luca Greco
338b11ce6f Bug 1213975 - fix WebExtension tabs.onUpdated cleanup on context close. r=billm 2015-10-26 04:56:00 +01:00
Blake Winton
b058cb297f Bug 1199056 - Give the WebExtension's panels the same attributes as the other toolbar button's panels. ui-r=maritz, f=kmag, r=MarcoZ, r=billm, r=gijs 2015-10-20 11:18:11 -04: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
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
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