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

Unified Diff: Source/modules/indexeddb/IDBVersionChangeEvent.idl

Issue 386883008: Converted IDBVersionChangeEvent.dataLoss to an enumeration: IDBDataLossAmount (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added link to W3C's IDL spec Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/indexeddb/IDBVersionChangeEvent.idl
diff --git a/Source/modules/indexeddb/IDBVersionChangeEvent.idl b/Source/modules/indexeddb/IDBVersionChangeEvent.idl
index 3ee0c58a0a129b45c17ea87e35e85ff8b2f15570..faad143a8644c23cadd2c450e3f4380c3f9c971d 100644
--- a/Source/modules/indexeddb/IDBVersionChangeEvent.idl
+++ b/Source/modules/indexeddb/IDBVersionChangeEvent.idl
@@ -23,6 +23,12 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://www.w3.org/TR/IndexedDB/#idl-def-IDBVersionChangeEvent
+
+enum IDBDataLossAmount {
jsbell 2014/07/11 18:42:48 Add note (similar to below) that this is non-stand
cmumford 2014/07/11 20:53:05 Done.
+ "none",
+ "total"
+};
[
EventConstructor
] interface IDBVersionChangeEvent : Event {
@@ -31,6 +37,6 @@
// FIXME: These are non-standard, see
// https://www.w3.org/Bugs/Public/show_bug.cgi?id=22370
- readonly attribute DOMString dataLoss;
+ [InitializedByEventConstructor] readonly attribute IDBDataLossAmount dataLoss;
readonly attribute DOMString dataLossMessage;
};

Powered by Google App Engine
This is Rietveld 408576698