Index: core/loader/appcache/ApplicationCache.idl |
diff --git a/core/loader/appcache/ApplicationCache.idl b/core/loader/appcache/ApplicationCache.idl |
index 7f8e07c8140560c664c57ec3d3a26344191fa2bd..de2ca5f08683ba68ad190a7e4fbf7d2a1d81d1ee 100644 |
--- a/core/loader/appcache/ApplicationCache.idl |
+++ b/core/loader/appcache/ApplicationCache.idl |
@@ -23,9 +23,12 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://html.spec.whatwg.org/#application-cache-api |
+ |
[ |
DoNotCheckConstants, |
- WillBeGarbageCollected, |
+ GarbageCollected, |
+ // TODO(philipj): Exposed=(Window,SharedWorker) |
] interface ApplicationCache : EventTarget { |
// update status |
const unsigned short UNCACHED = 0; |
@@ -36,9 +39,10 @@ |
const unsigned short OBSOLETE = 5; |
readonly attribute unsigned short status; |
+ // updates |
[RaisesException] void update(); |
- [RaisesException] void swapCache(); |
void abort(); |
+ [RaisesException] void swapCache(); |
// events |
attribute EventHandler onchecking; |
@@ -50,4 +54,3 @@ |
attribute EventHandler oncached; |
attribute EventHandler onobsolete; |
}; |
- |