aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/messagechannel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/messagechannel.rs')
-rw-r--r--components/script/dom/messagechannel.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/messagechannel.rs b/components/script/dom/messagechannel.rs
index efe883c6e6e..f43b6cd7c38 100644
--- a/components/script/dom/messagechannel.rs
+++ b/components/script/dom/messagechannel.rs
@@ -19,6 +19,7 @@ pub struct MessageChannel {
impl MessageChannel {
/// <https://html.spec.whatwg.org/multipage/#dom-messagechannel>
+ #[allow(non_snake_case)]
pub fn Constructor(global: &GlobalScope) -> Fallible<DomRoot<MessageChannel>> {
let incumbent = GlobalScope::incumbent().ok_or(Error::InvalidState)?;