Commit Graph
89 Commits
Author SHA1 Message Date
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 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
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
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
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 1cf7392459 Bug 1208257 - [webext] runtime.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
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 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 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 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
Phil Ringnalda 5f05f7cbf1 Back out 5 changesets (bug 1209184) on suspicion of causing OS X opt build startup cache precompilation failures
CLOSED TREE

Backed out changeset d0404928473e (bug 1209184)
Backed out changeset 24282235336d (bug 1209184)
Backed out changeset 399404ff25e4 (bug 1209184)
Backed out changeset a517959befe9 (bug 1209184)
Backed out changeset a4f1765a6cdf (bug 1209184)
2015-11-28 20:29:48 -08:00
Kris Maglione 993ed0faed Bug 1209184: Follow-up: Disable WebExtension xpcshell tests on Android and gonk. r=me 2015-11-28 01:00:57 -08:00
Kris Maglione 01e7401e2e Bug 1209184: Part 4 - [webext] Add tests for CSS localization filters. r=billm 2015-11-20 22:39:58 -08:00
Kris Maglione de46806b39 Bug 1209184: Part 3 - [webext] Add tests for locale stream converter. r=billm 2015-11-27 23:02:41 -08:00
Phil Ringnalda a64db3f8c1 Back out 4 changesets (bug 1209184) for Android/B2G xpcshell bustage
CLOSED TREE

Backed out changeset 8e692344588a (bug 1209184)
Backed out changeset f9ab76689610 (bug 1209184)
Backed out changeset 9c63ffd499eb (bug 1209184)
Backed out changeset e75f9f24d0dc (bug 1209184)
2015-11-27 22:40:54 -08:00
Kris Maglione 16cc7dcf59 Bug 1209184: Part 4 - [webext] Add tests for CSS localization filters. r=billm 2015-11-20 22:39:58 -08:00
Kris Maglione bc46ddaf7d Bug 1209184: Part 3 - [webext] Add tests for locale stream converter. r=billm 2015-11-16 17:38:02 -08:00
jignesh a99e78f4f6 Bug 1216704 - [webext] Fix incorrect parameter to getManifest in content scripts and test for the same. r=billm 2015-11-18 12:36:00 +01:00
Kris Maglione 722cf7262d Bug 1208761: [webext] Support l10n.getMessage in content scripts. r=billm 2015-11-23 17:52:23 -08:00
Kris Maglione ddfe2a85a3 Bug 1226423: [webext] Add tests for API injection into background pages. r=billm 2015-11-20 15:14:25 -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
Kris Maglione 9ab3082ad4 Bug 1215893: [webext] Check capturing event listeners for the correct target. r=billm 2015-11-14 23:30:52 -08:00
Bill McCloskey 05bcca84b4 Bug 1208874 - [webext] Generate an extension-specific UUID (r=kmag) 2015-11-12 08:19:45 -08:00
Bill McCloskey 731f6c5313 Bug 1223589 - [webext] Implement getPlatformInfo (r=kmag) 2015-11-12 08:19:45 -08:00
Bill McCloskey 948f074381 Bug 1223585 - [webext] Annotate ignoreEvent (r=kmag) 2015-11-12 08:19:45 -08:00
Johann Hofmann 3b798c478f Bug 1217886 - Implement chrome.storage.local.clear. r=wmccloskey 2015-11-04 22:29:31 +01:00
Kris Maglione a32c5e7ba0 Bug 1213632: Prevent WebExtensions from using versioned JavaScript. r=billm 2015-10-22 23:25:43 -07:00
Luca Greco fe61a0303b Bug 1214174 - Background window properties OOM exception test case. r=billm 2015-10-26 05:03:00 -04:00
Blake Winton 8a6cc1594b Bug 1215130 - Use periodInMinutes as the default for delayInMinutes. r=billm 2015-10-16 13:24:57 -04:00