mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
indexeddb: Support enabling IndexedDB after startup (#39177)
The servodriver harness requires preference-gated web platform features to be toggleable at any point in the browsing session's lifetime, rather than at startup. To support toggling IndexedDB, we need to ensure the IDB manager thread is always started. Testing: Verified when running `./mach test-wpt /IndexedDB --headless --product servodriver`. We don't run servodriver in CI yet. Fixes: #39175 --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
b5d6555238
commit
c490033c52
3 changed files with 20 additions and 11 deletions
|
@ -224,9 +224,6 @@ impl IndexedDBManager {
|
|||
|
||||
impl IndexedDBManager {
|
||||
fn start(&mut self) {
|
||||
if !pref!(dom_indexeddb_enabled) {
|
||||
return;
|
||||
}
|
||||
loop {
|
||||
// FIXME:(arihant2math) No message *most likely* means that
|
||||
// the ipc sender has been dropped, so we break the look
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue