OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT | 42 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT |
43 attribute [Replaceable] WorkerContext self; | 43 attribute [Replaceable] WorkerContext self; |
44 #endif | 44 #endif |
45 attribute [Replaceable] WorkerLocation location; | 45 attribute [Replaceable] WorkerLocation location; |
46 void close(); | 46 void close(); |
47 attribute EventListener onerror; | 47 attribute EventListener onerror; |
48 | 48 |
49 // WorkerUtils | 49 // WorkerUtils |
50 [Custom] void importScripts(/*[Variadic] in DOMString urls */); | 50 [Custom] void importScripts(/*[Variadic] in DOMString urls */); |
51 attribute [Replaceable] WorkerNavigator navigator; | 51 attribute [Replaceable] WorkerNavigator navigator; |
52 // Database openDatabase(in DOMString name, in DOMString version, in DOM
String displayName, in unsigned long estimatedSize); | 52 #if defined(ENABLE_DATABASE) && ENABLE_DATABASE |
| 53 [EnabledAtRuntime] Database openDatabase(in DOMString name, in DOMString
version, in DOMString displayName, in unsigned long estimatedSize) |
| 54 raises(DOMException); |
| 55 #endif |
53 // DatabaseSync openDatabaseSync(in DOMString name, in DOMString version
, in DOMString displayName, in unsigned long estimatedSize); | 56 // DatabaseSync openDatabaseSync(in DOMString name, in DOMString version
, in DOMString displayName, in unsigned long estimatedSize); |
54 | 57 |
55 // Timers | 58 // Timers |
56 [Custom] long setTimeout(in TimeoutHandler handler, in long timeout); | 59 [Custom] long setTimeout(in TimeoutHandler handler, in long timeout); |
57 // [Custom] long setTimeout(in DOMString code, in long timeout); | 60 // [Custom] long setTimeout(in DOMString code, in long timeout); |
58 void clearTimeout(in long handle); | 61 void clearTimeout(in long handle); |
59 [Custom] long setInterval(in TimeoutHandler handler, in long timeout); | 62 [Custom] long setInterval(in TimeoutHandler handler, in long timeout); |
60 // [Custom] long setInterval(in DOMString code, in long timeout); | 63 // [Custom] long setInterval(in DOMString code, in long timeout); |
61 void clearInterval(in long handle); | 64 void clearInterval(in long handle); |
62 | 65 |
(...skipping 23 matching lines...) Expand all Loading... |
86 #if ENABLE_EVENTSOURCE | 89 #if ENABLE_EVENTSOURCE |
87 attribute [JSCCustomGetter] EventSourceConstructor EventSource; | 90 attribute [JSCCustomGetter] EventSourceConstructor EventSource; |
88 #endif | 91 #endif |
89 attribute [JSCCustomGetter] XMLHttpRequestConstructor XMLHttpRequest; | 92 attribute [JSCCustomGetter] XMLHttpRequestConstructor XMLHttpRequest; |
90 #if defined(ENABLE_WEB_SOCKETS) && ENABLE_WEB_SOCKETS | 93 #if defined(ENABLE_WEB_SOCKETS) && ENABLE_WEB_SOCKETS |
91 attribute [JSCCustomGetter,EnabledAtRuntime] WebSocketConstructor WebSoc
ket; // Usable with the new operator | 94 attribute [JSCCustomGetter,EnabledAtRuntime] WebSocketConstructor WebSoc
ket; // Usable with the new operator |
92 #endif | 95 #endif |
93 }; | 96 }; |
94 | 97 |
95 } | 98 } |
OLD | NEW |