aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/document.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-08-31 19:19:08 -0400
committerCorey Farwell <coreyf@rwell.org>2015-08-31 21:02:23 -0400
commit3a1d140ab5c26415b8fa0764bd8aa688f0b23636 (patch)
tree2f93c677ae9288a511b54ce00462aea3c37f76a3 /components/script/dom/document.rs
parent7474b295104e75c013849e104704019dc4801c91 (diff)
downloadservo-3a1d140ab5c26415b8fa0764bd8aa688f0b23636.tar.gz
servo-3a1d140ab5c26415b8fa0764bd8aa688f0b23636.zip
Enforce linking to spec for method implementations via macros
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r--components/script/dom/document.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs
index 0ff28055e9d..196ea7af438 100644
--- a/components/script/dom/document.rs
+++ b/components/script/dom/document.rs
@@ -1842,7 +1842,10 @@ impl DocumentMethods for Document {
// This method intentionally does nothing
}
+ // https://html.spec.whatwg.org/multipage/#globaleventhandlers
global_event_handlers!();
+
+ // https://html.spec.whatwg.org/multipage/#handler-onreadystatechange
event_handler!(readystatechange, GetOnreadystatechange, SetOnreadystatechange);
}