mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Expose interfaces only where they should be. #12415
This commit is contained in:
parent
39b4f19ebb
commit
5f31c178b6
6 changed files with 5 additions and 10 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#mediaerror
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
[Exposed=Window]
|
||||
interface MediaError {
|
||||
const unsigned short MEDIA_ERR_ABORTED = 1;
|
||||
const unsigned short MEDIA_ERR_NETWORK = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue