Skip to content

Commit

Permalink
Adapt DedicatedWorkerGlobalScope API to new events structure
Browse files Browse the repository at this point in the history
This PR adapts the DedicatedWorkerGlobalScope API to conform to the new events structure.  Part of work for mdn#14578.
  • Loading branch information
queengooborg committed Feb 19, 2022
1 parent b2f7476 commit 0d4e822
Showing 1 changed file with 8 additions and 108 deletions.
116 changes: 8 additions & 108 deletions api/DedicatedWorkerGlobalScope.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@
"__compat": {
"description": "<code>message</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/message_event",
"spec_url": "https://html.spec.whatwg.org/multipage/indices.html#event-message",
"spec_url": [
"https://html.spec.whatwg.org/multipage/indices.html#event-message",
"https://html.spec.whatwg.org/multipage/workers.html#handler-dedicatedworkerglobalscope-onmessage"
],
"support": {
"chrome": {
"version_added": "4"
Expand Down Expand Up @@ -208,7 +211,10 @@
"__compat": {
"description": "<code>messageerror</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/messageerror_event",
"spec_url": "https://html.spec.whatwg.org/multipage/indices.html#event-messageerror",
"spec_url": [
"https://html.spec.whatwg.org/multipage/indices.html#event-messageerror",
"https://html.spec.whatwg.org/multipage/workers.html#handler-dedicatedworkerglobalscope-onmessageerror"
],
"support": {
"chrome": {
"version_added": "60"
Expand Down Expand Up @@ -311,112 +317,6 @@
}
}
},
"onmessage": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/onmessage",
"spec_url": "https://html.spec.whatwg.org/multipage/workers.html#handler-dedicatedworkerglobalscope-onmessage",
"support": {
"chrome": {
"version_added": "4"
},
"chrome_android": {
"version_added": "18"
},
"deno": {
"version_added": "1.0"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "3.5"
},
"firefox_android": {
"version_added": "4"
},
"ie": {
"version_added": "10"
},
"opera": {
"version_added": "10.6"
},
"opera_android": {
"version_added": "11"
},
"safari": {
"version_added": "4"
},
"safari_ios": {
"version_added": "5"
},
"samsunginternet_android": {
"version_added": "1.0"
},
"webview_android": {
"version_added": "4.4"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"onmessageerror": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/onmessageerror",
"spec_url": "https://html.spec.whatwg.org/multipage/workers.html#handler-dedicatedworkerglobalscope-onmessageerror",
"support": {
"chrome": {
"version_added": "60"
},
"chrome_android": {
"version_added": "60"
},
"deno": {
"version_added": "1.0"
},
"edge": {
"version_added": "18"
},
"firefox": {
"version_added": "57"
},
"firefox_android": {
"version_added": "57"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "47"
},
"opera_android": {
"version_added": "44"
},
"safari": {
"version_added": false,
"notes": "See <a href='https://webkit.org/b/171216'>bug 171216</a>."
},
"safari_ios": {
"version_added": false,
"notes": "See <a href='https://webkit.org/b/171216'>bug 171216</a>."
},
"samsunginternet_android": {
"version_added": "8.0"
},
"webview_android": {
"version_added": "60"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"postMessage": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/postMessage",
Expand Down

0 comments on commit 0d4e822

Please sign in to comment.