Changeset 202539 in webkit


Ignore:
Timestamp:
Jun 27, 2016 10:10:30 PM (8 years ago)
Author:
Chris Dumez
Message:

HTMLElement / SVGElement should implement GlobalEventHandlers, not Element
https://bugs.webkit.org/show_bug.cgi?id=159191
<rdar://problem/27019299>

Reviewed by Ryosuke Niwa.

LayoutTests/imported/w3c:

Rebaseline test now that more checks are passing.

  • web-platform-tests/html/dom/interfaces-expected.txt:

Source/WebCore:

HTMLElement / SVGElement should implement GlobalEventHandlers, not Element:

Firefox and Chrome behave as per the specification.

Fixing this also fixes rendering on http://survey123.arcgis.com/.

No new tests, covered by existing tests that were rebaselined.

  • dom/Element.idl:
  • html/HTMLElement.idl:
  • svg/SVGElement.idl:

LayoutTests:

  • fast/dom/event-handler-attributes-expected.txt:

Rebaseline tests now that more checks are passing.

  • js/dom/dom-static-property-for-in-iteration-expected.txt:

Rebaseline test now that enumeration order is different.

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r202536 r202539  
     12016-06-27  Chris Dumez  <cdumez@apple.com>
     2
     3        HTMLElement / SVGElement should implement GlobalEventHandlers, not Element
     4        https://bugs.webkit.org/show_bug.cgi?id=159191
     5        <rdar://problem/27019299>
     6
     7        Reviewed by Ryosuke Niwa.
     8
     9        * fast/dom/event-handler-attributes-expected.txt:
     10        Rebaseline tests now that more checks are passing.
     11
     12        * js/dom/dom-static-property-for-in-iteration-expected.txt:
     13        Rebaseline test now that enumeration order is different.
     14
    1152016-06-27  Simon Fraser  <simon.fraser@apple.com>
    216
  • trunk/LayoutTests/fast/dom/event-handler-attributes-expected.txt

    r195953 r202539  
    855855Event names on a non-HTML element
    856856
    857 FAIL testElementAttribute(nonHTMLElement, "abort") should be none. Was script: target; content: none.
     857PASS testElementAttribute(nonHTMLElement, "abort") is "none"
    858858FAIL testElementAttribute(nonHTMLElement, "animationend") should be none. Was script: target; content: none.
    859859FAIL testElementAttribute(nonHTMLElement, "animationiteration") should be none. Was script: target; content: none.
     
    864864FAIL testElementAttribute(nonHTMLElement, "beforepaste") should be none. Was script: target; content: none.
    865865PASS testElementAttribute(nonHTMLElement, "beforeunload") is "none"
    866 FAIL testElementAttribute(nonHTMLElement, "blur") should be none. Was script: target; content: none.
    867 FAIL testElementAttribute(nonHTMLElement, "canplay") should be none. Was script: target; content: none.
    868 FAIL testElementAttribute(nonHTMLElement, "canplaythrough") should be none. Was script: target; content: none.
    869 FAIL testElementAttribute(nonHTMLElement, "change") should be none. Was script: target; content: none.
    870 FAIL testElementAttribute(nonHTMLElement, "click") should be none. Was script: target; content: none.
    871 FAIL testElementAttribute(nonHTMLElement, "contextmenu") should be none. Was script: target; content: none.
     866PASS testElementAttribute(nonHTMLElement, "blur") is "none"
     867PASS testElementAttribute(nonHTMLElement, "canplay") is "none"
     868PASS testElementAttribute(nonHTMLElement, "canplaythrough") is "none"
     869PASS testElementAttribute(nonHTMLElement, "change") is "none"
     870PASS testElementAttribute(nonHTMLElement, "click") is "none"
     871PASS testElementAttribute(nonHTMLElement, "contextmenu") is "none"
    872872FAIL testElementAttribute(nonHTMLElement, "copy") should be none. Was script: target; content: none.
    873873FAIL testElementAttribute(nonHTMLElement, "cut") should be none. Was script: target; content: none.
    874 FAIL testElementAttribute(nonHTMLElement, "dblclick") should be none. Was script: target; content: none.
    875 FAIL testElementAttribute(nonHTMLElement, "drag") should be none. Was script: target; content: none.
    876 FAIL testElementAttribute(nonHTMLElement, "dragend") should be none. Was script: target; content: none.
    877 FAIL testElementAttribute(nonHTMLElement, "dragenter") should be none. Was script: target; content: none.
    878 FAIL testElementAttribute(nonHTMLElement, "dragleave") should be none. Was script: target; content: none.
    879 FAIL testElementAttribute(nonHTMLElement, "dragover") should be none. Was script: target; content: none.
    880 FAIL testElementAttribute(nonHTMLElement, "dragstart") should be none. Was script: target; content: none.
    881 FAIL testElementAttribute(nonHTMLElement, "drop") should be none. Was script: target; content: none.
    882 FAIL testElementAttribute(nonHTMLElement, "durationchange") should be none. Was script: target; content: none.
    883 FAIL testElementAttribute(nonHTMLElement, "emptied") should be none. Was script: target; content: none.
    884 FAIL testElementAttribute(nonHTMLElement, "ended") should be none. Was script: target; content: none.
    885 FAIL testElementAttribute(nonHTMLElement, "error") should be none. Was script: target; content: none.
    886 FAIL testElementAttribute(nonHTMLElement, "focus") should be none. Was script: target; content: none.
     874PASS testElementAttribute(nonHTMLElement, "dblclick") is "none"
     875PASS testElementAttribute(nonHTMLElement, "drag") is "none"
     876PASS testElementAttribute(nonHTMLElement, "dragend") is "none"
     877PASS testElementAttribute(nonHTMLElement, "dragenter") is "none"
     878PASS testElementAttribute(nonHTMLElement, "dragleave") is "none"
     879PASS testElementAttribute(nonHTMLElement, "dragover") is "none"
     880PASS testElementAttribute(nonHTMLElement, "dragstart") is "none"
     881PASS testElementAttribute(nonHTMLElement, "drop") is "none"
     882PASS testElementAttribute(nonHTMLElement, "durationchange") is "none"
     883PASS testElementAttribute(nonHTMLElement, "emptied") is "none"
     884PASS testElementAttribute(nonHTMLElement, "ended") is "none"
     885PASS testElementAttribute(nonHTMLElement, "error") is "none"
     886PASS testElementAttribute(nonHTMLElement, "focus") is "none"
    887887FAIL testElementAttribute(nonHTMLElement, "focusin") should be none. Was script: target; content: none.
    888888FAIL testElementAttribute(nonHTMLElement, "focusout") should be none. Was script: target; content: none.
    889889PASS testElementAttribute(nonHTMLElement, "hashchange") is "none"
    890 FAIL testElementAttribute(nonHTMLElement, "input") should be none. Was script: target; content: none.
    891 FAIL testElementAttribute(nonHTMLElement, "invalid") should be none. Was script: target; content: none.
    892 FAIL testElementAttribute(nonHTMLElement, "keydown") should be none. Was script: target; content: none.
    893 FAIL testElementAttribute(nonHTMLElement, "keypress") should be none. Was script: target; content: none.
    894 FAIL testElementAttribute(nonHTMLElement, "keyup") should be none. Was script: target; content: none.
    895 FAIL testElementAttribute(nonHTMLElement, "load") should be none. Was script: target; content: none.
    896 FAIL testElementAttribute(nonHTMLElement, "loadeddata") should be none. Was script: target; content: none.
    897 FAIL testElementAttribute(nonHTMLElement, "loadedmetadata") should be none. Was script: target; content: none.
    898 FAIL testElementAttribute(nonHTMLElement, "loadstart") should be none. Was script: target; content: none.
     890PASS testElementAttribute(nonHTMLElement, "input") is "none"
     891PASS testElementAttribute(nonHTMLElement, "invalid") is "none"
     892PASS testElementAttribute(nonHTMLElement, "keydown") is "none"
     893PASS testElementAttribute(nonHTMLElement, "keypress") is "none"
     894PASS testElementAttribute(nonHTMLElement, "keyup") is "none"
     895PASS testElementAttribute(nonHTMLElement, "load") is "none"
     896PASS testElementAttribute(nonHTMLElement, "loadeddata") is "none"
     897PASS testElementAttribute(nonHTMLElement, "loadedmetadata") is "none"
     898PASS testElementAttribute(nonHTMLElement, "loadstart") is "none"
    899899PASS testElementAttribute(nonHTMLElement, "message") is "none"
    900 FAIL testElementAttribute(nonHTMLElement, "mousedown") should be none. Was script: target; content: none.
    901 FAIL testElementAttribute(nonHTMLElement, "mouseenter") should be none. Was script: target; content: none.
    902 FAIL testElementAttribute(nonHTMLElement, "mouseleave") should be none. Was script: target; content: none.
    903 FAIL testElementAttribute(nonHTMLElement, "mousemove") should be none. Was script: target; content: none.
    904 FAIL testElementAttribute(nonHTMLElement, "mouseout") should be none. Was script: target; content: none.
    905 FAIL testElementAttribute(nonHTMLElement, "mouseover") should be none. Was script: target; content: none.
    906 FAIL testElementAttribute(nonHTMLElement, "mouseup") should be none. Was script: target; content: none.
    907 FAIL testElementAttribute(nonHTMLElement, "mousewheel") should be none. Was script: target; content: none.
     900PASS testElementAttribute(nonHTMLElement, "mousedown") is "none"
     901PASS testElementAttribute(nonHTMLElement, "mouseenter") is "none"
     902PASS testElementAttribute(nonHTMLElement, "mouseleave") is "none"
     903PASS testElementAttribute(nonHTMLElement, "mousemove") is "none"
     904PASS testElementAttribute(nonHTMLElement, "mouseout") is "none"
     905PASS testElementAttribute(nonHTMLElement, "mouseover") is "none"
     906PASS testElementAttribute(nonHTMLElement, "mouseup") is "none"
     907PASS testElementAttribute(nonHTMLElement, "mousewheel") is "none"
    908908PASS testElementAttribute(nonHTMLElement, "noneventname") is "none"
    909909PASS testElementAttribute(nonHTMLElement, "offline") is "none"
     
    912912PASS testElementAttribute(nonHTMLElement, "pageshow") is "none"
    913913FAIL testElementAttribute(nonHTMLElement, "paste") should be none. Was script: target; content: none.
    914 FAIL testElementAttribute(nonHTMLElement, "pause") should be none. Was script: target; content: none.
    915 FAIL testElementAttribute(nonHTMLElement, "play") should be none. Was script: target; content: none.
    916 FAIL testElementAttribute(nonHTMLElement, "playing") should be none. Was script: target; content: none.
     914PASS testElementAttribute(nonHTMLElement, "pause") is "none"
     915PASS testElementAttribute(nonHTMLElement, "play") is "none"
     916PASS testElementAttribute(nonHTMLElement, "playing") is "none"
    917917PASS testElementAttribute(nonHTMLElement, "popstate") is "none"
    918 FAIL testElementAttribute(nonHTMLElement, "progress") should be none. Was script: target; content: none.
    919 FAIL testElementAttribute(nonHTMLElement, "ratechange") should be none. Was script: target; content: none.
     918PASS testElementAttribute(nonHTMLElement, "progress") is "none"
     919PASS testElementAttribute(nonHTMLElement, "ratechange") is "none"
    920920PASS testElementAttribute(nonHTMLElement, "readystatechange") is "none"
    921 FAIL testElementAttribute(nonHTMLElement, "reset") should be none. Was script: target; content: none.
    922 FAIL testElementAttribute(nonHTMLElement, "resize") should be none. Was script: target; content: none.
    923 FAIL testElementAttribute(nonHTMLElement, "scroll") should be none. Was script: target; content: none.
    924 FAIL testElementAttribute(nonHTMLElement, "search") should be none. Was script: target; content: none.
    925 FAIL testElementAttribute(nonHTMLElement, "seeked") should be none. Was script: target; content: none.
    926 FAIL testElementAttribute(nonHTMLElement, "seeking") should be none. Was script: target; content: none.
    927 FAIL testElementAttribute(nonHTMLElement, "select") should be none. Was script: target; content: none.
     921PASS testElementAttribute(nonHTMLElement, "reset") is "none"
     922PASS testElementAttribute(nonHTMLElement, "resize") is "none"
     923PASS testElementAttribute(nonHTMLElement, "scroll") is "none"
     924PASS testElementAttribute(nonHTMLElement, "search") is "none"
     925PASS testElementAttribute(nonHTMLElement, "seeked") is "none"
     926PASS testElementAttribute(nonHTMLElement, "seeking") is "none"
     927PASS testElementAttribute(nonHTMLElement, "select") is "none"
    928928PASS testElementAttribute(nonHTMLElement, "selectionchange") is "none"
    929929FAIL testElementAttribute(nonHTMLElement, "selectstart") should be none. Was script: target; content: none.
    930 FAIL testElementAttribute(nonHTMLElement, "stalled") should be none. Was script: target; content: none.
     930PASS testElementAttribute(nonHTMLElement, "stalled") is "none"
    931931PASS testElementAttribute(nonHTMLElement, "storage") is "none"
    932 FAIL testElementAttribute(nonHTMLElement, "submit") should be none. Was script: target; content: none.
    933 FAIL testElementAttribute(nonHTMLElement, "suspend") should be none. Was script: target; content: none.
    934 FAIL testElementAttribute(nonHTMLElement, "timeupdate") should be none. Was script: target; content: none.
     932PASS testElementAttribute(nonHTMLElement, "submit") is "none"
     933PASS testElementAttribute(nonHTMLElement, "suspend") is "none"
     934PASS testElementAttribute(nonHTMLElement, "timeupdate") is "none"
    935935FAIL testElementAttribute(nonHTMLElement, "transitionend") should be none. Was script: target; content: none.
    936936PASS testElementAttribute(nonHTMLElement, "unload") is "none"
    937 FAIL testElementAttribute(nonHTMLElement, "volumechange") should be none. Was script: target; content: none.
    938 FAIL testElementAttribute(nonHTMLElement, "waiting") should be none. Was script: target; content: none.
     937PASS testElementAttribute(nonHTMLElement, "volumechange") is "none"
     938PASS testElementAttribute(nonHTMLElement, "waiting") is "none"
    939939FAIL testElementAttribute(nonHTMLElement, "webkitanimationend") should be none. Was script: target; content: none.
    940940FAIL testElementAttribute(nonHTMLElement, "webkitanimationiteration") should be none. Was script: target; content: none.
    941941FAIL testElementAttribute(nonHTMLElement, "webkitanimationstart") should be none. Was script: target; content: none.
    942942FAIL testElementAttribute(nonHTMLElement, "webkittransitionend") should be none. Was script: target; content: none.
    943 FAIL testElementAttribute(nonHTMLElement, "wheel") should be none. Was script: target; content: none.
     943PASS testElementAttribute(nonHTMLElement, "wheel") is "none"
    944944
    945945PASS successfullyParsed is true
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r202471 r202539  
     12016-06-27  Chris Dumez  <cdumez@apple.com>
     2
     3        HTMLElement / SVGElement should implement GlobalEventHandlers, not Element
     4        https://bugs.webkit.org/show_bug.cgi?id=159191
     5        <rdar://problem/27019299>
     6
     7        Reviewed by Ryosuke Niwa.
     8
     9        Rebaseline test now that more checks are passing.
     10
     11        * web-platform-tests/html/dom/interfaces-expected.txt:
     12
    1132016-06-26  Youenn Fablet  <youennf@gmail.com>
    214
  • trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt

    r202471 r202539  
    11501150FAIL HTMLElement interface: attribute commandDisabled assert_true: The prototype object must have a property "commandDisabled" expected true got false
    11511151FAIL HTMLElement interface: attribute commandChecked assert_true: The prototype object must have a property "commandChecked" expected true got false
    1152 FAIL HTMLElement interface: attribute onabort assert_own_property: expected property "onabort" missing
     1152PASS HTMLElement interface: attribute onabort
    11531153FAIL HTMLElement interface: attribute onautocomplete assert_true: The prototype object must have a property "onautocomplete" expected true got false
    11541154FAIL HTMLElement interface: attribute onautocompleteerror assert_true: The prototype object must have a property "onautocompleteerror" expected true got false
    1155 FAIL HTMLElement interface: attribute onblur assert_own_property: expected property "onblur" missing
     1155PASS HTMLElement interface: attribute onblur
    11561156FAIL HTMLElement interface: attribute oncancel assert_true: The prototype object must have a property "oncancel" expected true got false
    1157 FAIL HTMLElement interface: attribute oncanplay assert_own_property: expected property "oncanplay" missing
    1158 FAIL HTMLElement interface: attribute oncanplaythrough assert_own_property: expected property "oncanplaythrough" missing
    1159 FAIL HTMLElement interface: attribute onchange assert_own_property: expected property "onchange" missing
    1160 FAIL HTMLElement interface: attribute onclick assert_own_property: expected property "onclick" missing
     1157PASS HTMLElement interface: attribute oncanplay
     1158PASS HTMLElement interface: attribute oncanplaythrough
     1159PASS HTMLElement interface: attribute onchange
     1160PASS HTMLElement interface: attribute onclick
    11611161FAIL HTMLElement interface: attribute onclose assert_true: The prototype object must have a property "onclose" expected true got false
    1162 FAIL HTMLElement interface: attribute oncontextmenu assert_own_property: expected property "oncontextmenu" missing
     1162PASS HTMLElement interface: attribute oncontextmenu
    11631163FAIL HTMLElement interface: attribute oncuechange assert_true: The prototype object must have a property "oncuechange" expected true got false
    1164 FAIL HTMLElement interface: attribute ondblclick assert_own_property: expected property "ondblclick" missing
    1165 FAIL HTMLElement interface: attribute ondrag assert_own_property: expected property "ondrag" missing
    1166 FAIL HTMLElement interface: attribute ondragend assert_own_property: expected property "ondragend" missing
    1167 FAIL HTMLElement interface: attribute ondragenter assert_own_property: expected property "ondragenter" missing
     1164PASS HTMLElement interface: attribute ondblclick
     1165PASS HTMLElement interface: attribute ondrag
     1166PASS HTMLElement interface: attribute ondragend
     1167PASS HTMLElement interface: attribute ondragenter
    11681168FAIL HTMLElement interface: attribute ondragexit assert_true: The prototype object must have a property "ondragexit" expected true got false
    1169 FAIL HTMLElement interface: attribute ondragleave assert_own_property: expected property "ondragleave" missing
    1170 FAIL HTMLElement interface: attribute ondragover assert_own_property: expected property "ondragover" missing
    1171 FAIL HTMLElement interface: attribute ondragstart assert_own_property: expected property "ondragstart" missing
    1172 FAIL HTMLElement interface: attribute ondrop assert_own_property: expected property "ondrop" missing
    1173 FAIL HTMLElement interface: attribute ondurationchange assert_own_property: expected property "ondurationchange" missing
    1174 FAIL HTMLElement interface: attribute onemptied assert_own_property: expected property "onemptied" missing
    1175 FAIL HTMLElement interface: attribute onended assert_own_property: expected property "onended" missing
    1176 FAIL HTMLElement interface: attribute onerror assert_own_property: expected property "onerror" missing
    1177 FAIL HTMLElement interface: attribute onfocus assert_own_property: expected property "onfocus" missing
    1178 FAIL HTMLElement interface: attribute oninput assert_own_property: expected property "oninput" missing
    1179 FAIL HTMLElement interface: attribute oninvalid assert_own_property: expected property "oninvalid" missing
    1180 FAIL HTMLElement interface: attribute onkeydown assert_own_property: expected property "onkeydown" missing
    1181 FAIL HTMLElement interface: attribute onkeypress assert_own_property: expected property "onkeypress" missing
    1182 FAIL HTMLElement interface: attribute onkeyup assert_own_property: expected property "onkeyup" missing
    1183 FAIL HTMLElement interface: attribute onload assert_own_property: expected property "onload" missing
    1184 FAIL HTMLElement interface: attribute onloadeddata assert_own_property: expected property "onloadeddata" missing
    1185 FAIL HTMLElement interface: attribute onloadedmetadata assert_own_property: expected property "onloadedmetadata" missing
    1186 FAIL HTMLElement interface: attribute onloadstart assert_own_property: expected property "onloadstart" missing
    1187 FAIL HTMLElement interface: attribute onmousedown assert_own_property: expected property "onmousedown" missing
    1188 FAIL HTMLElement interface: attribute onmouseenter assert_own_property: expected property "onmouseenter" missing
    1189 FAIL HTMLElement interface: attribute onmouseleave assert_own_property: expected property "onmouseleave" missing
    1190 FAIL HTMLElement interface: attribute onmousemove assert_own_property: expected property "onmousemove" missing
    1191 FAIL HTMLElement interface: attribute onmouseout assert_own_property: expected property "onmouseout" missing
    1192 FAIL HTMLElement interface: attribute onmouseover assert_own_property: expected property "onmouseover" missing
    1193 FAIL HTMLElement interface: attribute onmouseup assert_own_property: expected property "onmouseup" missing
    1194 FAIL HTMLElement interface: attribute onmousewheel assert_own_property: expected property "onmousewheel" missing
    1195 FAIL HTMLElement interface: attribute onpause assert_own_property: expected property "onpause" missing
    1196 FAIL HTMLElement interface: attribute onplay assert_own_property: expected property "onplay" missing
    1197 FAIL HTMLElement interface: attribute onplaying assert_own_property: expected property "onplaying" missing
    1198 FAIL HTMLElement interface: attribute onprogress assert_own_property: expected property "onprogress" missing
    1199 FAIL HTMLElement interface: attribute onratechange assert_own_property: expected property "onratechange" missing
    1200 FAIL HTMLElement interface: attribute onreset assert_own_property: expected property "onreset" missing
    1201 FAIL HTMLElement interface: attribute onresize assert_own_property: expected property "onresize" missing
    1202 FAIL HTMLElement interface: attribute onscroll assert_own_property: expected property "onscroll" missing
    1203 FAIL HTMLElement interface: attribute onseeked assert_own_property: expected property "onseeked" missing
    1204 FAIL HTMLElement interface: attribute onseeking assert_own_property: expected property "onseeking" missing
    1205 FAIL HTMLElement interface: attribute onselect assert_own_property: expected property "onselect" missing
     1169PASS HTMLElement interface: attribute ondragleave
     1170PASS HTMLElement interface: attribute ondragover
     1171PASS HTMLElement interface: attribute ondragstart
     1172PASS HTMLElement interface: attribute ondrop
     1173PASS HTMLElement interface: attribute ondurationchange
     1174PASS HTMLElement interface: attribute onemptied
     1175PASS HTMLElement interface: attribute onended
     1176PASS HTMLElement interface: attribute onerror
     1177PASS HTMLElement interface: attribute onfocus
     1178PASS HTMLElement interface: attribute oninput
     1179PASS HTMLElement interface: attribute oninvalid
     1180PASS HTMLElement interface: attribute onkeydown
     1181PASS HTMLElement interface: attribute onkeypress
     1182PASS HTMLElement interface: attribute onkeyup
     1183PASS HTMLElement interface: attribute onload
     1184PASS HTMLElement interface: attribute onloadeddata
     1185PASS HTMLElement interface: attribute onloadedmetadata
     1186PASS HTMLElement interface: attribute onloadstart
     1187PASS HTMLElement interface: attribute onmousedown
     1188PASS HTMLElement interface: attribute onmouseenter
     1189PASS HTMLElement interface: attribute onmouseleave
     1190PASS HTMLElement interface: attribute onmousemove
     1191PASS HTMLElement interface: attribute onmouseout
     1192PASS HTMLElement interface: attribute onmouseover
     1193PASS HTMLElement interface: attribute onmouseup
     1194PASS HTMLElement interface: attribute onmousewheel
     1195PASS HTMLElement interface: attribute onpause
     1196PASS HTMLElement interface: attribute onplay
     1197PASS HTMLElement interface: attribute onplaying
     1198PASS HTMLElement interface: attribute onprogress
     1199PASS HTMLElement interface: attribute onratechange
     1200PASS HTMLElement interface: attribute onreset
     1201PASS HTMLElement interface: attribute onresize
     1202PASS HTMLElement interface: attribute onscroll
     1203PASS HTMLElement interface: attribute onseeked
     1204PASS HTMLElement interface: attribute onseeking
     1205PASS HTMLElement interface: attribute onselect
    12061206FAIL HTMLElement interface: attribute onshow assert_true: The prototype object must have a property "onshow" expected true got false
    12071207FAIL HTMLElement interface: attribute onsort assert_true: The prototype object must have a property "onsort" expected true got false
    1208 FAIL HTMLElement interface: attribute onstalled assert_own_property: expected property "onstalled" missing
    1209 FAIL HTMLElement interface: attribute onsubmit assert_own_property: expected property "onsubmit" missing
    1210 FAIL HTMLElement interface: attribute onsuspend assert_own_property: expected property "onsuspend" missing
    1211 FAIL HTMLElement interface: attribute ontimeupdate assert_own_property: expected property "ontimeupdate" missing
     1208PASS HTMLElement interface: attribute onstalled
     1209PASS HTMLElement interface: attribute onsubmit
     1210PASS HTMLElement interface: attribute onsuspend
     1211PASS HTMLElement interface: attribute ontimeupdate
    12121212FAIL HTMLElement interface: attribute ontoggle assert_true: The prototype object must have a property "ontoggle" expected true got false
    1213 FAIL HTMLElement interface: attribute onvolumechange assert_own_property: expected property "onvolumechange" missing
    1214 FAIL HTMLElement interface: attribute onwaiting assert_own_property: expected property "onwaiting" missing
     1213PASS HTMLElement interface: attribute onvolumechange
     1214PASS HTMLElement interface: attribute onwaiting
    12151215PASS HTMLElement must be primary interface of document.createElement("noscript")
    12161216PASS Stringification of document.createElement("noscript")
  • trunk/LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt

    r200297 r202539  
    4646PASS a["isContentEditable"] is false
    4747PASS a["spellcheck"] is true
    48 PASS a["tagName"] is A
    49 PASS a["attributes"] is [object NamedNodeMap]
    50 PASS a["style"] is [object CSSStyleDeclaration]
    51 PASS a["id"] is foo
    52 PASS a["offsetLeft"] is 8
    53 PASS a["offsetTop"] is 789
    54 PASS a["offsetWidth"] is 40
    55 PASS a["offsetHeight"] is 18
    56 PASS a["clientLeft"] is 0
    57 PASS a["clientTop"] is 0
    58 PASS a["clientWidth"] is 0
    59 PASS a["clientHeight"] is 0
    60 PASS a["scrollLeft"] is 0
    61 PASS a["scrollTop"] is 0
    62 PASS a["scrollWidth"] is 0
    63 PASS a["scrollHeight"] is 0
    64 PASS a["offsetParent"] is [object HTMLBodyElement]
    65 PASS a["innerHTML"] is nerget
    66 PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a>
    67 PASS a["className"] is
    68 PASS a["classList"] is
    69 PASS a["dataset"] is [object DOMStringMap]
    70 PASS a["uiactions"] is
    71 PASS a["webkitRegionOverset"] is undefined
    72 PASS a["shadowRoot"] is null
    73 PASS a["slot"] is
    7448PASS a["onabort"] is null
    7549PASS a["onblur"] is null
     
    126100PASS a["onvolumechange"] is null
    127101PASS a["onwaiting"] is null
     102PASS a["tagName"] is A
     103PASS a["attributes"] is [object NamedNodeMap]
     104PASS a["style"] is [object CSSStyleDeclaration]
     105PASS a["id"] is foo
     106PASS a["offsetLeft"] is 8
     107PASS a["offsetTop"] is 1599
     108PASS a["offsetWidth"] is 40
     109PASS a["offsetHeight"] is 18
     110PASS a["clientLeft"] is 0
     111PASS a["clientTop"] is 0
     112PASS a["clientWidth"] is 0
     113PASS a["clientHeight"] is 0
     114PASS a["scrollLeft"] is 0
     115PASS a["scrollTop"] is 0
     116PASS a["scrollWidth"] is 0
     117PASS a["scrollHeight"] is 0
     118PASS a["offsetParent"] is [object HTMLBodyElement]
     119PASS a["innerHTML"] is nerget
     120PASS a["outerHTML"] is <a id="foo" href="bar">nerget</a>
     121PASS a["className"] is
     122PASS a["classList"] is
     123PASS a["dataset"] is [object DOMStringMap]
     124PASS a["uiactions"] is
     125PASS a["webkitRegionOverset"] is undefined
     126PASS a["shadowRoot"] is null
     127PASS a["slot"] is
    128128PASS a["previousElementSibling"] is [object HTMLDivElement]
    129129PASS a["nextElementSibling"] is [object HTMLScriptElement]
  • trunk/Source/WebCore/ChangeLog

    r202538 r202539  
     12016-06-27  Chris Dumez  <cdumez@apple.com>
     2
     3        HTMLElement / SVGElement should implement GlobalEventHandlers, not Element
     4        https://bugs.webkit.org/show_bug.cgi?id=159191
     5        <rdar://problem/27019299>
     6
     7        Reviewed by Ryosuke Niwa.
     8
     9        HTMLElement / SVGElement should implement GlobalEventHandlers, not Element:
     10        - https://html.spec.whatwg.org/multipage/dom.html#htmlelement
     11        - https://www.w3.org/TR/SVG2/types.html#InterfaceSVGElement
     12
     13        Firefox and Chrome behave as per the specification.
     14
     15        Fixing this also fixes rendering on http://survey123.arcgis.com/.
     16
     17        No new tests, covered by existing tests that were rebaselined.
     18
     19        * dom/Element.idl:
     20        * html/HTMLElement.idl:
     21        * svg/SVGElement.idl:
     22
    1232016-06-27  Myles C. Maxfield  <mmaxfield@apple.com>
    224
  • trunk/Source/WebCore/dom/Element.idl

    r202091 r202539  
    244244Element implements ParentNode;
    245245Element implements NonDocumentTypeChildNode;
    246 Element implements GlobalEventHandlers;
  • trunk/Source/WebCore/html/HTMLElement.idl

    r199969 r202539  
    6969#endif
    7070};
     71
     72HTMLElement implements GlobalEventHandlers;
  • trunk/Source/WebCore/svg/SVGElement.idl

    r199969 r202539  
    4848};
    4949
     50SVGElement implements GlobalEventHandlers;
Note: See TracChangeset for help on using the changeset viewer.