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

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

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 17 matching lines...) Expand all
28 28
29 enum IDBTransactionMode { 29 enum IDBTransactionMode {
30 "readonly", 30 "readonly",
31 "readwrite", 31 "readwrite",
32 "versionchange" 32 "versionchange"
33 }; 33 };
34 34
35 // https://w3c.github.io/IndexedDB/#idl-def-IDBTransaction 35 // https://w3c.github.io/IndexedDB/#idl-def-IDBTransaction
36 36
37 [ 37 [
38 ActiveScriptWrappable,
39 DependentLifetime,
38 Exposed=(Window,Worker), 40 Exposed=(Window,Worker),
39 DependentLifetime, 41 GarbageCollected,
40 GarbageCollected
41 ] interface IDBTransaction : EventTarget { 42 ] interface IDBTransaction : EventTarget {
42 43
43 // Properties 44 // Properties
44 [Measure] readonly attribute DOMStringList objectStoreNames; 45 [Measure] readonly attribute DOMStringList objectStoreNames;
45 readonly attribute IDBTransactionMode mode; 46 readonly attribute IDBTransactionMode mode;
46 readonly attribute IDBDatabase db; 47 readonly attribute IDBDatabase db;
47 readonly attribute DOMException error; 48 readonly attribute DOMException error;
48 49
49 // Methods 50 // Methods
50 [RaisesException] IDBObjectStore objectStore (DOMString name); 51 [RaisesException] IDBObjectStore objectStore (DOMString name);
51 [RaisesException] void abort (); 52 [RaisesException] void abort ();
52 53
53 // Events 54 // Events
54 attribute EventHandler onabort; 55 attribute EventHandler onabort;
55 attribute EventHandler oncomplete; 56 attribute EventHandler oncomplete;
56 attribute EventHandler onerror; 57 attribute EventHandler onerror;
57 }; 58 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698