Andrea Marchesini
03364d5e05
Bug 1337964 - SiteDataManager should check correctly if a cookie belongs to a private identity or not, r=aryx, r=gijs
2017-02-15 13:12:52 +01:00
Kris Maglione
bbe2608ca7
Bug 1260548: Part 1 - Factor out the common functionality of the tabs API. r=aswan
...
MozReview-Commit-ID: AS7asn6nXzr
2017-01-30 22:44:16 -08:00
Andrew Swan
d23b45b581
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Phil Ringnalda
5781d2a09e
Backed out 3 changesets (bug 1203330) for failures in test_delay_update_webextension.js
...
CLOSED TREE
Backed out changeset 2d42350d209a (bug 1203330)
Backed out changeset 3a12c51c3eca (bug 1203330)
Backed out changeset 31fac390e15d (bug 1203330)
2017-01-26 19:13:11 -08:00
Andrew Swan
99c8d3a692
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Tomislav Jovanovic
1b201ab5f6
Bug 1330167 - CookieStore.tabIds should be an array of tab IDs r=aswan
...
MozReview-Commit-ID: 7KuVKEEOhlv
2017-01-13 11:58:32 +01:00
Andrea Marchesini
ecbd185142
Bug 1322856 - Expose ContextualIdentities (aka containers) to WebExtensions - part 2, r=kmaglione
2016-12-17 18:41:28 +01:00
Andrea Marchesini
60a9d8c123
Bug 1322856 - Expose ContextualIdentities (aka containers) to WebExtensions - part 1, r=kmaglione
2016-12-17 18:41:02 +01:00
Sebastian Hengst
d273b12326
Backed out changeset 5a145b21bd64 (bug 1322856) for failing own test test_ext_contextual_identities.js. r=backout
2016-12-16 23:52:11 +01:00
Sebastian Hengst
ab4ecea36d
Backed out changeset 5db9fcefa874 (bug 1322856)
2016-12-16 23:50:59 +01:00
Andrea Marchesini
22a1217398
Bug 1322856 - Expose ContextualIdentities (aka containers) to WebExtensions - part 2, r=kmaglione
2016-12-16 22:01:24 +01:00
Andrea Marchesini
40b3b9a35c
Bug 1322856 - Expose ContextualIdentities (aka containers) to WebExtensions - part 1, r=kmaglione
2016-12-16 22:01:24 +01:00
Andrea Marchesini
b45c01c2f2
Bug 1302697 - Containers and WebExtensions - part 3 - getAllCookieStores, r=kmag
2016-10-28 10:16:32 +02:00
Andrea Marchesini
cdc3faae44
Bug 1302697 - Containers and WebExtensions - part 2 - Cookie API, r=kmag
2016-10-28 10:16:06 +02:00
Andrea Marchesini
bc1116fcdc
Bug 1302697 - Containers and WebExtensions - part 1 - Tab API, r=kmag
2016-10-28 10:15:42 +02:00
Jesper Kristensen
4b02f4ef0a
Bug 1254221 - Support private browsing cookies in WebExtensions r=kmag
...
MozReview-Commit-ID: 29ci8wbnMra
2016-09-29 19:18:14 +02:00
Phil Ringnalda
f9b2178711
Backed out changeset 9b6a4552a5c2 (bug 1254221) for test_ext_cookies.html timeouts and lint failures
...
CLOSED TREE
2016-09-27 18:21:01 -07:00
Jesper Kristensen
69262c1580
Bug 1254221 - Support private browsing cookies in WebExtensions r=kmag
...
MozReview-Commit-ID: 29ci8wbnMra
2016-05-15 12:18:13 +02:00
Rob Wu
812e170fe8
Bug 1287010 - Make environment of Context explicit. r=billm
...
- Add `envType` to BaseContext.
- Pass an explicit envType to all `registerSchemaAPI` invocations.
- The factories passed to `registerSchemaAPI` will be split up later, so
that content scripts (`content_child`) and addon pages can share
common implementations.
- The factories that implement the addon API will also be split up,
to separate code running in the main process (`addon_parent`) from
code running in a child process (`addon_child`).
- Remove the use of a hardcoded list of `namespaces` from ProxyContext.
Now `envType` is used to specify whether an API should be activated.
MozReview-Commit-ID: Jiff8HIwG92
2016-08-16 15:51:50 -07:00
Rob Wu
6efdd88867
Bug 1295082 - Put Extension in BaseContext r=kmag
...
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.
And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.
MozReview-Commit-ID: BgsGGCPQxJR
2016-08-15 01:04:58 -07:00
Sebastian Hengst
c7a498ffbd
Backed out changeset 0ce1cc39aa3d (bug 1295082) for timing out in test_ext_schemas_api_injection.js. r=backout
2016-08-18 16:47:09 +02:00
Rob Wu
6189daa99f
Bug 1295082 - Put Extension in BaseContext r=kmag
...
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.
And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.
MozReview-Commit-ID: BgsGGCPQxJR
2016-08-15 01:04:58 -07:00
Kris Maglione
843973aa31
Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
...
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Sebastian Hengst
d97f588f03
Backed out changeset a00cf073f5c0 (bug 1279392) for failing mochitest test_ext_contentscript_create_iframe.html at least on Linux x64 opt. r=backout
2016-06-14 13:37:52 +02:00
Kris Maglione
b2a33e3bf1
Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
...
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Tim Huang
f3c87ef67d
Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
2016-05-25 11:54:21 +08:00
Wes Kocher
18fc6fa5e3
Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
...
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Tim Huang
0a60cbfed3
Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
2016-05-18 20:42:00 -04:00
Andrea Marchesini
0d6b911fbc
Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm
2016-04-10 05:46:07 +01:00
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