Changeset 181217 in webkit
- Timestamp:
- Mar 7, 2015 6:14:22 PM (9 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 deleted
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r181204 r181217 1 2015-03-07 Darin Adler <darin@apple.com> 2 3 Improve the event handler test 4 https://bugs.webkit.org/show_bug.cgi?id=142439 5 6 Reviewed by Ryosuke Niwa. 7 8 * fast/dom/event-handler-attributes-expected.txt: Renamed from legacy-event-handler-attributes-expected.txt. 9 Also updated to reflect changes in the test. 10 11 * fast/dom/event-handler-attributes.html: Renamed from legacy-event-handler-attributes.html. 12 Fixed bug in the test that was making document event handler tests falsely report failure. 13 Removed testing of some HTMLMediaElement attributes that are conditionally present; this test 14 is intended to test only unconditionally available event handler attributes at this time. 15 16 * platform/win/fast/dom/legacy-event-handler-attributes-expected.txt: Removed. The conditional HTMLMediaElement 17 attributes are the reason the Windows-specific results were needed. 18 1 19 2015-03-06 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 20 -
trunk/LayoutTests/fast/dom/event-handler-attributes-expected.txt
r181216 r181217 1 Test which event listeners are set up by legacyevent handler attributes (the ones with names like onclick).1 Test which event listeners are set up by event handler attributes (the ones with names like onclick). 2 2 3 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". … … 99 99 PASS testScriptAttribute(window, "touchmove") is "none" 100 100 PASS testScriptAttribute(window, "touchstart") is "none" 101 PASS testScriptAttribute(window, "webkitkeyadded") is "none"102 PASS testScriptAttribute(window, "webkitkeyerror") is "none"103 PASS testScriptAttribute(window, "webkitkeymessage") is "none"104 101 PASS testScriptAttribute(window, "webkitpresentationmodechanged") is "none" 105 102 106 103 Event names we expect to be able to set on the document 107 104 108 FAIL testScriptAttribute(document, "abort") should be document. Was document, remove failed. 109 FAIL testScriptAttribute(document, "beforecopy") should be document. Was document, remove failed. 110 FAIL testScriptAttribute(document, "beforecut") should be document. Was document, remove failed. 111 FAIL testScriptAttribute(document, "beforepaste") should be document. Was document, remove failed. 112 FAIL testScriptAttribute(document, "blur") should be document. Was document, remove failed. 113 FAIL testScriptAttribute(document, "change") should be document. Was document, remove failed. 114 FAIL testScriptAttribute(document, "click") should be document. Was document, remove failed. 115 FAIL testScriptAttribute(document, "contextmenu") should be document. Was document, remove failed. 116 FAIL testScriptAttribute(document, "copy") should be document. Was document, remove failed. 117 FAIL testScriptAttribute(document, "cut") should be document. Was document, remove failed. 118 FAIL testScriptAttribute(document, "dblclick") should be document. Was document, remove failed. 119 FAIL testScriptAttribute(document, "drag") should be document. Was document, remove failed. 120 FAIL testScriptAttribute(document, "dragend") should be document. Was document, remove failed. 121 FAIL testScriptAttribute(document, "dragenter") should be document. Was document, remove failed. 122 FAIL testScriptAttribute(document, "dragleave") should be document. Was document, remove failed. 123 FAIL testScriptAttribute(document, "dragover") should be document. Was document, remove failed. 124 FAIL testScriptAttribute(document, "dragstart") should be document. Was document, remove failed. 125 FAIL testScriptAttribute(document, "drop") should be document. Was document, remove failed. 126 FAIL testScriptAttribute(document, "error") should be document. Was document, remove failed. 127 FAIL testScriptAttribute(document, "focus") should be document. Was document, remove failed. 128 FAIL testScriptAttribute(document, "input") should be document. Was document, remove failed. 129 FAIL testScriptAttribute(document, "invalid") should be document. Was document, remove failed. 130 FAIL testScriptAttribute(document, "keydown") should be document. Was document, remove failed. 131 FAIL testScriptAttribute(document, "keypress") should be document. Was document, remove failed. 132 FAIL testScriptAttribute(document, "keyup") should be document. Was document, remove failed. 133 FAIL testScriptAttribute(document, "load") should be document. Was document, remove failed. 134 FAIL testScriptAttribute(document, "mousedown") should be document. Was document, remove failed. 135 FAIL testScriptAttribute(document, "mouseenter") should be document. Was document, remove failed. 136 FAIL testScriptAttribute(document, "mouseleave") should be document. Was document, remove failed. 137 FAIL testScriptAttribute(document, "mousemove") should be document. Was document, remove failed. 138 FAIL testScriptAttribute(document, "mouseout") should be document. Was document, remove failed. 139 FAIL testScriptAttribute(document, "mouseover") should be document. Was document, remove failed. 140 FAIL testScriptAttribute(document, "mouseup") should be document. Was document, remove failed. 141 FAIL testScriptAttribute(document, "mousewheel") should be document. Was document, remove failed. 142 FAIL testScriptAttribute(document, "paste") should be document. Was document, remove failed. 143 FAIL testScriptAttribute(document, "readystatechange") should be document. Was document, remove failed. 144 FAIL testScriptAttribute(document, "reset") should be document. Was document, remove failed. 145 FAIL testScriptAttribute(document, "scroll") should be document. Was document, remove failed. 146 FAIL testScriptAttribute(document, "search") should be document. Was document, remove failed. 147 FAIL testScriptAttribute(document, "select") should be document. Was document, remove failed. 148 FAIL testScriptAttribute(document, "selectionchange") should be document. Was document, remove failed. 149 FAIL testScriptAttribute(document, "selectstart") should be document. Was document, remove failed. 150 FAIL testScriptAttribute(document, "submit") should be document. Was document, remove failed. 151 FAIL testScriptAttribute(document, "wheel") should be document. Was document, remove failed. 105 PASS testScriptAttribute(document, "abort") is "document" 106 PASS testScriptAttribute(document, "beforecopy") is "document" 107 PASS testScriptAttribute(document, "beforecut") is "document" 108 PASS testScriptAttribute(document, "beforepaste") is "document" 109 PASS testScriptAttribute(document, "blur") is "document" 110 PASS testScriptAttribute(document, "change") is "document" 111 PASS testScriptAttribute(document, "click") is "document" 112 PASS testScriptAttribute(document, "contextmenu") is "document" 113 PASS testScriptAttribute(document, "copy") is "document" 114 PASS testScriptAttribute(document, "cut") is "document" 115 PASS testScriptAttribute(document, "dblclick") is "document" 116 PASS testScriptAttribute(document, "drag") is "document" 117 PASS testScriptAttribute(document, "dragend") is "document" 118 PASS testScriptAttribute(document, "dragenter") is "document" 119 PASS testScriptAttribute(document, "dragleave") is "document" 120 PASS testScriptAttribute(document, "dragover") is "document" 121 PASS testScriptAttribute(document, "dragstart") is "document" 122 PASS testScriptAttribute(document, "drop") is "document" 123 PASS testScriptAttribute(document, "error") is "document" 124 PASS testScriptAttribute(document, "focus") is "document" 125 PASS testScriptAttribute(document, "input") is "document" 126 PASS testScriptAttribute(document, "invalid") is "document" 127 PASS testScriptAttribute(document, "keydown") is "document" 128 PASS testScriptAttribute(document, "keypress") is "document" 129 PASS testScriptAttribute(document, "keyup") is "document" 130 PASS testScriptAttribute(document, "load") is "document" 131 PASS testScriptAttribute(document, "mousedown") is "document" 132 PASS testScriptAttribute(document, "mouseenter") is "document" 133 PASS testScriptAttribute(document, "mouseleave") is "document" 134 PASS testScriptAttribute(document, "mousemove") is "document" 135 PASS testScriptAttribute(document, "mouseout") is "document" 136 PASS testScriptAttribute(document, "mouseover") is "document" 137 PASS testScriptAttribute(document, "mouseup") is "document" 138 PASS testScriptAttribute(document, "mousewheel") is "document" 139 PASS testScriptAttribute(document, "paste") is "document" 140 PASS testScriptAttribute(document, "readystatechange") is "document" 141 PASS testScriptAttribute(document, "reset") is "document" 142 PASS testScriptAttribute(document, "scroll") is "document" 143 PASS testScriptAttribute(document, "search") is "document" 144 PASS testScriptAttribute(document, "select") is "document" 145 PASS testScriptAttribute(document, "selectionchange") is "document" 146 PASS testScriptAttribute(document, "selectstart") is "document" 147 PASS testScriptAttribute(document, "submit") is "document" 148 PASS testScriptAttribute(document, "wheel") is "document" 152 149 153 150 Event names we expect not to be able to set on the document … … 198 195 PASS testScriptAttribute(document, "webkitanimationiteration") is "none" 199 196 PASS testScriptAttribute(document, "webkitanimationstart") is "none" 200 PASS testScriptAttribute(document, "webkitkeyadded") is "none"201 PASS testScriptAttribute(document, "webkitkeyerror") is "none"202 PASS testScriptAttribute(document, "webkitkeymessage") is "none"203 197 PASS testScriptAttribute(document, "webkitpresentationmodechanged") is "none" 204 198 PASS testScriptAttribute(document, "webkittransitionend") is "none" … … 280 274 FAIL testElementAttribute(element, "webkitanimationiteration") should be target. Was script: none; content: target. 281 275 FAIL testElementAttribute(element, "webkitanimationstart") should be target. Was script: none; content: target. 282 FAIL testElementAttribute(element, "webkitkeyadded") should be target. Was none.283 FAIL testElementAttribute(element, "webkitkeyerror") should be target. Was none.284 FAIL testElementAttribute(element, "webkitkeymessage") should be target. Was none.285 276 FAIL testElementAttribute(element, "webkitpresentationmodechanged") should be target. Was none. 286 277 FAIL testElementAttribute(element, "webkittransitionend") should be target. Was script: none; content: target. … … 380 371 FAIL testElementAttribute(inputElement, "webkitanimationiteration") should be target. Was script: none; content: target. 381 372 FAIL testElementAttribute(inputElement, "webkitanimationstart") should be target. Was script: none; content: target. 382 FAIL testElementAttribute(inputElement, "webkitkeyadded") should be target. Was none.383 FAIL testElementAttribute(inputElement, "webkitkeyerror") should be target. Was none.384 FAIL testElementAttribute(inputElement, "webkitkeymessage") should be target. Was none.385 373 FAIL testElementAttribute(inputElement, "webkitpresentationmodechanged") should be target. Was none. 386 374 FAIL testElementAttribute(inputElement, "webkittransitionend") should be target. Was script: none; content: target. … … 480 468 FAIL testElementAttribute(audioElement, "webkitanimationiteration") should be target. Was script: none; content: target. 481 469 FAIL testElementAttribute(audioElement, "webkitanimationstart") should be target. Was script: none; content: target. 482 FAIL testElementAttribute(audioElement, "webkitkeyadded") should be target. Was none.483 FAIL testElementAttribute(audioElement, "webkitkeyerror") should be target. Was none.484 FAIL testElementAttribute(audioElement, "webkitkeymessage") should be target. Was none.485 470 FAIL testElementAttribute(audioElement, "webkitpresentationmodechanged") should be target. Was none. 486 471 FAIL testElementAttribute(audioElement, "webkittransitionend") should be target. Was script: none; content: target. … … 580 565 FAIL testElementAttribute(videoElement, "webkitanimationiteration") should be target. Was script: none; content: target. 581 566 FAIL testElementAttribute(videoElement, "webkitanimationstart") should be target. Was script: none; content: target. 582 FAIL testElementAttribute(videoElement, "webkitkeyadded") should be target. Was none.583 FAIL testElementAttribute(videoElement, "webkitkeyerror") should be target. Was none.584 FAIL testElementAttribute(videoElement, "webkitkeymessage") should be target. Was none.585 567 FAIL testElementAttribute(videoElement, "webkitpresentationmodechanged") should be target. Was none. 586 568 FAIL testElementAttribute(videoElement, "webkittransitionend") should be target. Was script: none; content: target. … … 624 606 Event names we expect to be forwarded from <body> element to document) 625 607 626 FAIL testElementAttribute(bodyElement, "selectionchange") should be document. Was script: none; content: document , remove failed.608 FAIL testElementAttribute(bodyElement, "selectionchange") should be document. Was script: none; content: document. 627 609 628 610 Non-forwarded event names on <body> element … … 698 680 FAIL testElementAttribute(bodyElement, "webkitanimationiteration") should be target. Was script: none; content: target. 699 681 FAIL testElementAttribute(bodyElement, "webkitanimationstart") should be target. Was script: none; content: target. 700 FAIL testElementAttribute(bodyElement, "webkitkeyadded") should be target. Was none.701 FAIL testElementAttribute(bodyElement, "webkitkeyerror") should be target. Was none.702 FAIL testElementAttribute(bodyElement, "webkitkeymessage") should be target. Was none.703 682 FAIL testElementAttribute(bodyElement, "webkitpresentationmodechanged") should be target. Was none. 704 683 FAIL testElementAttribute(bodyElement, "webkittransitionend") should be target. Was script: none; content: target. … … 804 783 FAIL testElementAttribute(framesetElement, "webkitanimationiteration") should be target. Was script: none; content: target. 805 784 FAIL testElementAttribute(framesetElement, "webkitanimationstart") should be target. Was script: none; content: target. 806 FAIL testElementAttribute(framesetElement, "webkitkeyadded") should be target. Was none.807 FAIL testElementAttribute(framesetElement, "webkitkeyerror") should be target. Was none.808 FAIL testElementAttribute(framesetElement, "webkitkeymessage") should be target. Was none.809 785 FAIL testElementAttribute(framesetElement, "webkitpresentationmodechanged") should be target. Was none. 810 786 FAIL testElementAttribute(framesetElement, "webkittransitionend") should be target. Was script: none; content: target. -
trunk/LayoutTests/fast/dom/event-handler-attributes.html
r181216 r181217 4 4 <script src="../../resources/js-test-pre.js"></script> 5 5 <script> 6 description("Test which event listeners are set up by legacyevent handler attributes (the ones with names like onclick).");6 description("Test which event listeners are set up by event handler attributes (the ones with names like onclick)."); 7 7 8 8 const unusualEventNames = { … … 212 212 "webkitanimationiteration", 213 213 "webkitanimationstart", 214 "webkitkeyadded",215 "webkitkeyerror",216 "webkitkeymessage",217 214 "webkitpresentationmodechanged", 218 215 "webkittransitionend", … … 270 267 remove(); 271 268 269 sideEffect = capturedMagicNumber - 1; 270 272 271 object.dispatchEvent(new Event(eventName)); 273 272 window.dispatchEvent(new Event(eventName)); … … 463 462 html/HTMLFormElement.idl: [Conditional=REQUEST_AUTOCOMPLETE, NotEnumerable] attribute EventListener onautocompleteerror; 464 463 464 html/HTMLMediaElement.idl: attribute EventListener onwebkitkeyadded; 465 html/HTMLMediaElement.idl: attribute EventListener onwebkitkeyerror; 466 html/HTMLMediaElement.idl: attribute EventListener onwebkitkeymessage; 465 467 html/HTMLMediaElement.idl: [Conditional=ENCRYPTED_MEDIA|ENCRYPTED_MEDIA_V2] attribute EventListener onwebkitneedkey; 466 468 html/HTMLMediaElement.idl: [Conditional=WIRELESS_PLAYBACK_TARGET] attribute EventListener onwebkitcurrentplaybacktargetiswirelesschanged;
Note: See TracChangeset
for help on using the changeset viewer.