mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement 'do nothing' methods on Window and Document
This commit is contained in:
parent
1384ff5e9f
commit
bf50145fbd
6 changed files with 35 additions and 39 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue