-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Exposed to interfaces. #65
Conversation
Addresses w3c#64
@igrigorik PTAL, thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, modulo.. missing spaces between [] and dfn?
@annevk quick sanity check, before we merge? :)
Fixed the whitespace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You went a little overboard. 😊 It's just interfaces that need this.
index.html
Outdated
unsigned long requestIdleCallback(IdleRequestCallback callback, optional IdleRequestOptions options); | ||
void cancelIdleCallback(unsigned long handle); | ||
[Exposed=Window] unsigned long requestIdleCallback(IdleRequestCallback callback, optional IdleRequestOptions options); | ||
[Exposed=Window] void cancelIdleCallback(unsigned long handle); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two are unneeded as Window
itself is already restricted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
index.html
Outdated
}; | ||
|
||
dictionary IdleRequestOptions { | ||
[Exposed=Window] dictionary IdleRequestOptions { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not allowed (and unneeded).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Thanks, removed the unnecessary exposed attributes. |
Thanks. Committing. |
I don't see it in the commit log... |
Sorry pressed the wrong button, done now. |
Thanks Ross! |
Addresses #64