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

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

Issue 1873323002: Have bindings layer assume and insist that all interface types are GCed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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 20 matching lines...) Expand all
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, 38 ActiveScriptWrappable,
39 DependentLifetime, 39 DependentLifetime,
40 Exposed=(Window,Worker), 40 Exposed=(Window,Worker),
41 GarbageCollected,
42 ] interface IDBTransaction : EventTarget { 41 ] interface IDBTransaction : EventTarget {
43 42
44 // Properties 43 // Properties
45 [Measure] readonly attribute DOMStringList objectStoreNames; 44 [Measure] readonly attribute DOMStringList objectStoreNames;
46 readonly attribute IDBTransactionMode mode; 45 readonly attribute IDBTransactionMode mode;
47 readonly attribute IDBDatabase db; 46 readonly attribute IDBDatabase db;
48 readonly attribute DOMException error; 47 readonly attribute DOMException error;
49 48
50 // Methods 49 // Methods
51 [RaisesException] IDBObjectStore objectStore (DOMString name); 50 [RaisesException] IDBObjectStore objectStore (DOMString name);
52 [RaisesException] void abort (); 51 [RaisesException] void abort ();
53 52
54 // Events 53 // Events
55 attribute EventHandler onabort; 54 attribute EventHandler onabort;
56 attribute EventHandler oncomplete; 55 attribute EventHandler oncomplete;
57 attribute EventHandler onerror; 56 attribute EventHandler onerror;
58 }; 57 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698