Auto merge of #7389 - frewsxcv:implement-nihilistic-methods, r=nox

Implement 'do nothing' methods on Window and Document



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7389)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-08-27 12:30:28 -06:00
commit 8c301c291a
6 changed files with 35 additions and 39 deletions

View file

@ -542,6 +542,16 @@ impl<'a> WindowMethods for &'a Window {
doc.r().cancel_animation_frame(ident);
}
// https://html.spec.whatwg.org/multipage/#dom-window-captureevents
fn CaptureEvents(self) {
// This method intentionally does nothing
}
// https://html.spec.whatwg.org/multipage/#dom-window-releaseevents
fn ReleaseEvents(self) {
// This method intentionally does nothing
}
// check-tidy: no specs after this line
fn Debug(self, message: DOMString) {
debug!("{}", message);