Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
Web IDL is an interface description language (IDL) format for describing APIs (application programming interfaces) that are intended to be implemented in web 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.
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 an ECMAScript execution environment.
Web specifications had been specified using OMG IDL since 1998, first with the DOM Level 1 specification. However, interfaces defined using OMG IDL were not able to specify behavior for JavaScript precisely, leading to issues with interoperability. WebIDL improved on this status quo by providing data types and binding specifications that make the intended behavior in JavaScript clearer.