Skip to content

Commit

Permalink
update web platform API data (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato authored Oct 1, 2021
1 parent 99abd63 commit a82c908
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions runtime/web_platform_apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,33 +53,22 @@ You can find documentation about this API on
- Events do not bubble, because Deno does not have a DOM hierarchy, so there is
no tree for Events to bubble/capture through.

## Web Worker API

### Overview

The WebWorker API can be used to executing code in a separate thread. It is
implemented as specified in the
[WHATWG HTML spec](https://html.spec.whatwg.org/multipage/workers.html#workers).

You can find documentation about this API on
[MDN](https://developer.mozilla.org/en-US/docs/Web/API/Worker).

### Spec deviations

- Currently creating workers from blob URLs is not supported.
- Currently posted data is serialized to JSON instead of structured cloning.
- Currently object ownership cannot be transferred between workers.

## Other APIs

- [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob)
- [BroadcastChannel](https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel)
- [Channel Messaging API](https://developer.mozilla.org/en-US/docs/Web/API/Channel_Messaging_API)
- [Console](https://developer.mozilla.org/en-US/docs/Web/API/Console)
- [Encoding API](https://developer.mozilla.org/en-US/docs/Web/API/Encoding_API)
- [FormData](https://developer.mozilla.org/en-US/docs/Web/API/FormData)
- [Performance](https://developer.mozilla.org/en-US/docs/Web/API/Performance)
- [setTimeout, setInterval, clearInterval](https://developer.mozilla.org/en-US/docs/Web/API/setTimeout)
- [Streams API](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API)
- [URL](https://developer.mozilla.org/en-US/docs/Web/API/URL)
- [URLPattern](https://developer.mozilla.org/en-US/docs/Web/API/URLPattern)
- [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)
- [Web Storage API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API)
- [Web Workers API](https://developer.mozilla.org/en-US/docs/Web/API/Worker)
- [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket)

---
Expand Down

0 comments on commit a82c908

Please sign in to comment.