mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Implement EventListenerOptions for EventTarget
For now, only "capture" is supported.
This commit is contained in:
parent
8732f6de69
commit
3d0b7fbc41
6 changed files with 108 additions and 41 deletions
|
@ -6142,8 +6142,7 @@ class CGDictionary(CGThing):
|
|||
" } else if val.get().is_object() {\n"
|
||||
" val.get().to_object()\n"
|
||||
" } else {\n"
|
||||
" throw_type_error(cx, \"Value not an object.\");\n"
|
||||
" return Err(());\n"
|
||||
" return Ok(ConversionResult::Failure(\"Value is not an object.\".into()));\n"
|
||||
" };\n"
|
||||
" rooted!(in(cx) let object = object);\n"
|
||||
"${preInitial}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue