Changeset 251677 in webkit
- Timestamp:
- Oct 28, 2019 3:07:55 PM (4 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 9 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r251671 r251677 1 2019-10-28 Chris Dumez <cdumez@apple.com> 2 3 Update html/semantics/forms WPT tests from upstream 4 https://bugs.webkit.org/show_bug.cgi?id=203499 5 6 Reviewed by Ryosuke Niwa. 7 8 * TestExpectations: 9 Skip new ref-test that is failing. 10 11 * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt: 12 * platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt: 13 Baseline existing WPT test. 14 1 15 2019-10-28 Yusuke Suzuki <ysuzuki@apple.com> 2 16 -
trunk/LayoutTests/TestExpectations
r251662 r251677 3917 3917 webkit.org/b/203338 imported/w3c/web-platform-tests/css/css-values/vh_not_refreshing_on_chrome.html [ ImageOnlyFailure ] 3918 3918 3919 webkit.org/b/202859 imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/range-setattribute-value.html [ ImageOnlyFailure ] 3920 3919 3921 # wpt css-position failures 3920 3922 webkit.org/b/203445 [ Debug ] imported/w3c/web-platform-tests/css/css-position/position-absolute-container-dynamic-002.html [ Skip ] -
trunk/LayoutTests/imported/w3c/ChangeLog
r251668 r251677 1 2019-10-28 Chris Dumez <cdumez@apple.com> 2 3 Update html/semantics/forms WPT tests from upstream 4 https://bugs.webkit.org/show_bug.cgi?id=203499 5 6 Reviewed by Ryosuke Niwa. 7 8 Re-sync html/semantics/forms WPT tests from upstream 23c1462333cb99f. 9 10 * resources/import-expectations.json: 11 * web-platform-tests/html/semantics/forms/form-submission-0/form-double-submit-2-expected.txt: Added. 12 * web-platform-tests/html/semantics/forms/form-submission-0/form-double-submit-2.html: Added. 13 * web-platform-tests/html/semantics/forms/form-submission-0/form-double-submit-3-expected.txt: Added. 14 * web-platform-tests/html/semantics/forms/form-submission-0/form-double-submit-3.html: Added. 15 * web-platform-tests/html/semantics/forms/form-submission-0/form-double-submit-expected.txt: Added. 16 * web-platform-tests/html/semantics/forms/form-submission-0/form-double-submit.html: Added. 17 * web-platform-tests/html/semantics/forms/form-submission-0/resources/form-submission.py: Added. 18 (main): 19 * web-platform-tests/html/semantics/forms/form-submission-0/resources/w3c-import.log: 20 * web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body.html: 21 * web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log: 22 * web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application.html: 23 * web-platform-tests/html/semantics/forms/the-input-element/range-setattribute-value-expected.html: Added. 24 * web-platform-tests/html/semantics/forms/the-input-element/range-setattribute-value.html: Added. 25 * web-platform-tests/html/semantics/forms/the-input-element/w3c-import.log: 26 1 27 2019-10-28 Simon Fraser <simon.fraser@apple.com> 2 28 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/resources/w3c-import.log
r249886 r251677 16 16 List of files: 17 17 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/resources/file-submission.py 18 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/resources/form-submission.py 18 19 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/resources/targetted-form.js -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/submit-entity-body.html
r210823 r251677 97 97 var testdocument = testframe.contentWindow.document; 98 98 testdocument.body.innerHTML = 99 "<form id=testform method=post action=\" form-submission.py\" enctype=\"" + test_obj.enctype + "\">" +99 "<form id=testform method=post action=\"/html/semantics/forms/form-submission-0/resources/form-submission.py\" enctype=\"" + test_obj.enctype + "\">" + 100 100 test_obj.input + 101 101 test_obj.submitelement + -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log
r249886 r251677 20 20 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-data-set-usv-form.html 21 21 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-data-set-usv.html 22 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-double-submit-2.html 23 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-double-submit-3.html 24 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-double-submit.html 22 25 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-echo.py 23 26 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-submission-0/form-submission-algorithm.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application.html
r230445 r251677 14 14 var el = document.createElement("input"); 15 15 el.type = type; 16 17 if (el.type != type) { 18 // Type is not supported - don't bother with the following checks. 19 return; 20 } 16 21 17 22 test(() => { … … 71 76 72 77 test(() => { 73 assert_ equals(el.selectionDirection, "none");78 assert_in_array(el.selectionDirection, ["forward", "none"]); 74 79 }, `selectionDirection on an input[type=${type}] returns a value`); 75 80 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/w3c-import.log
r249886 r251677 65 65 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/range-intrinsic-size-expected.html 66 66 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/range-intrinsic-size.html 67 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/range-setattribute-value-expected.html 68 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/range-setattribute-value.html 67 69 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/range.html 68 70 /LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/required_attribute.html -
trunk/LayoutTests/platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt
r237245 r251677 30 30 PASS setRangeText on an input[type=email] throws InvalidStateError 31 31 FAIL setSelectionRange on an input[type=email] throws InvalidStateError assert_throws: function "function (){ 32 el.setSelectionRange(0, 1);33 }" did not throw34 FAIL selectionStart on an input[type=datetime-local] returns null assert_equals: expected (object) null but got (number) 035 FAIL selectionEnd on an input[type=datetime-local] returns null assert_equals: expected (object) null but got (number) 036 FAIL selectionDirection on an input[type=datetime-local] returns null assert_equals: expected (object) null but got (string) "none"37 FAIL assigning selectionStart on an input[type=datetime-local] throws InvalidStateError assert_throws: function "function (){38 el.selectionStart = 0;39 }" did not throw40 FAIL assigning selectionEnd on an input[type=datetime-local] throws InvalidStateError assert_throws: function "function (){41 el.selectionEnd = 0;42 }" did not throw43 FAIL assigning selectionDirection on an input[type=datetime-local] throws InvalidStateError assert_throws: function "function (){44 el.selectionDirection = 'none';45 }" did not throw46 FAIL setRangeText on an input[type=datetime-local] throws InvalidStateError assert_throws: function "function (){47 el.setRangeText("foobar");48 }" did not throw49 FAIL setSelectionRange on an input[type=datetime-local] throws InvalidStateError assert_throws: function "function (){50 el.setSelectionRange(0, 1);51 }" did not throw52 FAIL selectionStart on an input[type=date] returns null assert_equals: expected (object) null but got (number) 053 FAIL selectionEnd on an input[type=date] returns null assert_equals: expected (object) null but got (number) 054 FAIL selectionDirection on an input[type=date] returns null assert_equals: expected (object) null but got (string) "none"55 FAIL assigning selectionStart on an input[type=date] throws InvalidStateError assert_throws: function "function (){56 el.selectionStart = 0;57 }" did not throw58 FAIL assigning selectionEnd on an input[type=date] throws InvalidStateError assert_throws: function "function (){59 el.selectionEnd = 0;60 }" did not throw61 FAIL assigning selectionDirection on an input[type=date] throws InvalidStateError assert_throws: function "function (){62 el.selectionDirection = 'none';63 }" did not throw64 FAIL setRangeText on an input[type=date] throws InvalidStateError assert_throws: function "function (){65 el.setRangeText("foobar");66 }" did not throw67 FAIL setSelectionRange on an input[type=date] throws InvalidStateError assert_throws: function "function (){68 el.setSelectionRange(0, 1);69 }" did not throw70 FAIL selectionStart on an input[type=month] returns null assert_equals: expected (object) null but got (number) 071 FAIL selectionEnd on an input[type=month] returns null assert_equals: expected (object) null but got (number) 072 FAIL selectionDirection on an input[type=month] returns null assert_equals: expected (object) null but got (string) "none"73 FAIL assigning selectionStart on an input[type=month] throws InvalidStateError assert_throws: function "function (){74 el.selectionStart = 0;75 }" did not throw76 FAIL assigning selectionEnd on an input[type=month] throws InvalidStateError assert_throws: function "function (){77 el.selectionEnd = 0;78 }" did not throw79 FAIL assigning selectionDirection on an input[type=month] throws InvalidStateError assert_throws: function "function (){80 el.selectionDirection = 'none';81 }" did not throw82 FAIL setRangeText on an input[type=month] throws InvalidStateError assert_throws: function "function (){83 el.setRangeText("foobar");84 }" did not throw85 FAIL setSelectionRange on an input[type=month] throws InvalidStateError assert_throws: function "function (){86 el.setSelectionRange(0, 1);87 }" did not throw88 FAIL selectionStart on an input[type=week] returns null assert_equals: expected (object) null but got (number) 089 FAIL selectionEnd on an input[type=week] returns null assert_equals: expected (object) null but got (number) 090 FAIL selectionDirection on an input[type=week] returns null assert_equals: expected (object) null but got (string) "none"91 FAIL assigning selectionStart on an input[type=week] throws InvalidStateError assert_throws: function "function (){92 el.selectionStart = 0;93 }" did not throw94 FAIL assigning selectionEnd on an input[type=week] throws InvalidStateError assert_throws: function "function (){95 el.selectionEnd = 0;96 }" did not throw97 FAIL assigning selectionDirection on an input[type=week] throws InvalidStateError assert_throws: function "function (){98 el.selectionDirection = 'none';99 }" did not throw100 FAIL setRangeText on an input[type=week] throws InvalidStateError assert_throws: function "function (){101 el.setRangeText("foobar");102 }" did not throw103 FAIL setSelectionRange on an input[type=week] throws InvalidStateError assert_throws: function "function (){104 el.setSelectionRange(0, 1);105 }" did not throw106 FAIL selectionStart on an input[type=time] returns null assert_equals: expected (object) null but got (number) 0107 FAIL selectionEnd on an input[type=time] returns null assert_equals: expected (object) null but got (number) 0108 FAIL selectionDirection on an input[type=time] returns null assert_equals: expected (object) null but got (string) "none"109 FAIL assigning selectionStart on an input[type=time] throws InvalidStateError assert_throws: function "function (){110 el.selectionStart = 0;111 }" did not throw112 FAIL assigning selectionEnd on an input[type=time] throws InvalidStateError assert_throws: function "function (){113 el.selectionEnd = 0;114 }" did not throw115 FAIL assigning selectionDirection on an input[type=time] throws InvalidStateError assert_throws: function "function (){116 el.selectionDirection = 'none';117 }" did not throw118 FAIL setRangeText on an input[type=time] throws InvalidStateError assert_throws: function "function (){119 el.setRangeText("foobar");120 }" did not throw121 FAIL setSelectionRange on an input[type=time] throws InvalidStateError assert_throws: function "function (){122 32 el.setSelectionRange(0, 1); 123 33 }" did not throw -
trunk/LayoutTests/platform/mac/imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-expected.txt
r237245 r251677 32 32 el.setSelectionRange(0, 1); 33 33 }" did not throw 34 FAIL selectionStart on an input[type=datetime-local] returns null assert_equals: expected (object) null but got (number) 035 FAIL selectionEnd on an input[type=datetime-local] returns null assert_equals: expected (object) null but got (number) 036 FAIL selectionDirection on an input[type=datetime-local] returns null assert_equals: expected (object) null but got (string) "none"37 FAIL assigning selectionStart on an input[type=datetime-local] throws InvalidStateError assert_throws: function "function (){38 el.selectionStart = 0;39 }" did not throw40 FAIL assigning selectionEnd on an input[type=datetime-local] throws InvalidStateError assert_throws: function "function (){41 el.selectionEnd = 0;42 }" did not throw43 FAIL assigning selectionDirection on an input[type=datetime-local] throws InvalidStateError assert_throws: function "function (){44 el.selectionDirection = 'none';45 }" did not throw46 FAIL setRangeText on an input[type=datetime-local] throws InvalidStateError assert_throws: function "function (){47 el.setRangeText("foobar");48 }" did not throw49 FAIL setSelectionRange on an input[type=datetime-local] throws InvalidStateError assert_throws: function "function (){50 el.setSelectionRange(0, 1);51 }" did not throw52 FAIL selectionStart on an input[type=date] returns null assert_equals: expected (object) null but got (number) 053 FAIL selectionEnd on an input[type=date] returns null assert_equals: expected (object) null but got (number) 054 FAIL selectionDirection on an input[type=date] returns null assert_equals: expected (object) null but got (string) "none"55 FAIL assigning selectionStart on an input[type=date] throws InvalidStateError assert_throws: function "function (){56 el.selectionStart = 0;57 }" did not throw58 FAIL assigning selectionEnd on an input[type=date] throws InvalidStateError assert_throws: function "function (){59 el.selectionEnd = 0;60 }" did not throw61 FAIL assigning selectionDirection on an input[type=date] throws InvalidStateError assert_throws: function "function (){62 el.selectionDirection = 'none';63 }" did not throw64 FAIL setRangeText on an input[type=date] throws InvalidStateError assert_throws: function "function (){65 el.setRangeText("foobar");66 }" did not throw67 FAIL setSelectionRange on an input[type=date] throws InvalidStateError assert_throws: function "function (){68 el.setSelectionRange(0, 1);69 }" did not throw70 FAIL selectionStart on an input[type=month] returns null assert_equals: expected (object) null but got (number) 071 FAIL selectionEnd on an input[type=month] returns null assert_equals: expected (object) null but got (number) 072 FAIL selectionDirection on an input[type=month] returns null assert_equals: expected (object) null but got (string) "none"73 FAIL assigning selectionStart on an input[type=month] throws InvalidStateError assert_throws: function "function (){74 el.selectionStart = 0;75 }" did not throw76 FAIL assigning selectionEnd on an input[type=month] throws InvalidStateError assert_throws: function "function (){77 el.selectionEnd = 0;78 }" did not throw79 FAIL assigning selectionDirection on an input[type=month] throws InvalidStateError assert_throws: function "function (){80 el.selectionDirection = 'none';81 }" did not throw82 FAIL setRangeText on an input[type=month] throws InvalidStateError assert_throws: function "function (){83 el.setRangeText("foobar");84 }" did not throw85 FAIL setSelectionRange on an input[type=month] throws InvalidStateError assert_throws: function "function (){86 el.setSelectionRange(0, 1);87 }" did not throw88 FAIL selectionStart on an input[type=week] returns null assert_equals: expected (object) null but got (number) 089 FAIL selectionEnd on an input[type=week] returns null assert_equals: expected (object) null but got (number) 090 FAIL selectionDirection on an input[type=week] returns null assert_equals: expected (object) null but got (string) "none"91 FAIL assigning selectionStart on an input[type=week] throws InvalidStateError assert_throws: function "function (){92 el.selectionStart = 0;93 }" did not throw94 FAIL assigning selectionEnd on an input[type=week] throws InvalidStateError assert_throws: function "function (){95 el.selectionEnd = 0;96 }" did not throw97 FAIL assigning selectionDirection on an input[type=week] throws InvalidStateError assert_throws: function "function (){98 el.selectionDirection = 'none';99 }" did not throw100 FAIL setRangeText on an input[type=week] throws InvalidStateError assert_throws: function "function (){101 el.setRangeText("foobar");102 }" did not throw103 FAIL setSelectionRange on an input[type=week] throws InvalidStateError assert_throws: function "function (){104 el.setSelectionRange(0, 1);105 }" did not throw106 FAIL selectionStart on an input[type=time] returns null assert_equals: expected (object) null but got (number) 0107 FAIL selectionEnd on an input[type=time] returns null assert_equals: expected (object) null but got (number) 0108 FAIL selectionDirection on an input[type=time] returns null assert_equals: expected (object) null but got (string) "none"109 FAIL assigning selectionStart on an input[type=time] throws InvalidStateError assert_throws: function "function (){110 el.selectionStart = 0;111 }" did not throw112 FAIL assigning selectionEnd on an input[type=time] throws InvalidStateError assert_throws: function "function (){113 el.selectionEnd = 0;114 }" did not throw115 FAIL assigning selectionDirection on an input[type=time] throws InvalidStateError assert_throws: function "function (){116 el.selectionDirection = 'none';117 }" did not throw118 FAIL setRangeText on an input[type=time] throws InvalidStateError assert_throws: function "function (){119 el.setRangeText("foobar");120 }" did not throw121 FAIL setSelectionRange on an input[type=time] throws InvalidStateError assert_throws: function "function (){122 el.setSelectionRange(0, 1);123 }" did not throw124 34 FAIL selectionStart on an input[type=number] returns null assert_equals: expected (object) null but got (number) 0 125 35 FAIL selectionEnd on an input[type=number] returns null assert_equals: expected (object) null but got (number) 0 … … 154 64 el.setSelectionRange(0, 1); 155 65 }" threw object "TypeError: Type error" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 156 FAIL selectionStart on an input[type=color] returns null assert_equals: expected (object) null but got (number) 0157 FAIL selectionEnd on an input[type=color] returns null assert_equals: expected (object) null but got (number) 0158 FAIL selectionDirection on an input[type=color] returns null assert_equals: expected (object) null but got (string) "none"159 FAIL assigning selectionStart on an input[type=color] throws InvalidStateError assert_throws: function "function (){160 el.selectionStart = 0;161 }" did not throw162 FAIL assigning selectionEnd on an input[type=color] throws InvalidStateError assert_throws: function "function (){163 el.selectionEnd = 0;164 }" did not throw165 FAIL assigning selectionDirection on an input[type=color] throws InvalidStateError assert_throws: function "function (){166 el.selectionDirection = 'none';167 }" did not throw168 FAIL setRangeText on an input[type=color] throws InvalidStateError assert_throws: function "function (){169 el.setRangeText("foobar");170 }" did not throw171 FAIL setSelectionRange on an input[type=color] throws InvalidStateError assert_throws: function "function (){172 el.setSelectionRange(0, 1);173 }" did not throw174 66 FAIL selectionStart on an input[type=checkbox] returns null Type error 175 67 FAIL selectionEnd on an input[type=checkbox] returns null Type error
Note: See TracChangeset
for help on using the changeset viewer.