Jump to content

Web IDL

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Yobot (talk | contribs) at 01:00, 18 January 2014 (Remove invisible unicode control characters + other fixes using AWB (9871)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

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

  • 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

  1. ^ "Web Interface Definition Language". W3C Candidate recommandation. World Wide Web Consortium. 2012. Retrieved 9 June 2013. {{cite web}}: Unknown parameter |month= ignored (help)
  2. ^ "Web IDL in Blink". http://www.chromium.org/blink/. Retrieved 9 June 2013. {{cite web}}: External link in |work= (help)
  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.