Web IDL

Jump to: navigation, search

Web IDL is an interface description language (IDL) format for describing application programming interfaces (APIs) that are intended to be implemented in web browsers.

Description

Web IDL is an IDL variant with:[1]

  • A number of features that allow one to more easily describe the behavior of common script objects in a web context.
  • A mapping of how interfaces described with Web IDL correspond to language constructs within an ECMAScript execution environment.

Status of this specification

The first edition of the Web IDL specification became a Candidate Recommendation on 19 April 2012. The second edition of Web IDL is an Editor's Draft, and most new web specifications reference this second edition.

Usage

  • The W3C Wiki has a list of W3C Specifications that use Web IDL,[2] and nearly all WHATWG specifications use it.[3]
  • The Chromium Project has a page about using WebIDL to specify interfaces in Blink.[4]
  • Mozilla uses Web IDL in their software creation process, mapping implementations to Web IDL specs.[5]
  • When WebKit is built, the IDL files are parsed, creates the code to bind interfaces to implementations.[6]

References

  1. ^ "Web IDL (Second Edition)". World Wide Web Consortium. 18 January 2016. Retrieved 24 January 2016. 
  2. ^ "Web IDL". W3C Wiki. Retrieved 28 March 2017. 
  3. ^ "Web Hypertext Application Technology Working Group Specifications". WHATWG. Retrieved 24 January 2016. 
  4. ^ "Web IDL in Blink". Blink Project Documentation. Retrieved 9 June 2013. 
  5. ^ "Mozilla WebIDL bindings". Mozilla Developer Network. Retrieved 9 June 2013. 
  6. ^ "WebKit Web IDL". trac.webkit.org. Retrieved 9 June 2013. 

External links