aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/window.rs')
-rw-r--r--src/components/script/dom/window.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/script/dom/window.rs b/src/components/script/dom/window.rs
index 7d60c09a5fc..23b6c71e029 100644
--- a/src/components/script/dom/window.rs
+++ b/src/components/script/dom/window.rs
@@ -195,6 +195,11 @@ impl<'a> WindowMethods for JSRef<'a, Window> {
self.Window()
}
+ // http://www.whatwg.org/html/#dom-frames
+ fn Frames(&self) -> Temporary<Window> {
+ self.Window()
+ }
+
fn Parent(&self) -> Temporary<Window> {
//TODO - Once we support iframes correctly this needs to return the parent frame
self.Window()