Implement DOMPoint.fromPoint

This commit is contained in:
Kagami Sascha Rosylight 2019-07-05 11:03:34 +09:00
parent 5f477707a1
commit 40dbb2c100
19 changed files with 30 additions and 133 deletions

View file

@ -6414,7 +6414,8 @@ class CGDictionary(CGThing):
conversion = (
"{\n"
" rooted!(in(cx) let mut rval = UndefinedValue());\n"
" if r#try!(get_dictionary_property(cx, object.handle(), \"%s\", rval.handle_mut())) {\n"
" if r#try!(get_dictionary_property(cx, object.handle(), \"%s\", rval.handle_mut()))"
" && !rval.is_undefined() {\n"
"%s\n"
" } else {\n"
"%s\n"