Return window proxy properly for indexed window getter

This commit is contained in:
Keith Yeung 2018-04-10 11:52:48 -07:00
parent 4383b3053b
commit 080600003c
3 changed files with 46 additions and 18 deletions

View file

@ -1634,11 +1634,6 @@ impl Window {
had_clip_rect
}
// https://html.spec.whatwg.org/multipage/#accessing-other-browsing-contexts
pub fn IndexedGetter(&self, _index: u32, _found: &mut bool) -> Option<DomRoot<Window>> {
None
}
pub fn suspend(&self) {
// Suspend timer events.
self.upcast::<GlobalScope>().suspend();