Commit graph

18 commits

Author SHA1 Message Date
Martin Giger
8ef39ac0b8 Bug 1265317 - Handle missing storage error as success. r=kmag
--HG--
extra : rebase_source : bd4a7c99a2fdeba789ec95c3f461ef0c0f090b0e
2016-06-15 07:13:00 -04:00
Andrew Swan
de7347ec1a Bug 1274708 Use Context.jsonStringify() in ExtensionStorage r=kmag
MozReview-Commit-ID: Ba1w33Jl42n

--HG--
extra : rebase_source : dba7eeea129e5b5e594cea894afe0939abd6e309
2016-06-14 08:56:31 -07:00
Kris Maglione
5d03979f6b Bug 1278733: Turn on JSDoc validation, and fix basic errors in existing comments. r=aswan
MozReview-Commit-ID: EZpOyvoi2h0

--HG--
extra : rebase_source : b03b211a1fe3aad3c760bd0f9235bbaaca171a9a
2016-06-07 18:36:19 -07:00
Bill McCloskey
261372f2cb Bug 1197346 - Allow browser.storage to be used from content scripts (r=kmag) 2016-04-23 20:04:30 -07:00
Kris Maglione
87247e9d25 Bug 1258139: Part 2 - [webext] Fix dead wrapper issues in storage API. r=gabor
MozReview-Commit-ID: 7F0oBpjl7Qt

--HG--
extra : rebase_source : e4eee969b527078fefd999282371365e8fa39556
2016-03-25 01:14:39 +01:00
Kris Maglione
e6cd1c5fce Bug 1258139: Part 1 - [webext] Refactor storage API code. r=rpl
MozReview-Commit-ID: L6cO7mVnN5E

--HG--
extra : rebase_source : f6fe51fd9b90b2a1bc4928775a07d2c7bd522663
2016-03-25 01:03:30 +01: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
Johann Hofmann
898c7be7cd Bug 1217886 - Implement chrome.storage.local.clear. r=wmccloskey 2015-11-04 22:29:31 +01:00
Bill McCloskey
88501da12a 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
Phil Ringnalda
5b1ea9212a 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)

--HG--
rename : browser/components/extensions/test/browser/browser_ext_simple.js => browser/components/extensions/test/browser/browser_extensions_simple.js
rename : toolkit/components/extensions/test/mochitest/file_sample.html => toolkit/components/extensions/test/mochitest/file_contentscript_page1.html
2015-09-22 19:29:51 -07:00
Bill McCloskey
eb18231fcc 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
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
Fabrice Desré
d0a42c5e92 Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Fabrice Desré
4bccca4c8b Bug 1190995 - backout 0450f02a2b3b for M1 failures 2015-08-14 17:57:34 -07:00
Fabrice Desré
dc4738feca Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -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