diff options
Diffstat (limited to 'Source/WebCore/Modules/indexeddb/IDBKeyRange.idl')
-rw-r--r-- | Source/WebCore/Modules/indexeddb/IDBKeyRange.idl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl b/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl index c8367f749..8927ec9f7 100644 --- a/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl +++ b/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl @@ -25,17 +25,17 @@ [ Conditional=INDEXED_DATABASE, - JSNoStaticTables, ImplementationLacksVTable, ] interface IDBKeyRange { - [ImplementedAs=lowerValue,CallWith=ScriptExecutionContext] readonly attribute any lower; - [ImplementedAs=upperValue,CallWith=ScriptExecutionContext] readonly attribute any upper; + [OverrideIDLType=IDLIDBKey] readonly attribute any lower; + [OverrideIDLType=IDLIDBKey] readonly attribute any upper; readonly attribute boolean lowerOpen; readonly attribute boolean upperOpen; - [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange only(any value); - [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange lowerBound(any lower, optional boolean open); - [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange upperBound(any upper, optional boolean open); - [CallWith=ScriptExecutionContext, RaisesException] static IDBKeyRange bound(any lower, any upper, optional boolean lowerOpen, optional boolean upperOpen); -}; + [CallWith=ScriptState, MayThrowException] static IDBKeyRange only(any value); + [CallWith=ScriptState, MayThrowException] static IDBKeyRange lowerBound(any lower, optional boolean open = false); + [CallWith=ScriptState, MayThrowException] static IDBKeyRange upperBound(any upper, optional boolean open = false); + [CallWith=ScriptState, MayThrowException] static IDBKeyRange bound(any lower, any upper, optional boolean lowerOpen = false, optional boolean upperOpen = false); + [CallWith=ScriptState, MayThrowException] boolean includes(any key); +}; |