Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBIndex.idl

Issue 2837373002: Indexed DB: Remove unnecessary defaults for optional args (Closed)
Patch Set: rebased Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 18 matching lines...) Expand all
29 Exposed=(Window,Worker), 29 Exposed=(Window,Worker),
30 ] interface IDBIndex { 30 ] interface IDBIndex {
31 [RaisesException=Setter] attribute DOMString name; 31 [RaisesException=Setter] attribute DOMString name;
32 [SameObject] readonly attribute IDBObjectStore objectStore; 32 [SameObject] readonly attribute IDBObjectStore objectStore;
33 [CallWith=ScriptState] readonly attribute any keyPath; 33 [CallWith=ScriptState] readonly attribute any keyPath;
34 readonly attribute boolean multiEntry; 34 readonly attribute boolean multiEntry;
35 readonly attribute boolean unique; 35 readonly attribute boolean unique;
36 36
37 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest get(any key); 37 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest get(any key);
38 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getKey(any key ); 38 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getKey(any key );
39 // TODO(cmumford): 0xFFFFFFFF is not necessary. Remove once crbug.com/335871 is fixed. 39 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getAll([Defaul t=Undefined] optional any query,
40 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getAll([Defaul t=Undefined] optional any range, 40 [Enforc eRange] optional unsigned long count);
41 [Enforc eRange] optional unsigned long maxCount = 0xFFFFFFFF); 41 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getAllKeys([De fault=Undefined] optional any query,
42 // TODO(cmumford): 0xFFFFFFFF is not necessary. Remove once crbug.com/335871 is fixed. 42 [En forceRange] optional unsigned long count);
43 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getAllKeys([De fault=Undefined] optional any range,
44 [En forceRange] optional unsigned long maxCount = 0xFFFFFFFF);
45 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest count([Default =Undefined] optional any key); 43 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest count([Default =Undefined] optional any key);
46 44
47 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest openCursor([De fault=Undefined] optional any range, 45 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest openCursor([De fault=Undefined] optional any range,
48 opt ional IDBCursorDirection direction = "next"); 46 opt ional IDBCursorDirection direction = "next");
49 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest openKeyCursor( [Default=Undefined] optional any range, 47 [NewObject, CallWith=ScriptState, RaisesException] IDBRequest openKeyCursor( [Default=Undefined] optional any range,
50 optional IDBCursorDirection direction = "next"); 48 optional IDBCursorDirection direction = "next");
51 }; 49 };
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698