Граф коммитов

36 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
Ehsan Akhgari 9573bffa13 Bug 1492039 - Remove the XPCOM component registration for SessionStorageManager; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6118
2018-09-18 09:42:43 -04:00
Sebastian Hengst 1f7ce23748 Bug 1483493 - Use 'Core :: DOM: Web Storage' in meta data for related files to create bugs in that component. r=janv
Differential Revision: https://phabricator.services.mozilla.com/D3401

--HG--
extra : moz-landing-system : lando
2018-08-15 09:22:45 +00:00
Masatoshi Kimura 3b21b7868b Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
--HG--
extra : rebase_source : c09366fb93e5b0f72abe1e99d3094e3d96a934fb
extra : intermediate-source : 5950c9d63c3b4fd63a25464a7b50944aaec7079f
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Jan Varga 5f8daf01d9 Bug 1462162 - Filter local storage cache synchronization messages based on origin; r=asuth
This patch adds a new IPDL protocol PBackgroundLocalStorageCache. It is used by LocalStorageCache object to broadcast changes in local storage cache to other content processes. Each origin has its own PBackgroundLocalStorageCache, so now we can notify content processes that actually have a local storage cache for given origin. This greatly improves performance and reduces memory footprint especialy when local storage changes carry big strings and/or happen very quickly (before this patch all child processes were blindly notified).
2018-07-14 08:34:14 +02:00
Andrea Marchesini 4a97618634 Bug 1252998 - StorageActivityService - part 1 - Introduce StorageActivityService to monitor origin activities, r=asuth 2018-04-18 18:19:10 +02:00
Jan Varga ceff0f7d8f Bug 1350637 - Part 1: Move PStorage stubs from PContent to PBackground; r=asuth r=billm
--HG--
rename : dom/storage/PStorage.ipdl => dom/storage/PBackgroundStorage.ipdl
2017-08-08 22:56:49 +02:00
Andrea Marchesini 3061742432 Bug 1379568 - Filtering for StorageEvent broadcasting, r=asuth 2017-07-26 15:55:51 +02:00
Sebastian Hengst 88f58a1134 Backed out changeset 960a0dc9092f (bug 1379568) for frequently timing out web-platform-test /webstorage/storage_setitem.html. r=backout 2017-07-12 19:04:44 +02:00
Andrea Marchesini 7ab90de6be Bug 1379568 - Filtering for StorageEvent broadcasting, r=asuth 2017-07-12 14:49:05 +02: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 44f653e013 Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 9 - Move SessionStorageCache in separate files, r=asuth
--HG--
rename : dom/storage/SessionStorage.cpp => dom/storage/SessionStorageCache.cpp
rename : dom/storage/SessionStorage.h => dom/storage/SessionStorageCache.h
2017-05-17 07:01:14 +02:00
Andrea Marchesini 4d15e9cb30 Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 8 - Rename StorageCache to LocalStorageCache, r=asuth
--HG--
rename : dom/storage/StorageCache.cpp => dom/storage/LocalStorageCache.cpp
rename : dom/storage/StorageCache.h => dom/storage/LocalStorageCache.h
2017-05-17 07:01:14 +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 9ace5e5eb5 Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 4 - Rename StorageManagerBase to LocalStorageManager, r=asuth
--HG--
rename : dom/storage/StorageManager.cpp => dom/storage/LocalStorageManager.cpp
rename : dom/storage/StorageManager.h => dom/storage/LocalStorageManager.h
2017-05-17 07:01:14 +02:00
Andrea Marchesini 92cdd8d98b Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 3 - SessionStorageManager, 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
Joel Maher c203f27827 Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Sebastian Hengst 7225ec6170 Backed out changeset 9a332af74af5 (bug 1335099) for build bustage (moz.build rule matches no files). r=backout on a CLOSED TREE 2017-02-06 16:21:20 +01:00
Joel Maher 60e61eed48 Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -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
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Honza Bambas a0a6f7e23c Bug 1165214 - Use OriginAttributes in DOM Storage. r=smaug, r=bholley
--HG--
extra : rebase_source : b63ddb5a24a335f771a856cd20c69cdeb0c92ca0
2016-01-05 07:25:00 -05:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
David Major ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Birunthan Mohanathas defd5128d0 Bug 1058101 - Move dom/src/storage/ into dom/. r=mccr8
--HG--
rename : dom/src/storage/DOMStorage.cpp => dom/storage/DOMStorage.cpp
rename : dom/src/storage/DOMStorage.h => dom/storage/DOMStorage.h
rename : dom/src/storage/DOMStorageCache.cpp => dom/storage/DOMStorageCache.cpp
rename : dom/src/storage/DOMStorageCache.h => dom/storage/DOMStorageCache.h
rename : dom/src/storage/DOMStorageDBThread.cpp => dom/storage/DOMStorageDBThread.cpp
rename : dom/src/storage/DOMStorageDBThread.h => dom/storage/DOMStorageDBThread.h
rename : dom/src/storage/DOMStorageIPC.cpp => dom/storage/DOMStorageIPC.cpp
rename : dom/src/storage/DOMStorageIPC.h => dom/storage/DOMStorageIPC.h
rename : dom/src/storage/DOMStorageManager.cpp => dom/storage/DOMStorageManager.cpp
rename : dom/src/storage/DOMStorageManager.h => dom/storage/DOMStorageManager.h
rename : dom/src/storage/DOMStorageObserver.cpp => dom/storage/DOMStorageObserver.cpp
rename : dom/src/storage/DOMStorageObserver.h => dom/storage/DOMStorageObserver.h
rename : dom/src/storage/PStorage.ipdl => dom/storage/PStorage.ipdl
rename : dom/src/storage/moz.build => dom/storage/moz.build
2014-08-30 21:43:46 -07:00