Skip to content

Commit

Permalink
Prefix on for function name of inline events
Browse files Browse the repository at this point in the history
  • Loading branch information
CYBAI committed May 10, 2020
1 parent 75fce11 commit b4d1f5b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 33 deletions.
2 changes: 1 addition & 1 deletion components/script/dom/eventtarget.rs
Expand Up @@ -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];
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit b4d1f5b

Please sign in to comment.