mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
Issue #2197 - Part 2b: Implement StructuredSerializeOptions for Worker
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1502802
This commit is contained in:
parent
fd982fd298
commit
158784cbed
8 changed files with 56 additions and 2 deletions
|
|
@ -19,7 +19,9 @@ interface Worker : EventTarget {
|
|||
void terminate();
|
||||
|
||||
[Throws]
|
||||
void postMessage(any message, optional sequence<object> transfer = []);
|
||||
void postMessage(any message, sequence<object> transfer);
|
||||
[Throws]
|
||||
void postMessage(any message, optional StructuredSerializeOptions options);
|
||||
|
||||
attribute EventHandler onmessage;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue