Index: modules/indexeddb/IDBKeyRange.idl |
diff --git a/modules/indexeddb/IDBKeyRange.idl b/modules/indexeddb/IDBKeyRange.idl |
index 93654fc25acb4c76d798d3fceabd5b787c94f993..a55200e4bb21898c82a2303641061c231baa3bf2 100644 |
--- a/modules/indexeddb/IDBKeyRange.idl |
+++ b/modules/indexeddb/IDBKeyRange.idl |
@@ -23,7 +23,10 @@ |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// http://www.w3.org/TR/IndexedDB/#idl-def-IDBKeyRange |
+ |
[ |
+ Exposed=(Window,Worker), |
GarbageCollected |
] interface IDBKeyRange { |
[ImplementedAs=lowerValue, CallWith=ScriptState] readonly attribute any lower; |
@@ -31,9 +34,8 @@ |
readonly attribute boolean lowerOpen; |
readonly attribute boolean upperOpen; |
- // FIXMEDART: Define new names for these (see b/4436830). |
- [CallWith=ExecutionContext, RaisesException, DartName=only_] static IDBKeyRange only(any value); |
- [CallWith=ExecutionContext, RaisesException, DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, optional boolean open = false); |
- [CallWith=ExecutionContext, RaisesException, DartName=upperBound_] static IDBKeyRange upperBound(any bound, optional boolean open = false); |
- [CallWith=ExecutionContext, RaisesException, DartName=bound_] static IDBKeyRange bound(any lower, any upper, optional boolean lowerOpen = false, optional boolean upperOpen = false); |
+ [CallWith=ExecutionContext, RaisesException] static IDBKeyRange only(any value); |
+ [CallWith=ExecutionContext, RaisesException] static IDBKeyRange lowerBound(any bound, optional boolean open = false); |
+ [CallWith=ExecutionContext, RaisesException] static IDBKeyRange upperBound(any bound, optional boolean open = false); |
+ [CallWith=ExecutionContext, RaisesException] static IDBKeyRange bound(any lower, any upper, optional boolean lowerOpen = false, optional boolean upperOpen = false); |
}; |