From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/Modules/indexeddb/IDBKeyRange.idl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Source/WebCore/Modules/indexeddb/IDBKeyRange.idl') 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); +}; -- cgit v1.2.1