Title: [274634] releases/WebKitGTK/webkit-2.30
Revision
274634
Author
[email protected]
Date
2021-03-18 04:04:16 -0700 (Thu, 18 Mar 2021)

Log Message

Merge r270321 - 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):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/ChangeLog (274633 => 274634)


--- releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/ChangeLog	2021-03-18 11:04:09 UTC (rev 274633)
+++ releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/ChangeLog	2021-03-18 11:04:16 UTC (rev 274634)
@@ -1,3 +1,17 @@
+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-11-20  Youenn Fablet  <[email protected]>
 
         Add support for RTCPeerConnection.onicecandidateerror event

Modified: releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js (274633 => 274634)


--- releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js	2021-03-18 11:04:09 UTC (rev 274633)
+++ releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js	2021-03-18 11:04:16 UTC (rev 274634)
@@ -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: releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt (274633 => 274634)


--- releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt	2021-03-18 11:04:09 UTC (rev 274633)
+++ releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt	2021-03-18 11:04:16 UTC (rev 274634)
@@ -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: releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js (274633 => 274634)


--- releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js	2021-03-18 11:04:09 UTC (rev 274633)
+++ releases/WebKitGTK/webkit-2.30/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js	2021-03-18 11:04:16 UTC (rev 274634)
@@ -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: releases/WebKitGTK/webkit-2.30/Source/WTF/ChangeLog (274633 => 274634)


--- releases/WebKitGTK/webkit-2.30/Source/WTF/ChangeLog	2021-03-18 11:04:09 UTC (rev 274633)
+++ releases/WebKitGTK/webkit-2.30/Source/WTF/ChangeLog	2021-03-18 11:04:16 UTC (rev 274634)
@@ -1,3 +1,13 @@
+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-02  Michael Catanzaro  <[email protected]>
 
         aarch64 llint does not build with JIT disabled

Modified: releases/WebKitGTK/webkit-2.30/Source/WTF/wtf/URL.cpp (274633 => 274634)


--- releases/WebKitGTK/webkit-2.30/Source/WTF/wtf/URL.cpp	2021-03-18 11:04:09 UTC (rev 274633)
+++ releases/WebKitGTK/webkit-2.30/Source/WTF/wtf/URL.cpp	2021-03-18 11:04:16 UTC (rev 274634)
@@ -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