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.

This commit is contained in:
Josh Matthews 2013-08-03 13:48:09 -04:00
parent a4baa7fc6b
commit c9bc2046f6
10 changed files with 376 additions and 48 deletions

View file

@ -53,6 +53,10 @@ impl HTMLCollection {
*found = true;
self.Item(index)
}
pub fn NamedGetter(&self, _cx: *JSContext, _name: &DOMString, _found: &mut bool, _rv: &mut ErrorResult) -> *JSObject {
ptr::null()
}
}
impl BindingObject for HTMLCollection {