Web IDL

From Wikipedia, the free encyclopedia
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[edit]

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[edit]

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[edit]

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

References[edit]

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

External links[edit]