Changeset 250787 in webkit
- Timestamp:
- Oct 7, 2019 1:41:59 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r250783 r250787 1 2019-10-07 Rob Buis <rbuis@igalia.com> 2 3 Change Response's statusText's default 4 https://bugs.webkit.org/show_bug.cgi?id=191879 5 6 Reviewed by Youenn Fablet. 7 8 Update improved test results. 9 10 * web-platform-tests/fetch/api/response/response-clone-expected.txt: 11 * web-platform-tests/fetch/api/response/response-init-001-expected.txt: 12 1 13 2019-10-07 Alexey Shvayka <shvaikalesh@gmail.com> 2 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-clone-expected.txt
r239693 r250787 1 1 2 FAIL Check Response's clone with default values, without body assert_equals: Expect default response.statusText is expected "" but got "OK" 2 PASS Check Response's clone with default values, without body 3 3 PASS Check Response's clone has the expected attribute values 4 4 PASS Check orginal response's body after cloning -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/response/response-init-001-expected.txt
r239693 r250787 4 4 PASS Check default value for ok attribute 5 5 PASS Check default value for status attribute 6 FAIL Check default value for statusText attribute assert_equals: Expect default response.statusText is expected "" but got "OK" 6 PASS Check default value for statusText attribute 7 7 PASS Check default value for body attribute 8 8 PASS Check status init values and associated getter -
trunk/Source/WebCore/ChangeLog
r250786 r250787 1 2019-10-07 Rob Buis <rbuis@igalia.com> 2 3 Change Response's statusText's default 4 https://bugs.webkit.org/show_bug.cgi?id=191879 5 6 Reviewed by Youenn Fablet. 7 8 Change Response's statusText's default to "". 9 10 Tests: web-platform-tests/fetch/api/response/response-clone.html 11 web-platform-tests/fetch/api/response/response-init-001.html 12 13 * Modules/fetch/FetchResponse.h: 14 * Modules/fetch/FetchResponse.idl: 15 1 16 2019-10-07 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebCore/Modules/fetch/FetchResponse.h
r247087 r250787 54 54 struct Init { 55 55 unsigned short status { 200 }; 56 String statusText { "OK"_s };56 String statusText; 57 57 Optional<FetchHeaders::Init> headers; 58 58 }; -
trunk/Source/WebCore/Modules/fetch/FetchResponse.idl
r223562 r250787 34 34 dictionary FetchResponseInit { 35 35 unsigned short status = 200; 36 ByteString statusText = " OK";36 ByteString statusText = ""; 37 37 HeadersInit headers; 38 38 };
Note: See TracChangeset
for help on using the changeset viewer.