Commit Graph

253 Commits

Author SHA1 Message Date
Gabor Krizsanits
14bd34a891 Bug 1235376 - Handling %s in contextMenus. r=kmaglione 2016-01-04 16:54:59 +01:00
Gabor Krizsanits
ee0c99137d Bug 1211366 - parentId validation in contextMenus. r=kmaglione 2016-01-04 16:54:59 +01:00
Gabor Krizsanits
460abf9c9d Bug 1211366 - contextMEnus refactoring. r=kmaglione 2016-01-04 16:54:59 +01:00
Ryan VanderMeulen
326846d25f Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Kris Maglione
e4fa87d44c Bug 1234755: Follow-up: Fix additional failures. r=trivial 2015-12-31 16:17:00 -08:00
Bill McCloskey
4b8e226fb9 Bug 1208257 - [webext] context_menus.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey
7d223ff982 Bug 1208257 - [webext] page_action.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey
8beda44f2f Bug 1208257 - [webext] browser_action.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey
cc4c432b00 Bug 1208257 - [webext] bookmarks.json (r=kmag) 2015-12-23 08:57:13 -08:00
Kris Maglione
161563856e Bug 1230776: Fix ESLint failures in HTML test files. r=trivial 2015-12-22 22:26:36 -05:00
Phil Ringnalda
28ea5338d5 Merge m-i to m-c, a=merge 2015-12-11 21:20:03 -08:00
Steve Fink
293080d49c Bug 1231879 - Fix tests: getElementById returns null on failure, not undefined, r=mrbkap 2015-12-10 21:49:18 -08:00
Kris Maglione
ef4d15a0eb Bug 1229874: Support defineLazyServiceGetter in components-import eslint helper. r=miker 2015-12-02 16:49:50 -08:00
Felipe Gomes
8ff5f8cd13 Bug 1231728 - Fixes some code to follow eslint rules. r=mak 2015-12-10 14:38:30 -05:00
Bill McCloskey
7961c6b051 Bug 1208257 - [webext] Fix failing test 2015-12-06 11:01:20 -08:00
Bill McCloskey
0553f0441b Bug 1208257 - [webext] tabs.json (r=kmag) 2015-12-06 08:50:24 -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
fd3a0f256b Bug 1190688: Part 2 - [webext] Add tests for executeScript permission checks. r=billm 2015-12-02 15:07:02 -08:00
Kris Maglione
6150af18a3 Bug 1190688: Part 1 - [webext] Implement the activeTab permission. r=billm 2015-12-01 20:37:41 -08:00
Kris Maglione
342e9bd17c Bug 1193837: Part 2 - [webext] Enforce host matching and load URI restrictions on tabs.executeScript and insertCSS. r=billm 2015-12-01 20:32:18 -08:00
Wes Kocher
4e87701a29 Backed out 2 changesets (bug 1193837) because the web extension tests are failing CLOSED TREE
Backed out changeset ebe2433705a5 (bug 1193837)
Backed out changeset c3307a5ac126 (bug 1193837)
2015-12-02 13:23:18 -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
1b04c912a2 Bug 1190688: Part 2 - [webext] Add tests for executeScript permission checks. r=billm 2015-12-01 20:47:08 -08:00
Kris Maglione
e524414d82 Bug 1190688: Part 1 - [webext] Implement the activeTab permission. r=billm 2015-12-01 20:37:41 -08:00
Kris Maglione
b2dfad4ce8 Bug 1193837: Part 2 - [webext] Enforce host matching and load URI restrictions on tabs.executeScript and insertCSS. r=billm 2015-12-01 20:32:18 -08:00
Kris Maglione
e478bde6cf Bug 1212890: [webext] Implement browser.tabs.getCurrent. r=gabor 2015-11-24 19:04:00 -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
d07aba89a3 Bug 1226423: [wbext] Add tests for panel popup API injection. r=billm 2015-11-20 15:16:31 -08: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
Kris Maglione
702ff845d6 Bug 1190321: [webext] Complete test coverage for the browserAction API. r=gabor 2015-11-15 02:01:44 -08:00
Kris Maglione
8da8fb891a Bug 1213433: [webext] Add enable and disable methods to browserAction API. r=gabor 2015-10-28 02:27:29 -07:00
Bill McCloskey
948f074381 Bug 1223585 - [webext] Annotate ignoreEvent (r=kmag) 2015-11-12 08:19:45 -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
Luca Greco
dc5ec0f0a0 Bug 1213975 - filter out from WebExtension tabs.onUpdated events any location changes related to iframes. r=billm 2015-10-26 04:55:00 +01:00
Luca Greco
cf2e124412 Bug 1213975 - add WebExtension tabs.onUpdated test case. r=billm 2015-10-26 04:54:00 +01:00
Luca Greco
daf352ef72 Bug 1213975 - WebExtension tab update events about location url change should contain status info. r=billm 2015-10-26 04:54:00 +01:00
Johann Hofmann
e2e3cfb3ca Bug 1198405 - Use MatchPattern to match URLs in tabs.query. r=billm 2015-10-19 12:29:29 +02:00
Wes Kocher
93a2c0762d Merge m-c to fx-team, a=merge CLOSED TREE 2015-10-21 16:40:51 -07:00
Wes Kocher
93cf68cedc Merge inbound to m-c a=merge 2015-10-21 16:28:43 -07:00
J. Ryan Stinnett
687866dde2 Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05: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