![]() | This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages) (Learn how and when to remove this message)
|
Web IDL is aninterface description language (IDL) format for describingAPIs (application programming interfaces) that are intended to be implemented inweb browsers. Its adoption was motivated by the desire to improve the interoperability of web programming interfaces by specifying how languages such as ECMAScript should bind these interfaces.[1]
Web IDL is anIDL variant with:[2]
Web specifications had been specified using OMG IDL since 1998, first with the DOM Level 1 specification.[3] However, interfaces defined using OMG IDL were not able to specify behavior for JavaScript precisely, leading to issues with interoperability.[3][1] WebIDL improved on this status quo by providing data types and binding specifications that make the intended behavior in JavaScript clearer.
The first edition of the Web IDL specification became aCandidate Recommendation on 19 April 2012 and aW3C Recommendation on 15 December 2016.[4] For many years theEditor's Draft of a potential second edition, was what most new web specifications referenced. On 5 October 2021, the Editor's Draft was moved to theWHATWG as theWeb IDL Living Standard per anupdate to the agreement between the W3C and WHATWG.