(target, name, method)
| 597 | |
| 598 | // https://heycam.github.io/webidl/#define-the-operations |
| 599 | function defineOperation(target, name, method) { |
| 600 | ObjectDefineProperty(target, name, { |
| 601 | __proto__: null, |
| 602 | writable: true, |
| 603 | enumerable: true, |
| 604 | configurable: true, |
| 605 | value: method, |
| 606 | }); |
| 607 | } |
| 608 | |
| 609 | // https://heycam.github.io/webidl/#es-interfaces |
| 610 | function exposeInterface(target, name, interfaceObject) { |
no outgoing calls
no test coverage detected