Add initial IndexedDB Support

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

Co-authored-by: Rasmus Viitanen <rasviitanen@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
Ashwin Naren 2024-08-13 12:14:39 -07:00
parent cdff75bbd4
commit 0a79918849
No known key found for this signature in database
GPG key ID: D96D7DE56FBCB6B6
36 changed files with 3108 additions and 9 deletions

View file

@ -86,6 +86,10 @@ pub(crate) fn throw_dom_exception(
},
None => DOMErrorName::DataCloneError,
},
Error::Data => DOMErrorName::DataError,
Error::TransactionInactive => DOMErrorName::TransactionInactiveError,
Error::ReadOnly => DOMErrorName::ReadOnlyError,
Error::Version => DOMErrorName::VersionError,
Error::NoModificationAllowed => DOMErrorName::NoModificationAllowedError,
Error::QuotaExceeded => DOMErrorName::QuotaExceededError,
Error::TypeMismatch => DOMErrorName::TypeMismatchError,
@ -303,4 +307,4 @@ impl ErrorToJsval for Error {
JS_ClearPendingException(*cx);
}
}
}
}