Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Organizing Web APIs #148

Open
Open
@gabejohnson

Description

@gabejohnson

I'm opening this issue to discuss how to organize the various web APIs in this project. Here's a tentative list. Please comment w/ suggestions for additions/changes.

Communications:

  • XHR
  • Fetch
  • WebSockets
  • WebRTC

Processes (things with which you can postMessage):

  • Other windows
  • Workers
  • MessageChannels
  • SharedArrayBuffer (if re-enabled)
  • Atomics (if re-enabled)

DOM:

  • Event
  • EventTarget:
    • Window
    • IFrame
    • HTML
    • XML
    • SVG
    • Canvas
  • TreeWalker

Browser:

  • Navigator

Graphics:

  • Canvas 2D
  • WebGL

Animation (https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API):

  • CSS Animations
  • Element#animate
  • Document#timeline
  • etc.

Storage:

  • LocalStorage
  • SessionStorage
  • IndexedDB

Files:

  • Blob and descendants

Audio

Video

Devices (listed under "Hardware access APIs" at https://developer.mozilla.org/en-US/docs/WebAPI):

The intention is not to have a library for each of these categories but, more likely, to have a library for each item (there could be a common library libs for interfaces/superclasses like Event).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions