aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmldocument.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2013-08-03 13:48:09 -0400
committerJosh Matthews <josh@joshmatthews.net>2013-08-03 13:48:09 -0400
commitc9bc2046f683d03449d38e0d82339fee32be3528 (patch)
tree573e69a6a0e43358e678cdcf445820aafb85207d /src/components/script/dom/htmldocument.rs
parenta4baa7fc6b072ef4be73a3fb46f3cdb81607192b (diff)
downloadservo-c9bc2046f683d03449d38e0d82339fee32be3528.tar.gz
servo-c9bc2046f683d03449d38e0d82339fee32be3528.zip
Fill out various proxy binding traps as part of making setters work. Add named getter and setter and indexed getter support, as well as proxy object expandos. Fixes #660.
Diffstat (limited to 'src/components/script/dom/htmldocument.rs')
-rw-r--r--src/components/script/dom/htmldocument.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/script/dom/htmldocument.rs b/src/components/script/dom/htmldocument.rs
index 5cbb02b4b9b..619390352f8 100644
--- a/src/components/script/dom/htmldocument.rs
+++ b/src/components/script/dom/htmldocument.rs
@@ -49,6 +49,10 @@ impl WrappableDocument for HTMLDocument {
}
impl HTMLDocument {
+ pub fn NamedGetter(&self, _cx: *JSContext, _name: &DOMString, _found: &mut bool, _rv: &mut ErrorResult) -> *JSObject {
+ ptr::null()
+ }
+
pub fn GetDomain(&self, _rv: &mut ErrorResult) -> DOMString {
null_string
}