OLD | NEW |
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. |
11 * 2. Redistributions in binary form must reproduce the above copyright | 11 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 25 matching lines...) Loading... |
37 [ | 37 [ |
38 Exposed=(Window,Worker), | 38 Exposed=(Window,Worker), |
39 ActiveDOMObject, | 39 ActiveDOMObject, |
40 GarbageCollected | 40 GarbageCollected |
41 ] interface IDBTransaction : EventTarget { | 41 ] interface IDBTransaction : EventTarget { |
42 | 42 |
43 // Properties | 43 // Properties |
44 [Measure] readonly attribute DOMStringList objectStoreNames; | 44 [Measure] readonly attribute DOMStringList objectStoreNames; |
45 readonly attribute IDBTransactionMode mode; | 45 readonly attribute IDBTransactionMode mode; |
46 readonly attribute IDBDatabase db; | 46 readonly attribute IDBDatabase db; |
47 [Measure] readonly attribute DOMError error; | 47 readonly attribute DOMException error; |
48 | 48 |
49 // Methods | 49 // Methods |
50 [RaisesException] IDBObjectStore objectStore (DOMString name); | 50 [RaisesException] IDBObjectStore objectStore (DOMString name); |
51 [RaisesException] void abort (); | 51 [RaisesException] void abort (); |
52 | 52 |
53 // Events | 53 // Events |
54 attribute EventHandler onabort; | 54 attribute EventHandler onabort; |
55 attribute EventHandler oncomplete; | 55 attribute EventHandler oncomplete; |
56 attribute EventHandler onerror; | 56 attribute EventHandler onerror; |
57 }; | 57 }; |
OLD | NEW |