mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
auto merge of #3693 : ehsan/servo/3248, r=jdm
This fixes #3248. r? @jdm. Please review for mistakes mercilessly! Also, I got a host of test failures when running the worker tests, not sure if these tests are expected to pass locally or not.
This commit is contained in:
commit
a6001329b8
7 changed files with 27 additions and 18 deletions
|
@ -5,6 +5,7 @@
|
|||
// http://www.whatwg.org/html/#dedicatedworkerglobalscope
|
||||
[Global/*=Worker,DedicatedWorker*/]
|
||||
/*sealed*/ interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
|
||||
[Throws]
|
||||
void postMessage(any message/*, optional sequence<Transferable> transfer*/);
|
||||
attribute EventHandler onmessage;
|
||||
};
|
||||
|
|
|
@ -14,6 +14,7 @@ interface AbstractWorker {
|
|||
interface Worker : EventTarget {
|
||||
//void terminate();
|
||||
|
||||
[Throws]
|
||||
void postMessage(any message/*, optional sequence<Transferable> transfer*/);
|
||||
attribute EventHandler onmessage;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue