Ehsan Akhgari
98960a9c41
Bug 1554361 - Move the high-level storage access check APIs to mozilla/StorageAccess.h; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D32556
--HG--
extra : moz-landing-system : lando
2019-05-27 14:06:49 +00:00
Andrea Marchesini
dc7545548e
Bug 1551055 - StoragePrincipal should be supported by localStorage - part 1, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D30801
--HG--
extra : moz-landing-system : lando
2019-05-14 05:49:46 +00:00
Ciure Andrei
f1dd75ca22
Backed out 3 changesets (bug 1551055) for causing xpcshell localStorage perma failures CLOSED TREE
...
Backed out changeset 21e44ad9c6df (bug 1551055)
Backed out changeset 8727e61ab69b (bug 1551055)
Backed out changeset d99a6769beb4 (bug 1551055)
--HG--
extra : rebase_source : 56f7fe5c54cd7e4109acce5074be1aba12e91086
2019-05-13 22:40:22 +03:00
Andrea Marchesini
e1b74991fb
Bug 1551055 - StoragePrincipal should be supported by localStorage - part 1, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D30801
--HG--
extra : moz-landing-system : lando
2019-05-13 18:42:36 +00:00
Andrea Marchesini
dc74d3e7a0
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 3 - LocalStorage and SessionStorage, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D18951
--HG--
extra : moz-landing-system : lando
2019-03-08 09:00:46 +00:00
Ciure Andrei
712dd2bb8c
Backed out 16 changesets (bug 1525245) for perma failing test_document_cookie.html CLOSED TREE
...
Backed out changeset 3fd27215698f (bug 1525245)
Backed out changeset d9a9e8e77873 (bug 1525245)
Backed out changeset 0e6f7be92e3f (bug 1525245)
Backed out changeset 6790802e2fa5 (bug 1525245)
Backed out changeset a5a9e01116ed (bug 1525245)
Backed out changeset 66e19a0c38dd (bug 1525245)
Backed out changeset fb90d51ba853 (bug 1525245)
Backed out changeset 4772db3625b3 (bug 1525245)
Backed out changeset 9affaf0cb998 (bug 1525245)
Backed out changeset a91b7ebe8bdd (bug 1525245)
Backed out changeset c2a13a7480e1 (bug 1525245)
Backed out changeset abe4482fa137 (bug 1525245)
Backed out changeset b3920c0bcf84 (bug 1525245)
Backed out changeset 0821b81f2724 (bug 1525245)
Backed out changeset 70bed2ad7899 (bug 1525245)
Backed out changeset 5f72ba232cc8 (bug 1525245)
2019-03-07 17:54:18 +02:00
Andrea Marchesini
e0374960e3
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 3 - LocalStorage and SessionStorage, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D18951
--HG--
extra : moz-landing-system : lando
2019-03-07 10:15:32 +00:00
Dorel Luca
ac34e1d973
Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
...
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Andrea Marchesini
4762f2ad6c
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 3 - LocalStorage and SessionStorage, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D18951
--HG--
extra : moz-landing-system : lando
2019-03-06 17:00:54 +00:00
Ryan Hunt
00e98538aa
Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21106
--HG--
extra : rebase_source : ea3f51c2c11247114deccbc86e90fb02b8a97257
2019-02-25 16:05:29 -06:00
Andrea Marchesini
c433a88518
Bug 1515665 - SessionStorage should be allowed when StorageAccess is ePartitionedOrDeny, r=ehsan
2019-01-23 19:19:20 +01:00
Margareta Eliza Balazs
d5a7e1c3a5
Backed out changeset 338f4fbbfddf (bug 1515665) for bc failures browser/components/sessionstore/test/browser_339445.js CLOSED TREE
2018-12-21 18:29:48 +02:00
Ehsan Akhgari
0439cf3142
Bug 1515665 - Ensure that DOM Storage checks the content blocking allow list when performing storage access checks; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15110
--HG--
extra : moz-landing-system : lando
2018-12-21 11:53:03 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jan Varga
9f71846e2a
Bug 1286798 - Part 4: Basic integration with QuotaManager; r=asuth
...
This adds a new quota client implementation, but only implements ShutdownWorkThreads.
At shutdown we wait for all running operations to finish including database actors which are closed by using an extra IPC message which avoids races between the parent and child.
Databases are dropped on the child side as soon as they are not used (e.g. after unlinking by the cycle collector).
2018-11-29 21:47:24 +01:00
Andrea Marchesini
375ae1c863
Bug 1505212 - Partitioned localStorage for 3rd party tracker pages, r=ehsan, r=asuth
...
LocalStorage needs to be exposed in every context except for sandboxes and
NullPrincipals (data: URLs, for instance). But we need to keep data
separate in some scenarios: private-browsing and trackers.
In private-browsing, LocalStorage keeps data in memory, and it shares
StorageEvents just with other origins in the same private-browsing
environment.
For Trackers, we expose a partitioned LocalStorage, which doesn't share
data with other contexts, and it's just in memory. Partitioned localStorage
is available only for trackers listed in the
privacy.restrict3rdpartystorage.partitionedHosts pref. See
nsContentUtils::IsURIInPrefList to know the syntax for the pref value.
2018-11-13 09:51:14 +01:00
Boris Zbarsky
5a90b528ce
Bug 1486932 part 2. Remove nsIDOMStorage. r=mccr8
2018-08-31 13:56:55 -04:00
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Nika Layzell
9a28c8db2e
Bug 1419597 - Part 12: Move storage pref enabled check into a static method on dom::Storage, r=asuth
...
MozReview-Commit-ID: 7qES6MrIxK9
2017-11-23 13:12:03 -05:00
Jonathan Watt
60fa0649f2
Bug 1406819 - Remove various bits of dead code from dom/. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D109
2017-10-11 10:09:13 +01:00
Bevis Tseng
a7505864a8
Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
...
--HG--
extra : rebase_source : 11319e568a51d16754a6a9990f76c35c86c2bda7
2017-07-26 16:13:35 +08:00
Andrea Marchesini
68ee090884
Bug 1333981 - Introduce StorageNotifierService for the dispatching of StorageEvent using the correct mainthread event target, r=billm
2017-07-06 19:35:33 +02:00
Sebastian Hengst
f48d2ca17a
Backed out changeset 326615f76fd9 (bug 1333981) for asserting in test_storageNotifications.html. r=backout
2017-07-06 15:16:36 +02:00
Andrea Marchesini
137ff0d2b0
Bug 1333981 - Introduce StorageNotifierService for the dispatching of StorageEvent using the correct mainthread event target, r=billm
2017-07-06 12:55:35 +02:00
Andrea Marchesini
ea8fdbd1e1
Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 10 - Move IsSessionOnly() in Storage class, r=asuth
2017-05-17 07:01:15 +02:00
Andrea Marchesini
24bdb3ece3
Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 5 - Shared broadcasting of changes, r=asuth
2017-05-17 07:01:14 +02:00
Andrea Marchesini
6bb2aff78b
Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 2 - Rename Storage.{cpp,h} to LocalStorage.{cpp,h}, r=asuth
...
--HG--
rename : dom/storage/Storage.cpp => dom/storage/LocalStorage.cpp
rename : dom/storage/Storage.h => dom/storage/LocalStorage.h
2017-05-17 07:01:13 +02:00
Andrea Marchesini
53a425959b
Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 1 - SessionStorage, r=asuth
2017-05-17 07:01:12 +02:00
Tim Taubert
1eae0fcd88
Bug 1361974 - Add nsIDOMWindowUtils API to check usage of a given storage r=mayhemer
2017-05-04 14:29:36 +02:00
Andrew Sutherland
8f55b3a3a3
Bug 1285898 - [e10s-multi] fixup PContent ordering via immediate event dispatch. r=baku
...
--HG--
extra : rebase_source : 2c905ab2a4d3d758e7cee8ba8ad4752b5f05aa65
extra : source : 15b3b9feb54f294171eaf86e7ad4b13c73e11d25
2017-01-31 03:42:38 -05:00
Andrew Sutherland
e81f0b98a9
Bug 1285898 - [e10s-multi] LocalStorage e10s multiple write avoidance. r=baku
...
--HG--
extra : rebase_source : 2f6c19aeea1676ac8bffcd075f0dbaf828481ffa
extra : intermediate-source : bc99844772ee5452c313448bfdb0866428f1bcb1
extra : source : bd68ebab64faaabe9a9d4cc294fc4243ca9d8cc3
2017-01-24 06:45:11 -05:00
Andrea Marchesini
d32aa97041
Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth
...
--HG--
extra : rebase_source : 724b38c52139dee1c6f746152fefff05333dfc24
extra : intermediate-source : e56108122b9088555f29a28e6086d4d117a68c4e
extra : source : 6681b50c1f6d0d2d22d5f631234402e020c0b78a
2017-02-19 22:16:48 -05:00
Bill McCloskey
194043ae97
Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
...
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
Phil Ringnalda
b1aadb3572
Backed out 5 changesets (bug 1285898) for causing the crashes of bug 1336242
...
Backed out changeset 15b3b9feb54f (bug 1285898)
Backed out changeset 1d0bfb02d6c0 (bug 1285898)
Backed out changeset bc99844772ee (bug 1285898)
Backed out changeset 8bbe285cf5c0 (bug 1285898)
Backed out changeset e56108122b90 (bug 1285898)
2017-02-02 22:02:24 -08:00
Andrew Sutherland
246770dae0
Bug 1285898 - [e10s-multi] fixup PContent ordering via immediate event dispatch. r=baku
...
--HG--
extra : rebase_source : 5cb6cd38cd099abbbc9fa9c73e3726cc729b6bf5
2017-01-31 03:42:38 -05:00
Andrew Sutherland
df205e0505
Bug 1285898 - [e10s-multi] LocalStorage e10s multiple write avoidance. r=baku
...
--HG--
extra : rebase_source : 886332cf04667d720f32456f5831764fdd022c81
extra : source : bd68ebab64faaabe9a9d4cc294fc4243ca9d8cc3
2017-01-24 06:45:11 -05:00
Andrea Marchesini
1e58b980f5
Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth
...
--HG--
extra : rebase_source : 9968fd96960aecd516bfcc5c239b9de85280ab8a
extra : source : 6681b50c1f6d0d2d22d5f631234402e020c0b78a
2017-01-17 15:43:12 -05:00
Phil Ringnalda
85843f4cff
Backed out 4 changesets (bug 1285898) for browser_localStorage_e10s.js failure
...
Backed out changeset 9c6057cde326 (bug 1285898)
Backed out changeset bd68ebab64fa (bug 1285898)
Backed out changeset 6fdb24e1256d (bug 1285898)
Backed out changeset 6681b50c1f6d (bug 1285898)
2017-01-30 21:49:42 -08:00
Andrew Sutherland
e36c53a285
Bug 1285898 - [e10s-multi] LocalStorage e10s multiple write avoidance. r=baku
2017-01-30 22:47:45 -05:00
Andrea Marchesini
db2311e1e0
Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth
2017-01-30 22:47:06 -05:00
Ehsan Akhgari
43c1d4a481
Bug 1319951 - Partially revert the changes from bug 1283281 to handle the case where DOM Storage is accessed with the system principal exactly like before; r=baku
2017-01-20 10:57:07 -05:00
Andrea Marchesini
bc98b07905
Bug 1322550 - Rename DOMStorage to Storage, r=smaug
...
--HG--
rename : dom/storage/DOMStorage.cpp => dom/storage/Storage.cpp
rename : dom/storage/DOMStorage.h => dom/storage/Storage.h
rename : dom/storage/DOMStorageCache.cpp => dom/storage/StorageCache.cpp
rename : dom/storage/DOMStorageCache.h => dom/storage/StorageCache.h
rename : dom/storage/DOMStorageDBThread.cpp => dom/storage/StorageDBThread.cpp
rename : dom/storage/DOMStorageDBThread.h => dom/storage/StorageDBThread.h
rename : dom/storage/DOMStorageDBUpdater.cpp => dom/storage/StorageDBUpdater.cpp
rename : dom/storage/DOMStorageDBUpdater.h => dom/storage/StorageDBUpdater.h
rename : dom/storage/DOMStorageIPC.cpp => dom/storage/StorageIPC.cpp
rename : dom/storage/DOMStorageIPC.h => dom/storage/StorageIPC.h
rename : dom/storage/DOMStorageManager.cpp => dom/storage/StorageManager.cpp
rename : dom/storage/DOMStorageManager.h => dom/storage/StorageManager.h
rename : dom/storage/DOMStorageObserver.cpp => dom/storage/StorageObserver.cpp
rename : dom/storage/DOMStorageObserver.h => dom/storage/StorageObserver.h
2017-01-04 14:53:01 +01:00