mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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:
parent
a4baa7fc6b
commit
c9bc2046f6
10 changed files with 376 additions and 48 deletions
|
@ -117,6 +117,10 @@ impl Window {
|
|||
pub fn ShowModalDialog(&self, _cx: *JSContext, _url: &DOMString, _argument: JSVal) -> JSVal {
|
||||
JSVAL_NULL
|
||||
}
|
||||
|
||||
pub fn NamedGetter(&self, _cx: *JSContext, _name: &DOMString, _found: &mut bool) -> *JSObject {
|
||||
ptr::null()
|
||||
}
|
||||
}
|
||||
|
||||
impl CacheableWrapper for Window {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue