mirror of
https://github.com/servo/servo.git
synced 2025-07-19 05:13:55 +01:00
Move common indexeddb methods out of dom implementations (#38101)
A lot of shared functions were scattered around the dom files; I moved them into `indexed_db.rs` for clarity. Fixes: Nothing to my knowledge, just a cleanup Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
e10466b4c4
commit
f70a4eb4ff
8 changed files with 314 additions and 299 deletions
|
@ -12,7 +12,6 @@ use base::id::{MessagePortId, MessagePortIndex};
|
|||
use constellation_traits::MessagePortImpl;
|
||||
use dom_struct::dom_struct;
|
||||
use ipc_channel::ipc::IpcSharedMemory;
|
||||
use script_bindings::conversions::SafeToJSValConvertible;
|
||||
use js::jsapi::{Heap, JSObject};
|
||||
use js::jsval::{JSVal, ObjectValue, UndefinedValue};
|
||||
use js::rust::{
|
||||
|
@ -20,6 +19,7 @@ use js::rust::{
|
|||
MutableHandleValue as SafeMutableHandleValue,
|
||||
};
|
||||
use js::typedarray::ArrayBufferViewU8;
|
||||
use script_bindings::conversions::SafeToJSValConvertible;
|
||||
|
||||
use crate::dom::bindings::codegen::Bindings::QueuingStrategyBinding::QueuingStrategy;
|
||||
use crate::dom::bindings::codegen::Bindings::ReadableStreamBinding::{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue