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

Side by Side Diff: third_party/WebKit/Source/modules/indexeddb/IDBRequest.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 19 matching lines...) Expand all
30 // http://www.w3.org/TR/IndexedDB/#idl-def-IDBRequestReadyState 30 // http://www.w3.org/TR/IndexedDB/#idl-def-IDBRequestReadyState
31 31
32 enum IDBRequestReadyState { 32 enum IDBRequestReadyState {
33 "pending", 33 "pending",
34 "done" 34 "done"
35 }; 35 };
36 36
37 // http://www.w3.org/TR/IndexedDB/#idl-def-IDBRequest 37 // http://www.w3.org/TR/IndexedDB/#idl-def-IDBRequest
38 38
39 [ 39 [
40 ActiveScriptWrappable,
41 DependentLifetime,
40 Exposed=(Window,Worker), 42 Exposed=(Window,Worker),
41 DependentLifetime,
42 GarbageCollected, 43 GarbageCollected,
43 ] interface IDBRequest : EventTarget { 44 ] interface IDBRequest : EventTarget {
44 [RaisesException=Getter, CachedAttribute=isResultDirty] readonly attribute a ny result; 45 [RaisesException=Getter, CachedAttribute=isResultDirty] readonly attribute a ny result;
45 [RaisesException=Getter] readonly attribute DOMException error; 46 [RaisesException=Getter] readonly attribute DOMException error;
46 47
47 readonly attribute any source; 48 readonly attribute any source;
48 readonly attribute IDBTransaction transaction; 49 readonly attribute IDBTransaction transaction;
49 50
50 // States 51 // States
51 readonly attribute IDBRequestReadyState readyState; 52 readonly attribute IDBRequestReadyState readyState;
52 53
53 // Events 54 // Events
54 attribute EventHandler onsuccess; 55 attribute EventHandler onsuccess;
55 attribute EventHandler onerror; 56 attribute EventHandler onerror;
56 }; 57 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698