Implement 'do nothing' methods on Window and Document

This commit is contained in:
Corey Farwell 2015-08-26 11:17:03 -04:00
parent 1384ff5e9f
commit bf50145fbd
6 changed files with 35 additions and 39 deletions

View file

@ -146,9 +146,9 @@ partial interface Document {
[SameObject]
readonly attribute HTMLCollection applets;
// void clear();
// void captureEvents();
// void releaseEvents();
void clear();
void captureEvents();
void releaseEvents();
// Tracking issue for document.all: https://github.com/servo/servo/issues/7396
// readonly attribute HTMLAllCollection all;

View file

@ -93,6 +93,12 @@ partial interface Window {
/*[Replaceable]*/ readonly attribute Performance performance;
};
// https://html.spec.whatwg.org/multipage/#Window-partial
partial interface Window {
void captureEvents();
void releaseEvents();
};
// https://drafts.csswg.org/cssom/#extensions-to-the-window-interface
partial interface Window {
[NewObject]