summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/workers/WorkerContext.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/workers/WorkerContext.idl')
-rw-r--r--src/3rdparty/webkit/WebCore/workers/WorkerContext.idl11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/3rdparty/webkit/WebCore/workers/WorkerContext.idl b/src/3rdparty/webkit/WebCore/workers/WorkerContext.idl
index 709410a26..2404d228f 100644
--- a/src/3rdparty/webkit/WebCore/workers/WorkerContext.idl
+++ b/src/3rdparty/webkit/WebCore/workers/WorkerContext.idl
@@ -28,9 +28,10 @@ module threads {
interface [
Conditional=WORKERS,
- DelegatingGetOwnPropertySlot,
CustomMarkFunction,
+ DelegatingGetOwnPropertySlot,
ExtendsDOMGlobalObject,
+ IsWorkerContext,
LegacyParent=JSWorkerContextBase,
NoStaticTables
] WorkerContext {
@@ -41,7 +42,7 @@ module threads {
#endif
attribute [Replaceable] WorkerLocation location;
void close();
- // attribute EventListener onerror;
+ attribute EventListener onerror;
// WorkerUtils
[Custom] void importScripts(/*[Variadic] in DOMString urls */);
@@ -49,12 +50,6 @@ module threads {
// Database openDatabase(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize);
// DatabaseSync openDatabaseSync(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize);
-
- // DedicatedWorkerGlobalScope
- void postMessage(in DOMString message, in [Optional] MessagePort messagePort)
- raises(DOMException);
- attribute EventListener onmessage;
-
// Timers
[Custom] long setTimeout(in TimeoutHandler handler, in long timeout);
// [Custom] long setTimeout(in DOMString code, in long timeout);