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

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: Rebase required due to the WebCore -> bling namespace rename. 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
« no previous file with comments | « Source/modules/indexeddb/IDBVersionChangeEvent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBVersionChangeEvent.idl
diff --git a/Source/modules/indexeddb/IDBVersionChangeEvent.idl b/Source/modules/indexeddb/IDBVersionChangeEvent.idl
index 3ee0c58a0a129b45c17ea87e35e85ff8b2f15570..2f7360317aaa91b0c049c1684b342e36c71fa34e 100644
--- a/Source/modules/indexeddb/IDBVersionChangeEvent.idl
+++ b/Source/modules/indexeddb/IDBVersionChangeEvent.idl
@@ -23,6 +23,14 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://www.w3.org/TR/IndexedDB/#idl-def-IDBVersionChangeEvent
+
+// FIXME: This enum is non-standard, see
+// https://www.w3.org/Bugs/Public/show_bug.cgi?id=22370
+enum IDBDataLossAmount {
+ "none",
+ "total"
+};
[
EventConstructor
] interface IDBVersionChangeEvent : Event {
@@ -31,6 +39,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;
};
« no previous file with comments | « Source/modules/indexeddb/IDBVersionChangeEvent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698