mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Implement StorageManager API (#43976)
Add the Storage Standard WebIDL for NavigatorStorage and StorageManager, wire navigator.storage on Window and Worker, and implement persisted(), persist(), and estimate(). Testing: covered by WP test. part of #39100 fixes #39101 --------- Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
@@ -176,6 +176,8 @@ pub struct Preferences {
|
||||
// feature: Sanitizer API | #43948 | Web/API/HTML_Sanitizer_API
|
||||
pub dom_sanitizer_enabled: bool,
|
||||
pub dom_script_asynch: bool,
|
||||
// feature: Storage API | #43976 | Web/API/Storage_API
|
||||
pub dom_storage_manager_api_enabled: bool,
|
||||
// feature: ServiceWorker | #36538 | Web/API/Service_Worker_API
|
||||
pub dom_serviceworker_enabled: bool,
|
||||
pub dom_serviceworker_timeout_seconds: i64,
|
||||
@@ -392,6 +394,7 @@ impl Preferences {
|
||||
dom_resize_observer_enabled: true,
|
||||
dom_sanitizer_enabled: false,
|
||||
dom_script_asynch: true,
|
||||
dom_storage_manager_api_enabled: false,
|
||||
dom_serviceworker_enabled: false,
|
||||
dom_serviceworker_timeout_seconds: 60,
|
||||
dom_servo_helpers_enabled: false,
|
||||
|
||||
Reference in New Issue
Block a user