mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Prefix on
for function name of inline events
This commit is contained in:
parent
75fce11335
commit
b4d1f5b309
3 changed files with 1 additions and 33 deletions
|
@ -495,7 +495,7 @@ impl EventTarget {
|
|||
// Step 3.9
|
||||
|
||||
let url_serialized = CString::new(handler.url.to_string()).unwrap();
|
||||
let name = CString::new(&**ty).unwrap();
|
||||
let name = CString::new(format!("on{}", &**ty)).unwrap();
|
||||
|
||||
// Step 3.9, subsection ParameterList
|
||||
static mut ARG_NAMES: [*const c_char; 1] = [b"event\0" as *const u8 as *const c_char];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue