diff options
author | Patrick Ngai <clpngai@gmail.com> | 2019-03-12 21:34:21 +0800 |
---|---|---|
committer | Patrick Ngai <clpngai@gmail.com> | 2019-03-14 00:55:21 +0800 |
commit | b17343a0ffbae0621dcedefb0258a40860aeb8d5 (patch) | |
tree | 07b7ea42652ffae391b342e14a905337c5b18d9e /components/script/dom/permissionstatus.rs | |
parent | 7bdfad92a5a2bf34fcabb38f99789b3f5d7989af (diff) | |
download | servo-b17343a0ffbae0621dcedefb0258a40860aeb8d5.tar.gz servo-b17343a0ffbae0621dcedefb0258a40860aeb8d5.zip |
Remove 'on' prefix from event handler macros
Diffstat (limited to 'components/script/dom/permissionstatus.rs')
-rw-r--r-- | components/script/dom/permissionstatus.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/permissionstatus.rs b/components/script/dom/permissionstatus.rs index 503b4031b38..80a6e347bd2 100644 --- a/components/script/dom/permissionstatus.rs +++ b/components/script/dom/permissionstatus.rs @@ -56,7 +56,7 @@ impl PermissionStatusMethods for PermissionStatus { } // https://w3c.github.io/permissions/#dom-permissionstatus-onchange - event_handler!(onchange, GetOnchange, SetOnchange); + event_handler!(change, GetOnchange, SetOnchange); } impl Display for PermissionName { |