Commit Graph

216 Commits

Author SHA1 Message Date
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
Blake Winton
c60f0640a4 Bug 1215201 - Iterate through the elements of the alarmCallbacksMap. r=billm 2015-10-15 13:36:38 -04:00
Bill McCloskey
39cc8c92fd Bug 1212718 - [webext] Test for webRequest resource types (r=Mossop) 2015-10-12 20:04:21 -07:00
Bill McCloskey
bc271f8658 Bug 1212718 - [webext] Add onCompleted test (r=Mossop) 2015-10-12 20:03:48 -07:00
Bill McCloskey
ab96a6ae8d Bug 1212718 - [webext] Add test for onSendHeaders problem (r=Mossop) 2015-10-12 20:03:35 -07:00
Bill McCloskey
a672b4fba3 Bug 1202897 - Switch all WebExtension tests to use generated zip files rather than files (r=gabor) 2015-10-12 16:19:50 -07:00
Tom Schuster
dbb33704ba Bug 1208907 - [webext] Partially implement browser.bookmarks. r=billm f=mak 2015-10-11 16:41:21 +02:00
Jed Davis
d19e615ca4 Bug 1201935 - Allow reading from TmpD in OS X content processes. r=smichaud 2015-10-07 13:41:00 +02:00
Luca Greco
ac0a9aedf0 Bug 1204583 - test connect params preprocess and fix raised invalid params error. r=billm 2015-09-30 14:21:00 +02:00
Tom Schuster
d40b000995 Bug 1197417 - [webext] Tests for browser.cookies. r=billm 2015-10-02 16:36:05 +02:00
Bill McCloskey
68b5caaeb2 Bug 1207911 - [webext] Fix races in webextension tests (r=gabor) 2015-09-27 12:29:40 -07:00
Johann Hofmann
a1b1e52a47 Bug 1204072 - Import runSafe in ext-{alarms,notifications} (r=billm) 2015-09-25 05:09:11 -07:00
Phil Ringnalda
b3228e4879 Bug 1207911 - Disable webext tests on ASan builds for now
CLOSED TREE
2015-09-23 20:12:16 -07:00
Bill McCloskey
53ba768590 Bug 1202481 - [webext] Fix browser.runtime.onMessage reply handling (r=gabor) 2015-09-23 17:18:34 -07:00
Bill McCloskey
6567491b58 Bug 1202486 - [webext] Add test for browser.runtime.connect, fix a few bugs (r=gabor) 2015-09-23 17:18:33 -07:00
Bill McCloskey
ff77125470 Bug 1197475 - [webext] Add test for browser.storage.local, fix a few bugs in it (r=gabor) 2015-09-23 17:18:30 -07:00
Bill McCloskey
23405e5ea8 Bug 1202501 - [webext] Clean up WebExtension tests (r=gabor) 2015-09-23 17:18:28 -07:00
Bill McCloskey
764ae2a899 Bug 1199473 - [webext] Fix wrong parameter name for browser.extension.getURL (r=gabor) 2015-09-23 17:18:27 -07:00
Bill McCloskey
f8cad09e5b No bug - Skip webextension tests for mulet 2015-09-23 17:18:25 -07:00
Phil Ringnalda
aaf72d29b9 Backed out 12 changesets (bug 1202482, bug 1202483, bug 1202481, bug 1202486, bug 1202479, bug 1202478, bug 1197475, bug 1203331, bug 1139860, bug 1202501, bug 1199473, bug 1190662) for Mulet mochitest-5 timeouts
CLOSED TREE

Backed out changeset 6503123e95dd (bug 1139860)
Backed out changeset b83bc163064d (bug 1203331)
Backed out changeset 2f501bd57cd2 (bug 1202481)
Backed out changeset 37e6ac7beb42 (bug 1202486)
Backed out changeset f9b6e99e620e (bug 1202483)
Backed out changeset 466af9f9baee (bug 1202482)
Backed out changeset 6be690e265a2 (bug 1202479)
Backed out changeset 57ff88bfccf4 (bug 1197475)
Backed out changeset 7e8c04ff6049 (bug 1202478)
Backed out changeset 525227997274 (bug 1202501)
Backed out changeset da317cdb79d3 (bug 1199473)
Backed out changeset 73b8ddd6dac9 (bug 1190662)
2015-09-22 19:29:51 -07:00
Bill McCloskey
fbb4583508 Bug 1202481 - [webext] Fix browser.runtime.onMessage reply handling (r=gabor) 2015-09-22 16:09:23 -07:00
Bill McCloskey
21c214de21 Bug 1202486 - [webext] Add test for browser.runtime.connect, fix a few bugs (r=gabor) 2015-09-22 16:09:22 -07:00
Bill McCloskey
28e66b14dc Bug 1197475 - [webext] Add test for browser.storage.local, fix a few bugs in it (r=gabor) 2015-09-22 16:09:21 -07:00
Bill McCloskey
5e8d8d8155 Bug 1202501 - [webext] Clean up WebExtension tests (r=gabor) 2015-09-22 16:09:20 -07:00