Jump to content

Web IDL

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by David.cheney (talk | contribs) at 16:45, 1 August 2013 (removed orphan, as the page is linked from the second sentence in http://en.wikipedia.org/wiki/WebSocket). 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 the describing the behavior of common script objects in the web platform to be specified more easily.
  • How interfaces described with Web IDL correspond to language constructs within execution environments is also detailed in this specification.

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. {{cite web}}: zero width space character in |title= at position 8 (help)