Bill McCloskey
505a9bb407
Bug 1208257 - [webext] windows.json (r=kmag)
2015-12-06 08:50:24 -08:00
Kris Maglione
b729a30707
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.
--HG--
rename : devtools/.eslintrc => toolkit/components/extensions/.eslintrc
extra : commitid : 4aDZOi5MNPc
extra : rebase_source : f34ba43aeb8046a0c971cb76b76410497bd12b42
extra : source : 2a7eb4ef7b375e5fd52d843ca206a071367a6475
2015-12-02 16:58:53 -08:00
Kris Maglione
62d3c9701a
Bug 1229874: Part 2 - Fix the major errors detected by ESLint. r=billm
...
--HG--
extra : commitid : 8MfFtdlzGEG
extra : rebase_source : 744d65868d5a3d217bd5f6428a3486e95fa14716
extra : source : 880fc261adae00a344e227ea2fa246b771cd57a6
2015-12-02 16:58:24 -08:00
Kris Maglione
66c9592a32
Bug 1190688: Part 1 - [webext] Implement the activeTab permission. r=billm
...
--HG--
extra : commitid : 7CvbJtxVmuS
extra : rebase_source : 88dadc60ac17cd9036f85c81ac19dfb3db1d0c91
extra : source : 4a10c564dfca3189ab521c3ccfa92330163189b1
2015-12-01 20:37:41 -08:00
Wes Kocher
fdc2d1bcff
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
de25656504
Bug 1190688: Part 1 - [webext] Implement the activeTab permission. r=billm
...
--HG--
extra : commitid : 3fCvT7O5Oax
extra : rebase_source : 6df43947daa552eb318bf74a3c71792889328618
2015-12-01 20:37:41 -08:00
Johann Hofmann
75a90ffc8e
Bug 1200674 - Allow flexible icon sizes in ExtensionUtils. r=dtownsend
2015-11-24 18:20:26 +01:00
Kris Maglione
7214e18679
Bug 1218443: [webext] Fix some instances of window listeners not being added correctly. r=billm
...
--HG--
extra : commitid : EWbKyZP08Fs
extra : rebase_source : 3008f5a339c74af641f4a0d2f07942cb6acefb04
extra : source : 6fa3b2df62cc80058ea2f63834dcbdd6ec7caa36
2015-11-15 19:34:09 -08:00
Phil Ringnalda
b3918f8ac1
Back out 6fa3b2df62cc (bug 1218443) for browser_ext_pageAction_context.js leaks
...
CLOSED TREE
2015-11-17 22:38:20 -08:00
Kris Maglione
efe250798d
Bug 1218443: [webext] Fix some instances of window listeners not being added correctly. r=billm
...
--HG--
extra : commitid : GkZzr4Rpp81
extra : rebase_source : 364da950cb8d50dcf990b529753d4e2cb3b0acf3
2015-11-15 19:34:09 -08:00
Kris Maglione
9b2c61cbae
Bug 1215893: [webext] Check capturing event listeners for the correct target. r=billm
...
--HG--
extra : commitid : IYgT9fAiHJX
extra : rebase_source : c672622b7f2e931ceab45b5569c9de0bfd40602a
2015-11-14 23:30:52 -08:00
Kris Maglione
ef3b6a7107
Bug 1224961: Remove non-standard JS features from WebExtension code
...
--HG--
extra : commitid : uASoVfuiAC
extra : rebase_source : ba0dfb11eda8d1c3345463e3a8c25796ddcfb5dd
2015-11-02 18:09:09 -08:00
Edgar Chen
dba190796b
Bug 1205221 - Fix chrome.tabs.onUpdate event doesn't be fired correctly when tab's attribute is changed. r=billm
...
--HG--
extra : transplant_source : %B7%2C%06e%0E%0F/%C3%E5-F%A1M%9B%C3%8F%060%95S
2015-09-15 14:06:51 +08:00
Sebastian Hengst
ecbe67ac71
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
0f85e4ac59
Bug 1217129 - Toggle WebExtensions panels on click instead of re-opening them. ui-r=maritz, r=billm
...
--HG--
extra : commitid : 4ZOLh4JtxLr
extra : rebase_source : 38fdb0fd12d6011471ef164c664e88667ef16deb
2015-10-22 10:07:02 -04:00
Luca Greco
6884827a14
Bug 1213975 - fix WebExtension tabs.onUpdated cleanup on context close. r=billm
2015-10-26 04:56:00 +01:00
Blake Winton
f3d400df56
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
...
--HG--
extra : commitid : 4tS59NiBXjT
extra : rebase_source : 7407fca6d9e0dddc73bc510e9f1fa126b8fa10ea
2015-10-20 11:18:11 -04:00
Kris Maglione
9dd208611e
Bug 1197422 - Part 2: [webext] Implement the pageAction API. r=billm ui-r=bwinton
...
--HG--
rename : browser/components/extensions/test/browser/browser_ext_browserAction_icon.js => browser/components/extensions/test/browser/browser_ext_browserAction_pageAction_icon.js
extra : commitid : GSQiN6Zykrs
extra : rebase_source : 45e056feb97f60592400568c6eeded4b7cc76ab5
2015-10-15 15:15:04 -07:00
Shu-yu Guo
64db2267cf
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
b1a00d7c72
Bug 1175770 - New extension API (r=Mossop)
2015-08-03 10:41:24 -07:00
Carsten "Tomcat" Book
03d48d1951
Backed out changeset 4e3821b236f9 (bug 1175770)
2015-08-03 09:37:54 +02:00
Bill McCloskey
14e7d8ca0a
Bug 1175770 - New extension API (r=Mossop)
2015-08-02 17:29:55 -07:00