Jan Varga
a62bad18a1
Bug 1570644 - Part 1: Fix a regression caused by bug 1556812; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D42464
--HG--
extra : rebase_source : 104e5782a7e94a16f2d7fd95e20684fbf8d0387e
2019-08-19 10:24:39 +02:00
Nicholas Nethercote
b634df9005
Bug 1573720
- Convert dom.storage.default.quota to a static pref. r=mccr8
...
This one was VarCached to two different variables in two different modules.
Differential Revision: https://phabricator.services.mozilla.com/D41920
--HG--
extra : moz-landing-system : lando
2019-08-15 05:31:38 +00:00
Tom Schuster
88855a7ee5
Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D40108
--HG--
extra : source : 3da6e9e86be4a4a9eeaceec222398475b6679193
2019-08-02 08:54:18 +00:00
Mihai Alexandru Michis
0cc257addd
Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE
...
Backed out changeset e44c9fd81e5b (bug 1558915)
Backed out changeset 3da6e9e86be4 (bug 1558915)
2019-08-02 12:17:42 +03:00
Tom Schuster
f115dd9113
Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D40108
--HG--
extra : moz-landing-system : lando
2019-08-02 08:54:18 +00:00
Barret Rennie
2b6653fdbe
Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/storage/ r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D36949
--HG--
extra : moz-landing-system : lando
2019-07-10 03:27:55 +00:00
Jonathan Kingston
31441f82ea
Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35504
--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Ehsan Akhgari
0e9483343e
Bug 1556812 - Only notify same-origin actors in LocalStorageCacheParent::RecvNotify(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D33867
--HG--
extra : moz-landing-system : lando
2019-06-07 15:09:21 +00:00
Narcis Beleuzu
3c50127358
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-06-05 00:51:07 +03:00
Narcis Beleuzu
790ffc99ca
Merge inbound to mozilla-central. a=merge
2019-06-05 00:43:34 +03:00
Nihanth Subramanya
203396c6e0
Bug 1555562 - Make sure LocalStorageManager::PrecacheStorage() passes in the real storage principal. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D33559
--HG--
extra : moz-landing-system : lando
2019-06-04 21:13:40 +00:00
Ehsan Akhgari
b79f2aaa94
Bug 1556859 - Remove SessionStorage::Clone(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D33703
--HG--
extra : moz-landing-system : lando
2019-06-04 21:09:03 +00:00
Ehsan Akhgari
8349684af8
Bug 1556093 - Use the storage principal when constructing a PBackgroundLocalStorageCache actor; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D33557
--HG--
extra : moz-landing-system : lando
2019-06-04 17:02:21 +00:00
Jan Varga
67c1136dd9
Bug 1556217 - LSNG: Add a test for large items; r=asuth, smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33417
2019-06-02 08:00:25 +02:00
Ehsan Akhgari
98809ae136
Bug 1555564 - Part 3: Make sure local storage manager caches the partitioned origins separately from each other; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D33118
--HG--
extra : moz-landing-system : lando
2019-05-30 12:09:42 +00:00
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
Sylvestre Ledru
d57d4905f1
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
arthur.iakab
af8e458c5f
Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE
2019-05-24 14:26:01 +03:00
Sylvestre Ledru
c82ea97226
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +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
d179c5015e
Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29354
--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:47 +00:00
Andrea Marchesini
f8565bf748
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:17 +00:00
Bogdan Tara
386d23bfe7
Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures
...
Backed out changeset 7c2f4e64d38e (bug 1320404)
Backed out changeset a7e7c0251179 (bug 1320404)
Backed out changeset dd741b25a244 (bug 1320404)
Backed out changeset de9073c57d20 (bug 1320404)
2019-05-03 06:12:25 +03:00
Andrea Marchesini
fad9354e10
Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29354
--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:53 +00:00
Andrea Marchesini
138cee6dea
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:51 +00:00
Cosmin Sabou
a884fb99d8
Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
...
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Andrea Marchesini
36718d66c8
Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29354
--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:54 +00:00
Andrea Marchesini
7e61125d8f
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:45 +00:00
Jan Varga
77fcbc5f34
Bug 1533651 - Don't check result of PSessionStorageObserverChild::SendDeleteMe; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D24878
2019-03-26 12:51:12 +01: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
Jan Varga
62cb092a89
Bug 1526615 - Part 2: Implement GenerateOriginKey2 which can be used on any thread; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D19283
2019-02-10 10:20:12 +01: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
Masatoshi Kimura
e25fbce870
Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor
...
--HG--
extra : source : ba86ea25070b37f4725834e1c2d9ec4c0783e119
2019-02-17 15:03:02 +09:00
Jan Varga
d0270542f0
Bug 1525291 - LSNG: Chrome observer notifications for session storage are not distributed to content processes; r=asuth,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D18809
2019-02-06 06:09:57 +01:00
Oana Pop Rus
f9cf535efc
Backed out changeset 04eecadabb48 (bug 1525291) for build bustages at build/src/obj-firefox/ipc/ipdl/PSessionStorageObserverChild.cpp on a CLOSED TREE
2019-02-07 11:33:00 +02:00
Jan Varga
93f5a88427
Bug 1525291 - LSNG: Chrome observer notifications for session storage are not distributed to content processes; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D18809
2019-02-06 06:09:57 +01:00
Andrea Marchesini
c433a88518
Bug 1515665 - SessionStorage should be allowed when StorageAccess is ePartitionedOrDeny, r=ehsan
2019-01-23 19:19:20 +01:00
Johann Hofmann
ee15b3664f
Bug 1483440 - Part 1 - Remove purge-domain-data, add purge-sessionStorage notification. r=baku
...
The browser:purge-domain-data notification had two different intentions,
- to clear session store information and
- to clear all localStorage and sessionStorage
Firing the notification accomplished both at the same time, which from a
user perspective is of course totally not understandable. This commit
removes purge-domain-data in favor of the two distinct purge-localStorage and
purge-sessionStorage events. This gives callers more granular choice on
what they want to clear.
Differential Revision: https://phabricator.services.mozilla.com/D16460
--HG--
extra : moz-landing-system : lando
2019-01-17 17:40:35 +00:00
Andrea Marchesini
d0c04ed6ee
Bug 1516023 - Remove LocalStorage::mPrincipal because unused, r=asuth
2019-01-04 00:12:22 +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
Andrew Sutherland
6c6e230a77
Bug 1286798 - Part 53: Review code comments; r=janv,mrbkap,mccr8
2018-11-05 14:04:39 -05:00
Jan Varga
ec6ab2e194
Bug 1286798 - Part 35: Implement database shadowing; r=asuth,janv
...
This adds synchronization to the global database used by previous local storage implementation.
This patch was enhanced by asuth to bind attached database path.
Places has shown that argument binding is necessary. (Profiles may include usernames in their path which can have cool emoji and such.)
2018-11-29 21:49:07 +01:00
Jan Varga
d87888fe25
Bug 1286798 - Part 31: Support for lazy loading of items; r=asuth,mrbkap,mccr8
...
There's now an upper limit for snapshot prefilling. The value is configurable and is currently set to 4096 bytes.
Snapshots can operate in multiple modes depending on if all items have been loaded or all keys have been received. This should provide the best performance for each specific state.
This patch also adds support for creating explicit snapshots which can be used for testing.
2018-11-29 21:48:54 +01:00
Jan Varga
0649224345
Bug 1286798 - Part 26: Implement a lazy data migration from old webappsstore.sqlite; r=asuth,janv
...
This patch was enhanced by asuth to bind attached database path.
Places has shown that argument binding is necessary. (Profiles may include usernames in their path which can have cool emoji and such.)
2018-11-29 21:48:38 +01:00