Web IDL
The WebIDL specification defines an interface definition language that can be used to describe interfaces that are intended to be implemented in web browsers.
Spec Status
- Web IDL 19-Apr-2012 Candidate Recommendation
- Web IDL (Second Edition) Latest Editor's Draft
Testing
There are 2 classes of test that can prove Web IDL's interoperability:
- Testing Specifications: testing specifications that use the Web IDL notation to define interfaces, making sure that all of these specifications correctly use the notation and use it consistently between dependent specifications.
- Testing Implementations: testing how implementations (browsers) implement interfaces and objects, including such features as objet reflection and exposing interfaces
Online Validator
An online validator
for Web IDL fragments and HTML or text documents (specs) containing Web IDL was created by Dominique Hazael-Massieux (code available on Github).
Test Suite
The Web IDL test suite is part of the W3C's Web Platform Tests repository, hosted on GithHub.
As of 12-Sep-2013, WebApps has not approved any Web IDL tests. However, Cameron McCormack has submitted some tests and they can be directly run via a browser: http://w3c-test.org/web-platform-tests/submissions/271/WebIDL/tests/submissions/heycam/.
Dependent Specifications
The following table includes specs that have a normative reference for Web IDL.