Skip to content

Commit

Permalink
auto merge of #5475 : servo/servo/add-event-handlers, r=Ms2ger
Browse files Browse the repository at this point in the history
  • Loading branch information
bors-servo committed Apr 1, 2015
2 parents 4846607 + 6288a46 commit d74e633
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
1 change: 1 addition & 0 deletions components/script/dom/macros.rs
Expand Up @@ -227,5 +227,6 @@ macro_rules! global_event_handlers(
event_handler!(click, GetOnclick, SetOnclick);
event_handler!(input, GetOninput, SetOninput);
event_handler!(change, GetOnchange, SetOnchange);
event_handler!(submit, GetOnsubmit, SetOnsubmit);
)
);
1 change: 1 addition & 0 deletions components/script/dom/webidls/EventHandler.webidl
Expand Up @@ -25,6 +25,7 @@ interface GlobalEventHandlers {
attribute EventHandler onload;
attribute EventHandler oninput;
attribute EventHandler onchange;
attribute EventHandler onsubmit;
};

[NoInterfaceObject]
Expand Down
15 changes: 0 additions & 15 deletions tests/wpt/metadata/html/dom/interfaces.html.ini
Expand Up @@ -246,9 +246,6 @@
[Document interface: attribute onstalled]
expected: FAIL

[Document interface: attribute onsubmit]
expected: FAIL

[Document interface: attribute onsuspend]
expected: FAIL

Expand Down Expand Up @@ -1386,9 +1383,6 @@
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onstalled" with the proper type (149)]
expected: FAIL

[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onsubmit" with the proper type (150)]
expected: FAIL

[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onsuspend" with the proper type (151)]
expected: FAIL

Expand Down Expand Up @@ -1920,9 +1914,6 @@
[HTMLElement interface: attribute onstalled]
expected: FAIL
[HTMLElement interface: attribute onsubmit]
expected: FAIL
[HTMLElement interface: attribute onsuspend]
expected: FAIL
Expand Down Expand Up @@ -2178,9 +2169,6 @@
[HTMLElement interface: document.createElement("noscript") must inherit property "onstalled" with the proper type (88)]
expected: FAIL
[HTMLElement interface: document.createElement("noscript") must inherit property "onsubmit" with the proper type (89)]
expected: FAIL
[HTMLElement interface: document.createElement("noscript") must inherit property "onsuspend" with the proper type (90)]
expected: FAIL
Expand Down Expand Up @@ -8241,9 +8229,6 @@
[Window interface: window must inherit property "onstalled" with the proper type (94)]
expected: FAIL
[Window interface: window must inherit property "onsubmit" with the proper type (95)]
expected: FAIL
[Window interface: window must inherit property "onsuspend" with the proper type (96)]
expected: FAIL
Expand Down

0 comments on commit d74e633

Please sign in to comment.