mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Add onmessageerror to WindowEventHandler
This commit is contained in:
parent
95bfaa0a77
commit
3ee5a63199
6 changed files with 3 additions and 48 deletions
|
@ -495,6 +495,7 @@ macro_rules! window_event_handlers(
|
||||||
event_handler!(languagechange, GetOnlanguagechange,
|
event_handler!(languagechange, GetOnlanguagechange,
|
||||||
SetOnlanguagechange);
|
SetOnlanguagechange);
|
||||||
event_handler!(message, GetOnmessage, SetOnmessage);
|
event_handler!(message, GetOnmessage, SetOnmessage);
|
||||||
|
event_handler!(messageerror, GetOnmessageerror, SetOnmessageerror);
|
||||||
event_handler!(offline, GetOnoffline, SetOnoffline);
|
event_handler!(offline, GetOnoffline, SetOnoffline);
|
||||||
event_handler!(online, GetOnonline, SetOnonline);
|
event_handler!(online, GetOnonline, SetOnonline);
|
||||||
event_handler!(pagehide, GetOnpagehide, SetOnpagehide);
|
event_handler!(pagehide, GetOnpagehide, SetOnpagehide);
|
||||||
|
@ -527,6 +528,7 @@ macro_rules! window_event_handlers(
|
||||||
window_owned_event_handler!(languagechange, GetOnlanguagechange,
|
window_owned_event_handler!(languagechange, GetOnlanguagechange,
|
||||||
SetOnlanguagechange);
|
SetOnlanguagechange);
|
||||||
window_owned_event_handler!(message, GetOnmessage, SetOnmessage);
|
window_owned_event_handler!(message, GetOnmessage, SetOnmessage);
|
||||||
|
window_owned_event_handler!(messageerror, GetOnmessageerror, SetOnmessageerror);
|
||||||
window_owned_event_handler!(offline, GetOnoffline, SetOnoffline);
|
window_owned_event_handler!(offline, GetOnoffline, SetOnoffline);
|
||||||
window_owned_event_handler!(online, GetOnonline, SetOnonline);
|
window_owned_event_handler!(online, GetOnonline, SetOnonline);
|
||||||
window_owned_event_handler!(pagehide, GetOnpagehide, SetOnpagehide);
|
window_owned_event_handler!(pagehide, GetOnpagehide, SetOnpagehide);
|
||||||
|
|
|
@ -103,6 +103,7 @@ interface WindowEventHandlers {
|
||||||
attribute EventHandler onhashchange;
|
attribute EventHandler onhashchange;
|
||||||
attribute EventHandler onlanguagechange;
|
attribute EventHandler onlanguagechange;
|
||||||
attribute EventHandler onmessage;
|
attribute EventHandler onmessage;
|
||||||
|
attribute EventHandler onmessageerror;
|
||||||
attribute EventHandler onoffline;
|
attribute EventHandler onoffline;
|
||||||
attribute EventHandler ononline;
|
attribute EventHandler ononline;
|
||||||
attribute EventHandler onpagehide;
|
attribute EventHandler onpagehide;
|
||||||
|
|
|
@ -5995,9 +5995,6 @@
|
||||||
[Window interface: attribute onsecuritypolicyviolation]
|
[Window interface: attribute onsecuritypolicyviolation]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Window interface: attribute onmessageerror]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Window interface: operation createImageBitmap(ImageBitmapSource, ImageBitmapOptions)]
|
[Window interface: operation createImageBitmap(ImageBitmapSource, ImageBitmapOptions)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -6067,9 +6064,6 @@
|
||||||
[Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type]
|
[Window interface: window must inherit property "onsecuritypolicyviolation" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Window interface: window must inherit property "onmessageerror" with the proper type]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Window interface: window must inherit property "createImageBitmap(ImageBitmapSource, ImageBitmapOptions)" with the proper type]
|
[Window interface: window must inherit property "createImageBitmap(ImageBitmapSource, ImageBitmapOptions)" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -6288,9 +6282,6 @@
|
||||||
[HTMLBodyElement interface: attribute aLink]
|
[HTMLBodyElement interface: attribute aLink]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLBodyElement interface: attribute onmessageerror]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLBodyElement interface: document.createElement("body") must inherit property "link" with the proper type]
|
[HTMLBodyElement interface: document.createElement("body") must inherit property "link" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -6300,9 +6291,6 @@
|
||||||
[HTMLBodyElement interface: document.createElement("body") must inherit property "aLink" with the proper type]
|
[HTMLBodyElement interface: document.createElement("body") must inherit property "aLink" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLBodyElement interface: document.createElement("body") must inherit property "onmessageerror" with the proper type]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLHeadingElement interface: attribute align]
|
[HTMLHeadingElement interface: attribute align]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -9555,18 +9543,12 @@
|
||||||
[HTMLFrameSetElement interface: attribute rows]
|
[HTMLFrameSetElement interface: attribute rows]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLFrameSetElement interface: attribute onmessageerror]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLFrameSetElement interface: document.createElement("frameset") must inherit property "cols" with the proper type]
|
[HTMLFrameSetElement interface: document.createElement("frameset") must inherit property "cols" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLFrameSetElement interface: document.createElement("frameset") must inherit property "rows" with the proper type]
|
[HTMLFrameSetElement interface: document.createElement("frameset") must inherit property "rows" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLFrameSetElement interface: document.createElement("frameset") must inherit property "onmessageerror" with the proper type]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLFrameElement interface: attribute name]
|
[HTMLFrameElement interface: attribute name]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
[shadowed error (document.body)]
|
[shadowed error (document.body)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[shadowed messageerror (document.body)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[not shadowed auxclick (document.body)]
|
[not shadowed auxclick (document.body)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -30,15 +27,9 @@
|
||||||
[not shadowed paste (document.body)]
|
[not shadowed paste (document.body)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[shadowed messageerror removal (document.body)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[shadowed error (document.createElement("body"))]
|
[shadowed error (document.createElement("body"))]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[shadowed messageerror (document.createElement("body"))]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[not shadowed auxclick (document.createElement("body"))]
|
[not shadowed auxclick (document.createElement("body"))]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -57,6 +48,3 @@
|
||||||
[not shadowed paste (document.createElement("body"))]
|
[not shadowed paste (document.createElement("body"))]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[shadowed messageerror removal (document.createElement("body"))]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
[shadowed error]
|
[shadowed error]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[shadowed messageerror]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[not shadowed auxclick]
|
[not shadowed auxclick]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -20,6 +17,3 @@
|
||||||
[not shadowed securitypolicyviolation]
|
[not shadowed securitypolicyviolation]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[shadowed messageerror removal]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,6 @@
|
||||||
[Ignore setting of error window event handlers on windowless body]
|
[Ignore setting of error window event handlers on windowless body]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Return null when getting the messageerror event handler of a windowless body]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Ignore setting of messageerror window event handlers on windowless body]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[auxclick is unaffected on a windowless body]
|
[auxclick is unaffected on a windowless body]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -23,12 +17,6 @@
|
||||||
[Ignore setting of error window event handlers on windowless frameset]
|
[Ignore setting of error window event handlers on windowless frameset]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Return null when getting the messageerror event handler of a windowless frameset]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Ignore setting of messageerror window event handlers on windowless frameset]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[auxclick is unaffected on a windowless frameset]
|
[auxclick is unaffected on a windowless frameset]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue