Web IDL

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Web IDL is a format for describing interfaces 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 execution environments.

The syntax of IDL files is fairly well documented in the Web IDL spec, but it is too formal to read, as Chromium project documentation states.[2]

Status of this specification[edit]

As of 19 April 2012, Web IDL specification document became Candidate Recommendation of the Web IDL specification. When the document reaches "Recommendation" status, it will have the full powers of W3C standards.

Usage[edit]

  • W3C Wiki has a list of W3C Specifications that use Web IDL. [1]
  • Chromium Project has a page about using WebIDL to specify interfaces in Blink (layout engine) [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 Interface Definition Language". W3C Candidate recommandation. World Wide Web Consortium. April 2012. Retrieved 9 June 2013. 
  2. ^ "Web IDL in Blink". http://www.chromium.org/blink/. Retrieved 9 June 2013. 
  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]