• Home
  • Raw
  • Download

Lines Matching refs:LocalStorage

372         The original decision to key LocalStorage sets to PageGroups was a poor one.
377 In this patch, I am not attempting to completely sever the attachment of LocalStorage
384 * storage/LocalStorage.cpp:
385 (WebCore::localStorageMap): Map paths to LocalStorage objects here.
386 (WebCore::LocalStorage::localStorage): Return the shared LocalStorage object for this path,
388 (WebCore::LocalStorage::LocalStorage):
389 (WebCore::LocalStorage::~LocalStorage): Add to remove the path->LocalStorage mapping
390 * storage/LocalStorage.h:
16412 * storage/LocalStorage.cpp:
16413 (WebCore::LocalStorage::scheduleImport):
16436 Fix hang I introduced to WebKit clients without their LocalStorage paths set
16439 * storage/LocalStorage.cpp:
16440 (WebCore::LocalStorage::scheduleImport): Return a bool, namely to signify
16442 * storage/LocalStorage.h:
16494 <rdar://problem/5946834> - LocalStorage threads appearing in apps that don't want them.
16496 …ded to fix this bug from a few different avenues to make sure we only create LocalStorage resources
16500 …(WebCore::DOMWindow::localStorage): Account for the possibility that the LocalStorage object might…
16502 * storage/LocalStorage.cpp:
16503 …(WebCore::LocalStorage::LocalStorage): Don't create the thread if there is no path name - we know …
16505 (WebCore::LocalStorage::scheduleImport): Null check the thread, as it might not exist.
16506 (WebCore::LocalStorage::scheduleSync): Ditto
22499 * storage/LocalStorage.cpp:
22500 (WebCore::LocalStorage::storageArea):
22501 …(WebCore::LocalStorage::close): Tell each LocalStorageArea to schedule it's final sync before sche…
22503 * storage/LocalStorage.h: Change the map to be of LocalStorageAreas instead of StorageAreas
22629 Make LocalStorage persistent using a SQLite database.
22640 … When a page first accesses it's LocalStorage area, we begin to import all items in from disk so
22642 moment we start loading a page when we know that page has LocalStorage.
22677 * storage/LocalStorage.cpp:
22678 …(WebCore::LocalStorage::fullDatabaseFilename): Filename extensions for localstorage = all lowercase
22684 Preparation for upcoming work making LocalStorage persistent.
22686 The final step before code that actually does storage and retrieval of LocalStorage items.
22688 The LocalStorage set is responsible for controlling the path and filenames that individual
22695 * storage/LocalStorage.cpp:
22696 (WebCore::LocalStorage::storageArea): Add some comments re: the future direction of this
22698 (WebCore::LocalStorage::fullDatabaseFilename):
22699 (WebCore::LocalStorage::scheduleImport):
22700 (WebCore::LocalStorage::scheduleSync):
22701 * storage/LocalStorage.h:
22891 Preparation for upcoming work making LocalStorage persistent.
22893 Writing persistent values for LocalStorage will take place on a background thread.
22898 … mark the work that needs to be done and come in 5 flavors: Import and Sync a LocalStorage set,
22903 … 1 - Each PageGroup has its own LocalStorage set. Upon its creation its LocalStorageThread is
22916 * storage/LocalStorage.cpp: Add some threading ASSERTs to make it clear which thread each
22918 (WebCore::LocalStorage::LocalStorage):
22919 (WebCore::LocalStorage::storageArea):
22920 (WebCore::LocalStorage::performImport): Placeholder for importing known origins and quotas
22921 (WebCore::LocalStorage::performSync): Placeholder for writing out updated origins and quotas
22922 (WebCore::LocalStorage::close): Synchronously terminate the thread.
22923 * storage/LocalStorage.h:
23255 Preparation for upcoming work making LocalStorage persistent.
23264 (WebCore::PageGroup::closeLocalStorage): Close all open LocalStorage objects
23267 * storage/LocalStorage.cpp:
23268 (WebCore::LocalStorage::close): Placeholder for what will sync and terminate the
23270 * storage/LocalStorage.h:
23295 Preparation for upcoming work making LocalStorage persistent.
23307 Preparation for upcoming work making LocalStorage persistent.
23309 - Create the LocalStorage object for a PageGroup the moment the first Page is added to it
23310 The Settings of the first Page define what persistent path the LocalStorage will use
23321 * storage/LocalStorage.cpp:
23322 (WebCore::LocalStorage::LocalStorage): Take the path as a constructor argument. Deep copy
23324 (WebCore::LocalStorage::storageArea):
23325 * storage/LocalStorage.h:
23326 (WebCore::LocalStorage::create):
23332 Preparation for upcoming work making LocalStorage persistent.
23335 For LocalStorage, we never want this behavior. When we forcefully import items into
23336 a StorageMap from the LocalStorage background thread, this new import method will be used.
26080 * storage/LocalStorage.h: Ditto.
29026 else that will be per-PageGroup in the future (such as LocalStorage).
29441 * GNUmakefile.am: Back out the previous LocalStorage, etc. additions
29463 the storage/ include path to avoid conflict of storage/LocalStorage.h
29464 with kjs/LocalStorage.h
29465 * page/PageGroup.h: Include LocalStorage.h instead of forward
29473 * storage/LocalStorage.h: Include LocalStorageArea.h instead of
29760 Before things get much more intertwined, move away from a global LocalStorage model
29761 to a per-PageGroup LocalStorage model.
29765 LocalStorage (which doesn't exist anymore).
29769 (WebCore::PageGroup::localStorage): Create a LocalStorage object on demand.
29772 * storage/LocalStorage.cpp:
29773 (WebCore::LocalStorage::LocalStorage): Hold a back pointer to the owning PageGroup.
29774 (WebCore::LocalStorage::storageArea):
29775 * storage/LocalStorage.h:
29776 (WebCore::LocalStorage::create):
29779 … (WebCore::LocalStorageArea::LocalStorageArea): Hold a back pointer to the owning LocalStorage.
30084 and LocalStorage instantiate the appropriate type of StorageArea object.
30086 This purpose of this change is because while adding the persistent store to LocalStorage,
30099 * storage/LocalStorage.cpp:
30100 (WebCore::LocalStorage::storageArea):
30101 * storage/LocalStorage.h:
31253 * storage/LocalStorage.cpp:
31254 (WebCore::LocalStorage::dispatchStorageEvent): Walk every Page in the PageGroup, adding
31259 (WebCore::SessionStorage::dispatchStorageEvent): Adopt the technique used in LocalStorage,
31328 Lay the underpinnings for LocalStorage.
31352 * storage/LocalStorage.cpp: Added.
31353 (WebCore::LocalStorage::sharedLocalStorage):
31354 (WebCore::LocalStorage::LocalStorage):
31355 (WebCore::LocalStorage::storageArea):
31356 (WebCore::LocalStorage::itemChanged):
31357 (WebCore::LocalStorage::itemRemoved):
31358 (WebCore::LocalStorage::dispatchStorageEvent):
31359 * storage/LocalStorage.h: Added.
31382 … This way, both SessionStorage and LocalStorage areas can have different behavior on changes with
31829 and StorageAreas that represent LocalStorage won't have an owner Page.
33782 <rdar://problem/5797684> - HTML5 SessionStorage and underpinnings for LocalStorage