Commit Graph

68 Commits

Author SHA1 Message Date
Ryan VanderMeulen
f16cc2b8b7 Backed out changeset 7d5f1e9ce04c (bug 1259169) for various cookie-related crashes and test failures. 2016-04-09 15:36:07 -04:00
Andrea Marchesini
c505892d92 Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-09 19:09:49 +01:00
Carsten "Tomcat" Book
4643fcd169 Backed out changeset 74330da56b82 (bug 1259169) for assertion failures in nsCookieService.cpp:2390 2016-04-08 14:47:39 +02:00
Andrea Marchesini
8100cd23b7 Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-08 12:38:15 +01:00
bsilverberg
98bd2245bb Bug 1255569 - Add coverage for cookie eviction events for expired cookies. r=kmag
Fix bug in ext-cookies.js that was reporting expired cookies as evicted
Only run test in non-e10s

MozReview-Commit-ID: H2o5GnVtTzi
2016-04-01 10:21:47 -04:00
bsilverberg
9e598e502f Bug 1256251 - Update browser.cookies.onChanged to match Chrome's behaviour when overwriting a cookie. r=kmag
MozReview-Commit-ID: 5AGXbfkOd9R
2016-03-14 12:13:58 +01:00
Andrea Marchesini
d5bd12484c Bug 1245184 - Update mochitests, r=me 2016-02-25 16:41:13 +01:00
bsilverberg
4e510030a1 Bug 1238269 - Setting session cookie using chrome.cookies.set fails, r=kmag
Fix bug to allow session cookies to be set
Add tests for session cookies
Clean up existing tests

MozReview-Commit-ID: 3teHqBd1tw5
2016-02-22 17:37:48 -05:00
Kris Maglione
666cee3637 Bug 1248855 - [webext] Add "object-curly-spacing" ESLint rule and auto-fix errors. r=billm
MozReview-Commit-ID: BAZ2rRl7eSM
2016-02-16 20:10:00 -08:00
Kris Maglione
f6781ed175 Bug 1234020: Part 2b - [webext] Return promises from the cookies APIs. r=evilpie 2016-02-01 18:03:37 -08:00
Fabrice Desré
a9e4990d14 Bug 1224703 - part 2: Enable tests on emulator r=billm 2016-01-05 15:37:06 -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
811a418bc8 Bug 1210996: [webext] Check host permissions in the browser.cookies API. r=billm 2015-12-02 21:20:01 -08:00
Bill McCloskey
ae0c99ac6d Bug 1208257 - [webext] Extension.jsm support for schemas (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
Bill McCloskey
948f074381 Bug 1223585 - [webext] Annotate ignoreEvent (r=kmag) 2015-11-12 08:19:45 -08:00
Fabrice Desré
1dd81540fb Bug 1212089 - Cookies API broken on b2g r=billm 2015-10-07 12:05:58 -07:00
Tom Schuster
9d9f6bb166 Bug 1197417 - [webext] Implement browser.cookies. r=billm 2015-10-02 16:35:51 +02:00