This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```idl | |
[Constructor(optional long numerator = 1, optional long denominator = 1)] | |
interface Rationale { | |
attribute long numerator; | |
attribute long denominator; | |
}; | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface PermissionStatus : EventTarget { | |
readonly attribute PermissionState status; | |
attribute EventHandler onchange; | |
}; | |
dictionary PermissionOptions { | |
}; | |
interface Permission { | |
Promise<PermissionStatus> query(optional PermissionOptions options); |