summaryrefslogtreecommitdiff
path: root/dom/webidl/EventSource.webidl
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-09-01 20:56:43 +0000
committerMoonchild <moonchild@palemoon.org>2022-09-01 20:56:43 +0000
commit4078c2dd1e3798a283594b84de68b3ded1e69898 (patch)
treea6b8fcecbd2978397238e0f6fc89acc2cc9769d3 /dom/webidl/EventSource.webidl
parent6638cc1e6d64dcba9c46bce48080fc17f1405f1e (diff)
parent860800629b179e2598801749080911607334e678 (diff)
downloaduxp-4078c2dd1e3798a283594b84de68b3ded1e69898.tar.gz
Merge pull request 'Support EventSource in workers' (#1997) from dbsoft/UXP:1990fix2 into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1997
Diffstat (limited to 'dom/webidl/EventSource.webidl')
-rw-r--r--dom/webidl/EventSource.webidl3
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/webidl/EventSource.webidl b/dom/webidl/EventSource.webidl
index 1e8e9978e5..f6d54c3bd9 100644
--- a/dom/webidl/EventSource.webidl
+++ b/dom/webidl/EventSource.webidl
@@ -11,7 +11,8 @@
* and create derivative works of this document.
*/
-[Constructor(USVString url, optional EventSourceInit eventSourceInitDict)]
+[Exposed=(Window,DedicatedWorker,SharedWorker),
+ Constructor(USVString url, optional EventSourceInit eventSourceInitDict)]
interface EventSource : EventTarget {
[Constant]
readonly attribute DOMString url;