Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // https://github.com/WICG/indexed-db-observers/blob/gh-pages/EXPLAINER.md#recor ds | |
| 6 | |
| 7 enum IDBObserverChangesRecordType { | |
| 8 "add", "put", "del", "clear" | |
|
dmurph
2016/06/15 13:10:48
change back to "delete"
palakj1
2016/06/15 19:16:31
Done
| |
| 9 }; | |
| 10 // TODO(palakj): change del to delete, once keyword conflict resolved | |
| 11 [ | |
| 12 RuntimeEnabled=IDBObserver | |
| 13 ] | |
|
Marijn Kruisselbrink
2016/06/15 13:02:45
this also should have Exposed=(Window, Worker)
palakj1
2016/06/15 19:16:30
Done.
| |
| 14 interface IDBObserverChangesRecord { | |
| 15 readonly attribute IDBObserverChangesRecordType type; | |
| 16 // When the record is a "delete" type, this is an IDBKeyRange. | |
| 17 [CallWith=ScriptState] readonly attribute any key; | |
| 18 [CallWith=ScriptState] readonly attribute any value; | |
| 19 }; | |
| OLD | NEW |