Changeset 279099 in webkit
- Timestamp:
- Jun 21, 2021 6:24:46 PM (13 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 10 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js (modified) (4 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/tools/wptserve/wptserve/utils.py (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any-expected.txt (modified) (2 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js (modified) (4 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt (modified) (2 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/websockets/constants.sub.js (added)
-
Source/WTF/ChangeLog (modified) (1 diff)
-
Source/WTF/wtf/URL.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r279070 r279099 1 2021-06-21 Chris Dumez <cdumez@apple.com> 2 3 Adjust `fetch` port blocking for ports 990, 989 4 https://bugs.webkit.org/show_bug.cgi?id=226971 5 <rdar://problem/79287147> 6 7 Reviewed by Geoffrey Garen. 8 9 Re-sync some WPT tests from upstream d41f24fb67a2d65c to gain test coverage from: 10 - https://github.com/web-platform-tests/wpt/pull/29343 11 12 * web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt: 13 * web-platform-tests/fetch/api/request/request-bad-port.any.js: 14 * web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt: 15 * web-platform-tests/tools/wptserve/wptserve/utils.py: 16 (isomorphic_decode): 17 (isomorphic_encode): 18 (is_bad_port): 19 (http2_compatible): 20 * web-platform-tests/websockets/Create-blocked-port.any-expected.txt: 21 * web-platform-tests/websockets/Create-blocked-port.any.js: 22 * web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt: 23 * web-platform-tests/websockets/constants.sub.js: Added. 24 (url_has_variant): 25 (else.url_has_flag): 26 (url_has_flag): 27 (IsWebSocket): 28 (CreateWebSocketNonAbsolute): 29 (CreateWebSocketNonWsScheme): 30 (CreateWebSocketNonAsciiProtocol): 31 (CreateWebSocketWithAsciiSep): 32 (CreateWebSocketWithBlockedPort): 33 (CreateWebSocketWithSpaceInUrl): 34 (CreateWebSocketWithSpaceInProtocol): 35 (CreateWebSocketWithRepeatedProtocols): 36 (CreateWebSocketWithRepeatedProtocolsCaseInsensitive): 37 (CreateWebSocket): 38 1 39 2021-06-21 Rob Buis <rbuis@igalia.com> 2 40 -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt
r276193 r279099 59 59 PASS Request on bad port 601 should throw TypeError. 60 60 PASS Request on bad port 636 should throw TypeError. 61 PASS Request on bad port 989 should throw TypeError. 62 PASS Request on bad port 990 should throw TypeError. 61 63 PASS Request on bad port 993 should throw TypeError. 62 64 PASS Request on bad port 995 should throw TypeError. 63 PASS Request on bad port 2049 should throw TypeError.64 65 PASS Request on bad port 1719 should throw TypeError. 65 66 PASS Request on bad port 1720 should throw TypeError. 66 67 PASS Request on bad port 1723 should throw TypeError. 68 PASS Request on bad port 2049 should throw TypeError. 67 69 PASS Request on bad port 3659 should throw TypeError. 68 70 PASS Request on bad port 4045 should throw TypeError. -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js
r275831 r279099 21 21 43, // nicname 22 22 53, // domain 23 69, // TFTP23 69, // tftp 24 24 77, // priv-rjs 25 25 79, // finger … … 39 39 123, // ntp 40 40 135, // loc-srv / epmap 41 137, // netbios 42 139, // netbios 41 137, // netbios-ns 42 139, // netbios-ssn 43 43 143, // imap2 44 161, // SNMP44 161, // snmp 45 45 179, // bgp 46 46 389, // ldap … … 63 63 601, // syslog-conn 64 64 636, // ldap+ssl 65 989, // ftps-data 66 990, // ftps 65 67 993, // ldap+ssl 66 68 995, // pop3+ssl 69 1719, // h323gatestat 70 1720, // h323hostcall 71 1723, // pptp 67 72 2049, // nfs 68 1719, // H323 (RAS)69 1720, // H323 (Q931)70 1723, // H323 (H245)71 73 3659, // apple-sasl 72 74 4045, // lockd … … 74 76 5061, // sips 75 77 6000, // x11 76 6566, // SANE78 6566, // sane-port 77 79 6665, // irc (alternate) 78 80 6666, // irc (alternate) -
trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt
r276193 r279099 59 59 PASS Request on bad port 601 should throw TypeError. 60 60 PASS Request on bad port 636 should throw TypeError. 61 PASS Request on bad port 989 should throw TypeError. 62 PASS Request on bad port 990 should throw TypeError. 61 63 PASS Request on bad port 993 should throw TypeError. 62 64 PASS Request on bad port 995 should throw TypeError. 63 PASS Request on bad port 2049 should throw TypeError.64 65 PASS Request on bad port 1719 should throw TypeError. 65 66 PASS Request on bad port 1720 should throw TypeError. 66 67 PASS Request on bad port 1723 should throw TypeError. 68 PASS Request on bad port 2049 should throw TypeError. 67 69 PASS Request on bad port 3659 should throw TypeError. 68 70 PASS Request on bad port 4045 should throw TypeError. -
trunk/LayoutTests/imported/w3c/web-platform-tests/tools/wptserve/wptserve/utils.py
r269436 r279099 126 126 601, # syslog-conn 127 127 636, # ldap+ssl 128 989, # ftps-data 129 999, # ftps 128 130 993, # ldap+ssl 129 131 995, # pop3+ssl -
trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any-expected.txt
r275831 r279099 39 39 PASS WebSocket blocked port test 139 40 40 PASS WebSocket blocked port test 143 41 PASS WebSocket blocked port test 16142 41 PASS WebSocket blocked port test 179 43 42 PASS WebSocket blocked port test 389 … … 60 59 PASS WebSocket blocked port test 601 61 60 PASS WebSocket blocked port test 636 61 PASS WebSocket blocked port test 989 62 PASS WebSocket blocked port test 990 62 63 PASS WebSocket blocked port test 993 63 64 PASS WebSocket blocked port test 995 64 PASS WebSocket blocked port test 204965 65 PASS WebSocket blocked port test 1719 66 66 PASS WebSocket blocked port test 1720 67 67 PASS WebSocket blocked port test 1723 68 PASS WebSocket blocked port test 2049 68 69 PASS WebSocket blocked port test 3659 69 70 PASS WebSocket blocked port test 4045 70 PASS WebSocket blocked port test 506071 PASS WebSocket blocked port test 506172 71 PASS WebSocket blocked port test 6000 73 72 PASS WebSocket blocked port test 6566 -
trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js
r275831 r279099 1 // META: script=websocket.sub.js 1 // META: script=constants.sub.js 2 // META: variant= 3 // META: variant=?wss 4 // META: variant=?wpt_flags=h2 2 5 3 6 async_test(t => { … … 26 29 43, // nicname 27 30 53, // domain 28 69, // TFTP31 69, // tftp 29 32 77, // priv-rjs 30 33 79, // finger … … 44 47 123, // ntp 45 48 135, // loc-srv / epmap 46 137, // netbios 47 139, // netbios 49 137, // netbios-ns 50 139, // netbios-ssn 48 51 143, // imap2 49 161, // SNMP50 52 179, // bgp 51 53 389, // ldap … … 68 70 601, // syslog-conn 69 71 636, // ldap+ssl 72 989, // ftps-data 73 990, // ftps 70 74 993, // ldap+ssl 71 75 995, // pop3+ssl 76 1719, // h323gatestat 77 1720, // h323hostcall 78 1723, // pptp 72 79 2049, // nfs 73 1719, // H323 (RAS)74 1720, // H323 (Q931)75 1723, // H323 (H245)76 80 3659, // apple-sasl 77 81 4045, // lockd 78 5060, // sip79 5061, // sips80 82 6000, // x11 81 6566, // SANE83 6566, // sane-port 82 84 6665, // irc (alternate) 83 85 6666, // irc (alternate) -
trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt
r275831 r279099 39 39 PASS WebSocket blocked port test 139 40 40 PASS WebSocket blocked port test 143 41 PASS WebSocket blocked port test 16142 41 PASS WebSocket blocked port test 179 43 42 PASS WebSocket blocked port test 389 … … 60 59 PASS WebSocket blocked port test 601 61 60 PASS WebSocket blocked port test 636 61 PASS WebSocket blocked port test 989 62 PASS WebSocket blocked port test 990 62 63 PASS WebSocket blocked port test 993 63 64 PASS WebSocket blocked port test 995 64 PASS WebSocket blocked port test 204965 65 PASS WebSocket blocked port test 1719 66 66 PASS WebSocket blocked port test 1720 67 67 PASS WebSocket blocked port test 1723 68 PASS WebSocket blocked port test 2049 68 69 PASS WebSocket blocked port test 3659 69 70 PASS WebSocket blocked port test 4045 70 PASS WebSocket blocked port test 506071 PASS WebSocket blocked port test 506172 71 PASS WebSocket blocked port test 6000 73 72 PASS WebSocket blocked port test 6566 -
trunk/Source/WTF/ChangeLog
r279085 r279099 1 2021-06-21 Chris Dumez <cdumez@apple.com> 2 3 Adjust `fetch` port blocking for ports 990, 989 4 https://bugs.webkit.org/show_bug.cgi?id=226971 5 <rdar://problem/79287147> 6 7 Reviewed by Geoffrey Garen. 8 9 Prevent connecting to ports 989 & 990 as per: 10 - https://github.com/whatwg/fetch/pull/1250 11 12 * wtf/URL.cpp: 13 (WTF::portAllowed): 14 1 15 2021-06-21 Fujii Hironori <Hironori.Fujii@sony.com> 2 16 -
trunk/Source/WTF/wtf/URL.cpp
r278879 r279099 958 958 601, // syslog-conn 959 959 636, // LDAP+SSL 960 989, // ftps-data 961 990, // ftps 960 962 993, // IMAP+SSL 961 963 995, // POP3+SSL
Note: See TracChangeset
for help on using the changeset viewer.