diff options
Diffstat (limited to 'WebCore/workers/WorkerContext.idl')
-rw-r--r-- | WebCore/workers/WorkerContext.idl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/workers/WorkerContext.idl b/WebCore/workers/WorkerContext.idl index 2404d22..6a4a7fa 100644 --- a/WebCore/workers/WorkerContext.idl +++ b/WebCore/workers/WorkerContext.idl @@ -69,6 +69,10 @@ module threads { boolean dispatchEvent(in Event evt) raises(EventException); +#if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS + // Notification interface + readonly attribute NotificationCenter webkitNotifications; +#endif // Constructors attribute MessageEventConstructor MessageEvent; @@ -77,6 +81,9 @@ module threads { #if ENABLE_CHANNEL_MESSAGING attribute [JSCCustomGetter] MessageChannelConstructor MessageChannel; #endif +#if ENABLE_EVENTSOURCE + attribute [JSCCustomGetter] EventSourceConstructor EventSource; +#endif attribute [JSCCustomGetter] XMLHttpRequestConstructor XMLHttpRequest; }; |