Title: [270864] branches/safari-610-branch
Revision
270864
Author
[email protected]
Date
2020-12-15 14:47:50 -0800 (Tue, 15 Dec 2020)

Log Message

Cherry-pick r270321. rdar://problem/72298523

    Update list of block ports according fetch spec
    https://bugs.webkit.org/show_bug.cgi?id=219154

    Reviewed by Sam Weinig.

    LayoutTests/imported/w3c:

    * web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt:
    * web-platform-tests/fetch/api/request/request-bad-port.any.js:
    * web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt:
    * web-platform-tests/websockets/Create-blocked-port.any-expected.txt:
    * web-platform-tests/websockets/Create-blocked-port.any.js:
    * web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt:

    Source/WTF:

    * wtf/URL.cpp:
    (WTF::portAllowed):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270321 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-610-branch/LayoutTests/imported/w3c/ChangeLog (270863 => 270864)


--- branches/safari-610-branch/LayoutTests/imported/w3c/ChangeLog	2020-12-15 22:47:31 UTC (rev 270863)
+++ branches/safari-610-branch/LayoutTests/imported/w3c/ChangeLog	2020-12-15 22:47:50 UTC (rev 270864)
@@ -1,5 +1,44 @@
 2020-12-15  Alan Coon  <[email protected]>
 
+        Cherry-pick r270321. rdar://problem/72298523
+
+    Update list of block ports according fetch spec
+    https://bugs.webkit.org/show_bug.cgi?id=219154
+    
+    Reviewed by Sam Weinig.
+    
+    LayoutTests/imported/w3c:
+    
+    * web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt:
+    * web-platform-tests/fetch/api/request/request-bad-port.any.js:
+    * web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt:
+    * web-platform-tests/websockets/Create-blocked-port.any-expected.txt:
+    * web-platform-tests/websockets/Create-blocked-port.any.js:
+    * web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt:
+    
+    Source/WTF:
+    
+    * wtf/URL.cpp:
+    (WTF::portAllowed):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-12-01  Youenn Fablet  <[email protected]>
+
+            Update list of block ports according fetch spec
+            https://bugs.webkit.org/show_bug.cgi?id=219154
+
+            Reviewed by Sam Weinig.
+
+            * web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt:
+            * web-platform-tests/fetch/api/request/request-bad-port.any.js:
+            * web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt:
+            * web-platform-tests/websockets/Create-blocked-port.any-expected.txt:
+            * web-platform-tests/websockets/Create-blocked-port.any.js:
+            * web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt:
+
+2020-12-15  Alan Coon  <[email protected]>
+
         Cherry-pick r270101. rdar://problem/72298523
 
     Add support for RTCPeerConnection.onicecandidateerror event

Modified: branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt (270863 => 270864)


--- branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt	2020-12-15 22:47:31 UTC (rev 270863)
+++ branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt	2020-12-15 22:47:50 UTC (rev 270864)
@@ -15,6 +15,7 @@
 Blocked access to external URL http://example.com:42/
 Blocked access to external URL http://example.com:43/
 Blocked access to external URL http://example.com:53/
+Blocked access to external URL http://example.com:69/
 Blocked access to external URL http://example.com:77/
 Blocked access to external URL http://example.com:79/
 Blocked access to external URL http://example.com:87/
@@ -32,8 +33,10 @@
 Blocked access to external URL http://example.com:119/
 Blocked access to external URL http://example.com:123/
 Blocked access to external URL http://example.com:135/
+Blocked access to external URL http://example.com:137/
 Blocked access to external URL http://example.com:139/
 Blocked access to external URL http://example.com:143/
+Blocked access to external URL http://example.com:161/
 Blocked access to external URL http://example.com:179/
 Blocked access to external URL http://example.com:389/
 Blocked access to external URL http://example.com:427/
@@ -48,6 +51,7 @@
 Blocked access to external URL http://example.com:532/
 Blocked access to external URL http://example.com:540/
 Blocked access to external URL http://example.com:548/
+Blocked access to external URL http://example.com:554/
 Blocked access to external URL http://example.com:556/
 Blocked access to external URL http://example.com:563/
 Blocked access to external URL http://example.com:587/
@@ -56,11 +60,15 @@
 Blocked access to external URL http://example.com:993/
 Blocked access to external URL http://example.com:995/
 Blocked access to external URL http://example.com:2049/
+Blocked access to external URL http://example.com:1719/
+Blocked access to external URL http://example.com:1720/
+Blocked access to external URL http://example.com:1723/
 Blocked access to external URL http://example.com:3659/
 Blocked access to external URL http://example.com:4045/
 Blocked access to external URL http://example.com:5060/
 Blocked access to external URL http://example.com:5061/
 Blocked access to external URL http://example.com:6000/
+Blocked access to external URL http://example.com:6566/
 Blocked access to external URL http://example.com:6665/
 Blocked access to external URL http://example.com:6666/
 Blocked access to external URL http://example.com:6667/
@@ -85,6 +93,7 @@
 PASS Request on bad port 42 should throw TypeError. 
 PASS Request on bad port 43 should throw TypeError. 
 PASS Request on bad port 53 should throw TypeError. 
+PASS Request on bad port 69 should throw TypeError. 
 PASS Request on bad port 77 should throw TypeError. 
 PASS Request on bad port 79 should throw TypeError. 
 PASS Request on bad port 87 should throw TypeError. 
@@ -102,8 +111,10 @@
 PASS Request on bad port 119 should throw TypeError. 
 PASS Request on bad port 123 should throw TypeError. 
 PASS Request on bad port 135 should throw TypeError. 
+PASS Request on bad port 137 should throw TypeError. 
 PASS Request on bad port 139 should throw TypeError. 
 PASS Request on bad port 143 should throw TypeError. 
+PASS Request on bad port 161 should throw TypeError. 
 PASS Request on bad port 179 should throw TypeError. 
 PASS Request on bad port 389 should throw TypeError. 
 PASS Request on bad port 427 should throw TypeError. 
@@ -118,6 +129,7 @@
 PASS Request on bad port 532 should throw TypeError. 
 PASS Request on bad port 540 should throw TypeError. 
 PASS Request on bad port 548 should throw TypeError. 
+PASS Request on bad port 554 should throw TypeError. 
 PASS Request on bad port 556 should throw TypeError. 
 PASS Request on bad port 563 should throw TypeError. 
 PASS Request on bad port 587 should throw TypeError. 
@@ -125,6 +137,9 @@
 PASS Request on bad port 636 should throw TypeError. 
 PASS Request on bad port 993 should throw TypeError. 
 PASS Request on bad port 995 should throw TypeError. 
+PASS Request on bad port 1719 should throw TypeError. 
+PASS Request on bad port 1720 should throw TypeError. 
+PASS Request on bad port 1723 should throw TypeError. 
 PASS Request on bad port 2049 should throw TypeError. 
 PASS Request on bad port 3659 should throw TypeError. 
 PASS Request on bad port 4045 should throw TypeError. 
@@ -131,9 +146,11 @@
 PASS Request on bad port 5060 should throw TypeError.
 PASS Request on bad port 5061 should throw TypeError.
 PASS Request on bad port 6000 should throw TypeError. 
+PASS Request on bad port 6566 should throw TypeError. 
 PASS Request on bad port 6665 should throw TypeError. 
 PASS Request on bad port 6666 should throw TypeError. 
 PASS Request on bad port 6667 should throw TypeError. 
 PASS Request on bad port 6668 should throw TypeError. 
 PASS Request on bad port 6669 should throw TypeError. 
-PASS Request on bad port 6697 should throw TypeError. 
+PASS Request on bad port 6697 should throw TypeError.
+

Modified: branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js (270863 => 270864)


--- branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js	2020-12-15 22:47:31 UTC (rev 270863)
+++ branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js	2020-12-15 22:47:50 UTC (rev 270864)
@@ -20,6 +20,7 @@
     42,   // name
     43,   // nicname
     53,   // domain
+    69,   // TFTP
     77,   // priv-rjs
     79,   // finger
     87,   // ttylink
@@ -37,8 +38,10 @@
     119,  // nntp
     123,  // ntp
     135,  // loc-srv / epmap
+    137,  // netbios
     139,  // netbios
     143,  // imap2
+    161,  // SNMP
     179,  // bgp
     389,  // ldap
     427,  // afp (alternate)
@@ -53,6 +56,7 @@
     532,  // netnews
     540,  // uucp
     548,  // afp
+    554,  // rtsp
     556,  // remotefs
     563,  // nntp+ssl
     587,  // smtp (outgoing)
@@ -61,11 +65,15 @@
     993,  // ldap+ssl
     995,  // pop3+ssl
     2049, // nfs
+    1719, // H323 (RAS)
+    1720, // H323 (Q931)
+    1723, // H323 (H245)
     3659, // apple-sasl
     4045, // lockd
     5060, // sip
     5061, // sips
     6000, // x11
+    6566, // SANE
     6665, // irc (alternate)
     6666, // irc (alternate)
     6667, // irc (default)

Modified: branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt (270863 => 270864)


--- branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt	2020-12-15 22:47:31 UTC (rev 270863)
+++ branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt	2020-12-15 22:47:50 UTC (rev 270864)
@@ -15,6 +15,7 @@
 Blocked access to external URL http://example.com:42/
 Blocked access to external URL http://example.com:43/
 Blocked access to external URL http://example.com:53/
+Blocked access to external URL http://example.com:69/
 Blocked access to external URL http://example.com:77/
 Blocked access to external URL http://example.com:79/
 Blocked access to external URL http://example.com:87/
@@ -32,8 +33,10 @@
 Blocked access to external URL http://example.com:119/
 Blocked access to external URL http://example.com:123/
 Blocked access to external URL http://example.com:135/
+Blocked access to external URL http://example.com:137/
 Blocked access to external URL http://example.com:139/
 Blocked access to external URL http://example.com:143/
+Blocked access to external URL http://example.com:161/
 Blocked access to external URL http://example.com:179/
 Blocked access to external URL http://example.com:389/
 Blocked access to external URL http://example.com:427/
@@ -48,6 +51,7 @@
 Blocked access to external URL http://example.com:532/
 Blocked access to external URL http://example.com:540/
 Blocked access to external URL http://example.com:548/
+Blocked access to external URL http://example.com:554/
 Blocked access to external URL http://example.com:556/
 Blocked access to external URL http://example.com:563/
 Blocked access to external URL http://example.com:587/
@@ -56,11 +60,15 @@
 Blocked access to external URL http://example.com:993/
 Blocked access to external URL http://example.com:995/
 Blocked access to external URL http://example.com:2049/
+Blocked access to external URL http://example.com:1719/
+Blocked access to external URL http://example.com:1720/
+Blocked access to external URL http://example.com:1723/
 Blocked access to external URL http://example.com:3659/
 Blocked access to external URL http://example.com:4045/
 Blocked access to external URL http://example.com:5060/
 Blocked access to external URL http://example.com:5061/
 Blocked access to external URL http://example.com:6000/
+Blocked access to external URL http://example.com:6566/
 Blocked access to external URL http://example.com:6665/
 Blocked access to external URL http://example.com:6666/
 Blocked access to external URL http://example.com:6667/
@@ -85,6 +93,7 @@
 PASS Request on bad port 42 should throw TypeError.
 PASS Request on bad port 43 should throw TypeError.
 PASS Request on bad port 53 should throw TypeError.
+PASS Request on bad port 69 should throw TypeError.
 PASS Request on bad port 77 should throw TypeError.
 PASS Request on bad port 79 should throw TypeError.
 PASS Request on bad port 87 should throw TypeError.
@@ -102,8 +111,10 @@
 PASS Request on bad port 119 should throw TypeError.
 PASS Request on bad port 123 should throw TypeError.
 PASS Request on bad port 135 should throw TypeError.
+PASS Request on bad port 137 should throw TypeError.
 PASS Request on bad port 139 should throw TypeError.
 PASS Request on bad port 143 should throw TypeError.
+PASS Request on bad port 161 should throw TypeError.
 PASS Request on bad port 179 should throw TypeError.
 PASS Request on bad port 389 should throw TypeError.
 PASS Request on bad port 427 should throw TypeError.
@@ -118,6 +129,7 @@
 PASS Request on bad port 532 should throw TypeError.
 PASS Request on bad port 540 should throw TypeError.
 PASS Request on bad port 548 should throw TypeError.
+PASS Request on bad port 554 should throw TypeError.
 PASS Request on bad port 556 should throw TypeError.
 PASS Request on bad port 563 should throw TypeError.
 PASS Request on bad port 587 should throw TypeError.
@@ -126,11 +138,15 @@
 PASS Request on bad port 993 should throw TypeError.
 PASS Request on bad port 995 should throw TypeError.
 PASS Request on bad port 2049 should throw TypeError.
+PASS Request on bad port 1719 should throw TypeError.
+PASS Request on bad port 1720 should throw TypeError.
+PASS Request on bad port 1723 should throw TypeError.
 PASS Request on bad port 3659 should throw TypeError.
 PASS Request on bad port 4045 should throw TypeError.
 PASS Request on bad port 5060 should throw TypeError.
 PASS Request on bad port 5061 should throw TypeError.
 PASS Request on bad port 6000 should throw TypeError.
+PASS Request on bad port 6566 should throw TypeError.
 PASS Request on bad port 6665 should throw TypeError.
 PASS Request on bad port 6666 should throw TypeError.
 PASS Request on bad port 6667 should throw TypeError.

Modified: branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any-expected.txt (270863 => 270864)


--- branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any-expected.txt	2020-12-15 22:47:31 UTC (rev 270863)
+++ branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any-expected.txt	2020-12-15 22:47:50 UTC (rev 270864)
@@ -17,6 +17,7 @@
 FAIL WebSocket blocked port test 42 The operation is insecure.
 FAIL WebSocket blocked port test 43 The operation is insecure.
 FAIL WebSocket blocked port test 53 The operation is insecure.
+FAIL WebSocket blocked port test 69 The operation is insecure.
 FAIL WebSocket blocked port test 77 The operation is insecure.
 FAIL WebSocket blocked port test 79 The operation is insecure.
 FAIL WebSocket blocked port test 87 The operation is insecure.
@@ -34,8 +35,10 @@
 FAIL WebSocket blocked port test 119 The operation is insecure.
 FAIL WebSocket blocked port test 123 The operation is insecure.
 FAIL WebSocket blocked port test 135 The operation is insecure.
+FAIL WebSocket blocked port test 137 The operation is insecure.
 FAIL WebSocket blocked port test 139 The operation is insecure.
 FAIL WebSocket blocked port test 143 The operation is insecure.
+FAIL WebSocket blocked port test 161 The operation is insecure.
 FAIL WebSocket blocked port test 179 The operation is insecure.
 FAIL WebSocket blocked port test 389 The operation is insecure.
 FAIL WebSocket blocked port test 427 The operation is insecure.
@@ -50,6 +53,7 @@
 FAIL WebSocket blocked port test 532 The operation is insecure.
 FAIL WebSocket blocked port test 540 The operation is insecure.
 FAIL WebSocket blocked port test 548 The operation is insecure.
+FAIL WebSocket blocked port test 554 The operation is insecure.
 FAIL WebSocket blocked port test 556 The operation is insecure.
 FAIL WebSocket blocked port test 563 The operation is insecure.
 FAIL WebSocket blocked port test 587 The operation is insecure.
@@ -57,6 +61,9 @@
 FAIL WebSocket blocked port test 636 The operation is insecure.
 FAIL WebSocket blocked port test 993 The operation is insecure.
 FAIL WebSocket blocked port test 995 The operation is insecure.
+FAIL WebSocket blocked port test 1719 The operation is insecure.
+FAIL WebSocket blocked port test 1720 The operation is insecure.
+FAIL WebSocket blocked port test 1723 The operation is insecure.
 FAIL WebSocket blocked port test 2049 The operation is insecure.
 FAIL WebSocket blocked port test 3659 The operation is insecure.
 FAIL WebSocket blocked port test 4045 The operation is insecure.
@@ -63,6 +70,7 @@
 FAIL WebSocket blocked port test 5060 The operation is insecure.
 FAIL WebSocket blocked port test 5061 The operation is insecure.
 FAIL WebSocket blocked port test 6000 The operation is insecure.
+FAIL WebSocket blocked port test 6566 The operation is insecure.
 FAIL WebSocket blocked port test 6665 The operation is insecure.
 FAIL WebSocket blocked port test 6666 The operation is insecure.
 FAIL WebSocket blocked port test 6667 The operation is insecure.

Modified: branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js (270863 => 270864)


--- branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js	2020-12-15 22:47:31 UTC (rev 270863)
+++ branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js	2020-12-15 22:47:50 UTC (rev 270864)
@@ -25,6 +25,7 @@
   42,   // name
   43,   // nicname
   53,   // domain
+  69,   // TFTP
   77,   // priv-rjs
   79,   // finger
   87,   // ttylink
@@ -42,8 +43,10 @@
   119,  // nntp
   123,  // ntp
   135,  // loc-srv / epmap
+  137,  // netbios
   139,  // netbios
   143,  // imap2
+  161,  // SNMP
   179,  // bgp
   389,  // ldap
   427,  // afp (alternate)
@@ -58,6 +61,7 @@
   532,  // netnews
   540,  // uucp
   548,  // afp
+  554,  // rtsp
   556,  // remotefs
   563,  // nntp+ssl
   587,  // smtp (outgoing)
@@ -66,11 +70,15 @@
   993,  // ldap+ssl
   995,  // pop3+ssl
   2049, // nfs
+  1719, // H323 (RAS)
+  1720, // H323 (Q931)
+  1723, // H323 (H245)
   3659, // apple-sasl
   4045, // lockd
   5060, // sip
   5061, // sips
   6000, // x11
+  6566, // SANE
   6665, // irc (alternate)
   6666, // irc (alternate)
   6667, // irc (default)

Modified: branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt (270863 => 270864)


--- branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt	2020-12-15 22:47:31 UTC (rev 270863)
+++ branches/safari-610-branch/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt	2020-12-15 22:47:50 UTC (rev 270864)
@@ -17,6 +17,7 @@
 FAIL WebSocket blocked port test 42 The operation is insecure.
 FAIL WebSocket blocked port test 43 The operation is insecure.
 FAIL WebSocket blocked port test 53 The operation is insecure.
+FAIL WebSocket blocked port test 69 The operation is insecure.
 FAIL WebSocket blocked port test 77 The operation is insecure.
 FAIL WebSocket blocked port test 79 The operation is insecure.
 FAIL WebSocket blocked port test 87 The operation is insecure.
@@ -34,8 +35,10 @@
 FAIL WebSocket blocked port test 119 The operation is insecure.
 FAIL WebSocket blocked port test 123 The operation is insecure.
 FAIL WebSocket blocked port test 135 The operation is insecure.
+FAIL WebSocket blocked port test 137 The operation is insecure.
 FAIL WebSocket blocked port test 139 The operation is insecure.
 FAIL WebSocket blocked port test 143 The operation is insecure.
+FAIL WebSocket blocked port test 161 The operation is insecure.
 FAIL WebSocket blocked port test 179 The operation is insecure.
 FAIL WebSocket blocked port test 389 The operation is insecure.
 FAIL WebSocket blocked port test 427 The operation is insecure.
@@ -50,6 +53,7 @@
 FAIL WebSocket blocked port test 532 The operation is insecure.
 FAIL WebSocket blocked port test 540 The operation is insecure.
 FAIL WebSocket blocked port test 548 The operation is insecure.
+FAIL WebSocket blocked port test 554 The operation is insecure.
 FAIL WebSocket blocked port test 556 The operation is insecure.
 FAIL WebSocket blocked port test 563 The operation is insecure.
 FAIL WebSocket blocked port test 587 The operation is insecure.
@@ -57,6 +61,9 @@
 FAIL WebSocket blocked port test 636 The operation is insecure.
 FAIL WebSocket blocked port test 993 The operation is insecure.
 FAIL WebSocket blocked port test 995 The operation is insecure.
+FAIL WebSocket blocked port test 1719 The operation is insecure.
+FAIL WebSocket blocked port test 1720 The operation is insecure.
+FAIL WebSocket blocked port test 1723 The operation is insecure.
 FAIL WebSocket blocked port test 2049 The operation is insecure.
 FAIL WebSocket blocked port test 3659 The operation is insecure.
 FAIL WebSocket blocked port test 4045 The operation is insecure.
@@ -63,6 +70,7 @@
 FAIL WebSocket blocked port test 5060 The operation is insecure.
 FAIL WebSocket blocked port test 5061 The operation is insecure.
 FAIL WebSocket blocked port test 6000 The operation is insecure.
+FAIL WebSocket blocked port test 6566 The operation is insecure.
 FAIL WebSocket blocked port test 6665 The operation is insecure.
 FAIL WebSocket blocked port test 6666 The operation is insecure.
 FAIL WebSocket blocked port test 6667 The operation is insecure.

Modified: branches/safari-610-branch/Source/WTF/ChangeLog (270863 => 270864)


--- branches/safari-610-branch/Source/WTF/ChangeLog	2020-12-15 22:47:31 UTC (rev 270863)
+++ branches/safari-610-branch/Source/WTF/ChangeLog	2020-12-15 22:47:50 UTC (rev 270864)
@@ -1,5 +1,40 @@
 2020-12-15  Alan Coon  <[email protected]>
 
+        Cherry-pick r270321. rdar://problem/72298523
+
+    Update list of block ports according fetch spec
+    https://bugs.webkit.org/show_bug.cgi?id=219154
+    
+    Reviewed by Sam Weinig.
+    
+    LayoutTests/imported/w3c:
+    
+    * web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt:
+    * web-platform-tests/fetch/api/request/request-bad-port.any.js:
+    * web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt:
+    * web-platform-tests/websockets/Create-blocked-port.any-expected.txt:
+    * web-platform-tests/websockets/Create-blocked-port.any.js:
+    * web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt:
+    
+    Source/WTF:
+    
+    * wtf/URL.cpp:
+    (WTF::portAllowed):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-12-01  Youenn Fablet  <[email protected]>
+
+            Update list of block ports according fetch spec
+            https://bugs.webkit.org/show_bug.cgi?id=219154
+
+            Reviewed by Sam Weinig.
+
+            * wtf/URL.cpp:
+            (WTF::portAllowed):
+
+2020-12-15  Alan Coon  <[email protected]>
+
         Cherry-pick r269436. rdar://problem/72298523
 
     Consider blocking ports 5060 and 5061

Modified: branches/safari-610-branch/Source/WTF/wtf/URL.cpp (270863 => 270864)


--- branches/safari-610-branch/Source/WTF/wtf/URL.cpp	2020-12-15 22:47:31 UTC (rev 270863)
+++ branches/safari-610-branch/Source/WTF/wtf/URL.cpp	2020-12-15 22:47:50 UTC (rev 270864)
@@ -873,6 +873,7 @@
         42,   // name
         43,   // nicname
         53,   // domain
+        69,   // TFTP
         77,   // priv-rjs
         79,   // finger
         87,   // ttylink
@@ -890,8 +891,10 @@
         119,  // nntp
         123,  // NTP
         135,  // loc-srv / epmap
+        137,  // NetBIOS
         139,  // netbios
         143,  // IMAP2
+        161,  // SNMP
         179,  // BGP
         389,  // LDAP
         427,  // SLP (Also used by Apple Filing Protocol)
@@ -906,6 +909,7 @@
         532,  // netnews
         540,  // UUCP
         548,  // afpovertcp [Apple addition]
+        554,  // rtsp
         556,  // remotefs
         563,  // NNTP+SSL
         587,  // ESMTP
@@ -913,6 +917,9 @@
         636,  // LDAP+SSL
         993,  // IMAP+SSL
         995,  // POP3+SSL
+        1719, // H323 (RAS)
+        1720, // H323 (Q931)
+        1723, // H323 (H245)
         2049, // NFS
         3659, // apple-sasl / PasswordServer [Apple addition]
         4045, // lockd
@@ -920,6 +927,7 @@
         5060, // SIP
         5061, // SIPS
         6000, // X11
+        6566, // SANE
         6665, // Alternate IRC [Apple addition]
         6666, // Alternate IRC [Apple addition]
         6667, // Standard IRC [Apple addition]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to