mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
script: Add a Constraint DOMException
for IndexedDB (#37605)
Add Constraint DOMException to handle the name conflict error in `IDBDatabase::createObjectStore` method. Testing: `./mach test-wpt tests/wpt/tests/IndexedDB/`, but it seems there are many test failures even in main branch already ([related comment](https://github.com/servo/servo/pull/37605#issuecomment-2993889163)). Fixes: #37571 --------- Signed-off-by: iamlockon <xdddxyyyxzzz123@gmail.com>
This commit is contained in:
parent
12d262ec23
commit
204af81d2c
4 changed files with 9 additions and 2 deletions
|
@ -70,6 +70,8 @@ pub enum Error {
|
|||
NotAllowed,
|
||||
/// EncodingError DOMException
|
||||
Encoding,
|
||||
/// ConstraintError DOMException
|
||||
Constraint,
|
||||
|
||||
/// TypeError JavaScript Error
|
||||
Type(String),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue