WebAPI/PlannedWork

From MozillaWiki
< WebAPI
Revision as of 15:41, 11 September 2014 by Overholt (talk | contribs)
Jump to navigation Jump to search
NOTE
This is a backlog of ideas for potential future work. Nothing is committed until it lands in a release :) .

P1

Owned

Need implementer

Need design

P2

  • Web Activities on Desktop
  • Fix browser API (Kan-Ru (?))
    • don't use iframe element
    • due to ^ can't load browser API when element is created
    • may want to rewrite in C++
    • Improve security checks
    • Support "nested child processes"
  • Change <iframe mozbrowser> to <webview> (or whatever).
    • Right now the mozbrowser API doesn't get loaded until some time after the iframe is inserted into the DOM. This makes things difficult for clients who would like to be able to count on e.g. always being able to call setVisible().
    • When we make this change, we should look into converting mozbrowser into C++. Loading it currently has relatively high overhead, and we've put in a bunch of hacks to work around it.
    • If we do this, we should coordinate this HTML parser hack somehow and probably not expose it (and not reserve "webview" as a name for normal content).
  • Getting back notifications after the page has been killed. Some links: [1] [2] [3]
  • navigator.language change event (W3C HTML Bug)
  • API for generic LED actuators (usually camera LED, though some phones include additional ones)

P3

  • Battery API v2 (temperature, voltage, etc.); the real world use cases are not clear but we might need that in FxOS soon enough and we should be ready
  • Fix FM Radio API
    • doesn't behave sanely with multiple windows attempting to access it
    • will likely require major changes
  • Contacts API in desktop, related permissions situation
    • We are planning to deprecate the current Contacts API so we should make sure that we keep that into consideration
  • ArchiveReader prototype in Javascript
  • Speech API (smaug has been involved and Andre Natal has been implementing)
  • Storage: Quota API (janv)
  • Storage: Data-moving (temp -> perm) (janv, bent)
  • Keyboard layouts and gaming: KeyboardEvent.code (bug 865649) and KeyboardEvent.locale (bug ???) (smaug?)

Side track

  • integrate better with profiling tools
    • work with SPS profiler people
    • IDB performance
    • for both B2G and Firefox
  • Expose audio API to Firefox Desktop Internal code
  • Build a Web API dashboard similar to chromestatus.com
    • see if we can integrate it with the devtools UI, and what other cool things we can do with it. (ehsan)
  • tests
  • resolving intermittent test failures
  • worker-ification of existing APIs
    • make this easier

Untriaged

  • URL parsing
  • base URLs
  • find and findAll methods
    • needs special subclass of JS array
  • Shadow DOM (wchen is working on this)
  • Fetch + Service Worker (annevk continues to work on spec and nsm, baku, and bkelly are implementing)
    • lots of questions here (e.g. iframes, workers)
  • delayed delivery of DOMContentLoaded eventdecided this wasn't useful
  • Jonas' plans around necko threadsafety (notably URI/URL)
  • Web Push (bug 1024730)
    • SimplePush is the existing non-standard API we have now
    • Web Push will be implemented by other browsers and be cross-platform
    • Web Push requires Service Workers
  • landing some in-process work
  • DataStore in workers (rewrite in C++: bug 990554)