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