Commit Graph
177 Commits
Author SHA1 Message Date
Kris Maglione b754ff8f74 Bug 1239822: Part 2a - [webext] Explicitly destroy windowless browsers on unload. r=billm 2016-01-15 13:30:15 -08:00
Kris Maglione 88f27d74fa Bug 1239884: Follow-up: Fix ESLint error. 2016-01-15 19:49:30 -08:00
Kris Maglione aed1067884 Bug 1239884: Part 1 - [webext] Don't create an extra API context for background pages. r=billm 2016-01-14 16:23:10 -08:00
Kris Maglione a7301bf206 Bug 1235365: Parse WebExtension JSON files as UTF-8. r=billm 2016-01-09 16:53:24 -08:00
Kris Maglione 59c5eea635 Bug 1190323: [webext] Part 2: Complete i18n API test coverage. r=billm 2016-01-12 15:58:13 -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
Kris Maglione dbe0c048fd Bug 1238408: Request complete logs in test_ext_webrequest.html 2016-01-11 13:36:01 -08:00
Luca Greco 2dbfe38980 Bug 1237357 - Fix missing Cr used by AddonLocalizationConverter in simpleServices. r=kmag 2016-01-08 05:38:00 -05:00
Dave Townsend a37b82025e Bug 1237340: Fix browser and toolkit eslint failures. r=Felipe 2016-01-06 10:10:35 -08:00
Ryan VanderMeulen b9ee4efe7b Merge fx-team to m-c. a=merge 2016-01-06 09:48:18 -05:00
Fabrice Desré a9e4990d14 Bug 1224703 - part 2: Enable tests on emulator r=billm 2016-01-05 15:37:06 -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
Tom Schuster d226b8941c Bug 1224579 - Allow leading dot in domain in cookies.set. r=billm 2015-12-21 07:14:00 -08:00
Kris Maglione 805fdcb445 Bug 1237122 - Use base test suite eslintrc files for WebExtension tests. r=trivial 2016-01-05 16:10:33 -08:00
Kris Maglione d342d6ab2f Bug 1227451: Follow-up: Fix ESLint errors. r=trivial 2016-01-05 15:54:32 -08:00
Luca Greco 62288f2ca9 Bug 1227451 - chrome.alarms API doesn't check 'alarms' permission. r=billm 2016-01-04 10:21:00 -05:00
Kris Maglione e4fa87d44c Bug 1234755: Follow-up: Fix additional failures. r=trivial 2015-12-31 16:17:00 -08:00
Kris Maglione 91b4295e50 Bug 1224579: [webext] Fix the handling of domain cookies. r=evilpie 2015-12-23 11:18:38 -05:00
Kris Maglione a76a878344 Bug 1234755: [webext] Make JS in HTML files pass ESLint. r=billm
This also changes the `type` attribute in our script tags to text/javascript,
since that's currently all the eslint-html plugin supports.
2015-12-22 23:43:23 -05:00
Bill McCloskey 771643dd4e Bug 1215197: Implements onBeforeRedirect by using a channel event sink (r=billm) 2015-12-30 13:34:45 -08:00
Bill McCloskey a14fe99948 Bug 1208257 - [webext] Mark onHistoryStateUpdated unsupported 2015-12-29 15:48:52 -08:00
Ryan VanderMeulen 163ffd64c6 Merge fx-team to m-c. a=merge 2015-12-25 20:33:39 -05:00
Bill McCloskey 74fc2770d5 Bug 1205886 - [webext] Allow content scripts to do cross-origin XHRs if they have permission (r=kmag) 2015-12-23 12:29:39 -08:00
Bill McCloskey 2bdd8818a2 Bug 1229552 - [webext] Add test for unregistration (r=kmag) 2015-12-23 12:29:39 -08:00
Bill McCloskey 994bef148c Bug 1228044 - [webext] Filter messages between extensions (r=kmag) 2015-12-23 12:29:39 -08:00
Bill McCloskey f112fccc0f Bug 1224105 - [webext] Use <browser> element for background page (r=kmag) 2015-12-23 12:29:39 -08:00
Bill McCloskey 1cf7392459 Bug 1208257 - [webext] runtime.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey 37ea2fa726 Bug 1208257 - [webext] extension.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey c8337c42c8 Bug 1208257 - [webext] i18n.json (r=kmag) 2015-12-23 08:57:13 -08:00
Bill McCloskey 4b8e226fb9 Bug 1208257 - [webext] context_menus.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 94d3769cef Bug 1208257 - [webext] idle.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 811a418bc8 Bug 1210996: [webext] Check host permissions in the browser.cookies API. r=billm 2015-12-02 21:20:01 -08:00
Sami Jaktholm aa330823f9 Bug 1233350 - Fix TypeError in notifications.getAll(). r=kmag
This also adds some tests for the method.
2015-12-22 11:29:22 +02:00
Kris Maglione e9c6469c48 Bug 1231827: Fix ESLint regressions in toolkit/components/extensions. r=trivial 2015-12-11 11:29:08 -05:00
Bill McCloskey 0553f0441b Bug 1208257 - [webext] tabs.json (r=kmag) 2015-12-06 08:50:24 -08:00
Bill McCloskey 1df9a55d1c Bug 1208257 - [webext] web_navigation.json (r=kmag) 2015-12-06 08:50:24 -08:00
Bill McCloskey e22c409410 Bug 1208257 - [webext] WebNavigation test (r=kmag) 2015-12-06 08:50:24 -08:00
Bill McCloskey 3814f48c83 Bug 1208257 - [webext] web_request.json (r=kmag) 2015-12-06 08:50:24 -08:00
Bill McCloskey ae0c99ac6d Bug 1208257 - [webext] Extension.jsm support for schemas (r=kmag) 2015-12-06 08:50:24 -08:00
Bill McCloskey 76871bddaa Bug 1208257 - [webext] Add basic schema support (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 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
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 0ab0833e14 Bug 1209184: Part 4 - [webext] Add tests for CSS localization filters. r=billm 2015-11-20 22:39:58 -08:00
Kris Maglione fc44b273a5 Bug 1209184: Part 3 - [webext] Add tests for locale stream converter. r=billm 2015-11-28 01:00:57 -08:00
Kris Maglione f62b4742d2 Bug 1209184: Part 1b - [webext] Create a stream converter for localization placeholders. r=billm 2015-11-28 21:14:50 -08:00