Changeset 270321 in webkit


Ignore:
Timestamp:
Dec 1, 2020 11:29:43 AM (20 months ago)
Author:
youenn@apple.com
Message:

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

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r270300 r270321  
     12020-12-01  Youenn Fablet  <youenn@apple.com>
     2
     3        Update list of block ports according fetch spec
     4        https://bugs.webkit.org/show_bug.cgi?id=219154
     5
     6        Reviewed by Sam Weinig.
     7
     8        * web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt:
     9        * web-platform-tests/fetch/api/request/request-bad-port.any.js:
     10        * web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt:
     11        * web-platform-tests/websockets/Create-blocked-port.any-expected.txt:
     12        * web-platform-tests/websockets/Create-blocked-port.any.js:
     13        * web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt:
     14
    1152020-12-01  Rob Buis  <rbuis@igalia.com>
    216
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt

    r269436 r270321  
    1616Blocked access to external URL http://example.com:43/
    1717Blocked access to external URL http://example.com:53/
     18Blocked access to external URL http://example.com:69/
    1819Blocked access to external URL http://example.com:77/
    1920Blocked access to external URL http://example.com:79/
     
    3334Blocked access to external URL http://example.com:123/
    3435Blocked access to external URL http://example.com:135/
     36Blocked access to external URL http://example.com:137/
    3537Blocked access to external URL http://example.com:139/
    3638Blocked access to external URL http://example.com:143/
     39Blocked access to external URL http://example.com:161/
    3740Blocked access to external URL http://example.com:179/
    3841Blocked access to external URL http://example.com:389/
     
    4952Blocked access to external URL http://example.com:540/
    5053Blocked access to external URL http://example.com:548/
     54Blocked access to external URL http://example.com:554/
    5155Blocked access to external URL http://example.com:556/
    5256Blocked access to external URL http://example.com:563/
     
    5761Blocked access to external URL http://example.com:995/
    5862Blocked access to external URL http://example.com:2049/
     63Blocked access to external URL http://example.com:1719/
     64Blocked access to external URL http://example.com:1720/
     65Blocked access to external URL http://example.com:1723/
    5966Blocked access to external URL http://example.com:3659/
    6067Blocked access to external URL http://example.com:4045/
     
    6269Blocked access to external URL http://example.com:5061/
    6370Blocked access to external URL http://example.com:6000/
     71Blocked access to external URL http://example.com:6566/
    6472Blocked access to external URL http://example.com:6665/
    6573Blocked access to external URL http://example.com:6666/
     
    8694PASS Request on bad port 43 should throw TypeError.
    8795PASS Request on bad port 53 should throw TypeError.
     96PASS Request on bad port 69 should throw TypeError.
    8897PASS Request on bad port 77 should throw TypeError.
    8998PASS Request on bad port 79 should throw TypeError.
     
    103112PASS Request on bad port 123 should throw TypeError.
    104113PASS Request on bad port 135 should throw TypeError.
     114PASS Request on bad port 137 should throw TypeError.
    105115PASS Request on bad port 139 should throw TypeError.
    106116PASS Request on bad port 143 should throw TypeError.
     117PASS Request on bad port 161 should throw TypeError.
    107118PASS Request on bad port 179 should throw TypeError.
    108119PASS Request on bad port 389 should throw TypeError.
     
    119130PASS Request on bad port 540 should throw TypeError.
    120131PASS Request on bad port 548 should throw TypeError.
     132PASS Request on bad port 554 should throw TypeError.
    121133PASS Request on bad port 556 should throw TypeError.
    122134PASS Request on bad port 563 should throw TypeError.
     
    127139PASS Request on bad port 995 should throw TypeError.
    128140PASS Request on bad port 2049 should throw TypeError.
     141PASS Request on bad port 1719 should throw TypeError.
     142PASS Request on bad port 1720 should throw TypeError.
     143PASS Request on bad port 1723 should throw TypeError.
    129144PASS Request on bad port 3659 should throw TypeError.
    130145PASS Request on bad port 4045 should throw TypeError.
     
    132147PASS Request on bad port 5061 should throw TypeError.
    133148PASS Request on bad port 6000 should throw TypeError.
     149PASS Request on bad port 6566 should throw TypeError.
    134150PASS Request on bad port 6665 should throw TypeError.
    135151PASS Request on bad port 6666 should throw TypeError.
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js

    r269436 r270321  
    2121    43,   // nicname
    2222    53,   // domain
     23    69,   // TFTP
    2324    77,   // priv-rjs
    2425    79,   // finger
     
    3839    123,  // ntp
    3940    135,  // loc-srv / epmap
     41    137,  // netbios
    4042    139,  // netbios
    4143    143,  // imap2
     44    161,  // SNMP
    4245    179,  // bgp
    4346    389,  // ldap
     
    5457    540,  // uucp
    5558    548,  // afp
     59    554,  // rtsp
    5660    556,  // remotefs
    5761    563,  // nntp+ssl
     
    6266    995,  // pop3+ssl
    6367    2049, // nfs
     68    1719, // H323 (RAS)
     69    1720, // H323 (Q931)
     70    1723, // H323 (H245)
    6471    3659, // apple-sasl
    6572    4045, // lockd
     
    6774    5061, // sips
    6875    6000, // x11
     76    6566, // SANE
    6977    6665, // irc (alternate)
    7078    6666, // irc (alternate)
  • trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt

    r269436 r270321  
    1616Blocked access to external URL http://example.com:43/
    1717Blocked access to external URL http://example.com:53/
     18Blocked access to external URL http://example.com:69/
    1819Blocked access to external URL http://example.com:77/
    1920Blocked access to external URL http://example.com:79/
     
    3334Blocked access to external URL http://example.com:123/
    3435Blocked access to external URL http://example.com:135/
     36Blocked access to external URL http://example.com:137/
    3537Blocked access to external URL http://example.com:139/
    3638Blocked access to external URL http://example.com:143/
     39Blocked access to external URL http://example.com:161/
    3740Blocked access to external URL http://example.com:179/
    3841Blocked access to external URL http://example.com:389/
     
    4952Blocked access to external URL http://example.com:540/
    5053Blocked access to external URL http://example.com:548/
     54Blocked access to external URL http://example.com:554/
    5155Blocked access to external URL http://example.com:556/
    5256Blocked access to external URL http://example.com:563/
     
    5761Blocked access to external URL http://example.com:995/
    5862Blocked access to external URL http://example.com:2049/
     63Blocked access to external URL http://example.com:1719/
     64Blocked access to external URL http://example.com:1720/
     65Blocked access to external URL http://example.com:1723/
    5966Blocked access to external URL http://example.com:3659/
    6067Blocked access to external URL http://example.com:4045/
     
    6269Blocked access to external URL http://example.com:5061/
    6370Blocked access to external URL http://example.com:6000/
     71Blocked access to external URL http://example.com:6566/
    6472Blocked access to external URL http://example.com:6665/
    6573Blocked access to external URL http://example.com:6666/
     
    8694PASS Request on bad port 43 should throw TypeError.
    8795PASS Request on bad port 53 should throw TypeError.
     96PASS Request on bad port 69 should throw TypeError.
    8897PASS Request on bad port 77 should throw TypeError.
    8998PASS Request on bad port 79 should throw TypeError.
     
    103112PASS Request on bad port 123 should throw TypeError.
    104113PASS Request on bad port 135 should throw TypeError.
     114PASS Request on bad port 137 should throw TypeError.
    105115PASS Request on bad port 139 should throw TypeError.
    106116PASS Request on bad port 143 should throw TypeError.
     117PASS Request on bad port 161 should throw TypeError.
    107118PASS Request on bad port 179 should throw TypeError.
    108119PASS Request on bad port 389 should throw TypeError.
     
    119130PASS Request on bad port 540 should throw TypeError.
    120131PASS Request on bad port 548 should throw TypeError.
     132PASS Request on bad port 554 should throw TypeError.
    121133PASS Request on bad port 556 should throw TypeError.
    122134PASS Request on bad port 563 should throw TypeError.
     
    127139PASS Request on bad port 995 should throw TypeError.
    128140PASS Request on bad port 2049 should throw TypeError.
     141PASS Request on bad port 1719 should throw TypeError.
     142PASS Request on bad port 1720 should throw TypeError.
     143PASS Request on bad port 1723 should throw TypeError.
    129144PASS Request on bad port 3659 should throw TypeError.
    130145PASS Request on bad port 4045 should throw TypeError.
     
    132147PASS Request on bad port 5061 should throw TypeError.
    133148PASS Request on bad port 6000 should throw TypeError.
     149PASS Request on bad port 6566 should throw TypeError.
    134150PASS Request on bad port 6665 should throw TypeError.
    135151PASS Request on bad port 6666 should throw TypeError.
  • trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any-expected.txt

    r269459 r270321  
    1818PASS WebSocket blocked port test 43
    1919PASS WebSocket blocked port test 53
     20PASS WebSocket blocked port test 69
    2021PASS WebSocket blocked port test 77
    2122PASS WebSocket blocked port test 79
     
    3536PASS WebSocket blocked port test 123
    3637PASS WebSocket blocked port test 135
     38PASS WebSocket blocked port test 137
    3739PASS WebSocket blocked port test 139
    3840PASS WebSocket blocked port test 143
     41PASS WebSocket blocked port test 161
    3942PASS WebSocket blocked port test 179
    4043PASS WebSocket blocked port test 389
     
    5154PASS WebSocket blocked port test 540
    5255PASS WebSocket blocked port test 548
     56PASS WebSocket blocked port test 554
    5357PASS WebSocket blocked port test 556
    5458PASS WebSocket blocked port test 563
     
    5963PASS WebSocket blocked port test 995
    6064PASS WebSocket blocked port test 2049
     65PASS WebSocket blocked port test 1719
     66PASS WebSocket blocked port test 1720
     67PASS WebSocket blocked port test 1723
    6168PASS WebSocket blocked port test 3659
    6269PASS WebSocket blocked port test 4045
     
    6471PASS WebSocket blocked port test 5061
    6572PASS WebSocket blocked port test 6000
     73PASS WebSocket blocked port test 6566
    6674PASS WebSocket blocked port test 6665
    6775PASS WebSocket blocked port test 6666
  • trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js

    r269436 r270321  
    2626  43,   // nicname
    2727  53,   // domain
     28  69,   // TFTP
    2829  77,   // priv-rjs
    2930  79,   // finger
     
    4344  123,  // ntp
    4445  135,  // loc-srv / epmap
     46  137,  // netbios
    4547  139,  // netbios
    4648  143,  // imap2
     49  161,  // SNMP
    4750  179,  // bgp
    4851  389,  // ldap
     
    5962  540,  // uucp
    6063  548,  // afp
     64  554,  // rtsp
    6165  556,  // remotefs
    6266  563,  // nntp+ssl
     
    6771  995,  // pop3+ssl
    6872  2049, // nfs
     73  1719, // H323 (RAS)
     74  1720, // H323 (Q931)
     75  1723, // H323 (H245)
    6976  3659, // apple-sasl
    7077  4045, // lockd
     
    7279  5061, // sips
    7380  6000, // x11
     81  6566, // SANE
    7482  6665, // irc (alternate)
    7583  6666, // irc (alternate)
  • trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt

    r269459 r270321  
    1818PASS WebSocket blocked port test 43
    1919PASS WebSocket blocked port test 53
     20PASS WebSocket blocked port test 69
    2021PASS WebSocket blocked port test 77
    2122PASS WebSocket blocked port test 79
     
    3536PASS WebSocket blocked port test 123
    3637PASS WebSocket blocked port test 135
     38PASS WebSocket blocked port test 137
    3739PASS WebSocket blocked port test 139
    3840PASS WebSocket blocked port test 143
     41PASS WebSocket blocked port test 161
    3942PASS WebSocket blocked port test 179
    4043PASS WebSocket blocked port test 389
     
    5154PASS WebSocket blocked port test 540
    5255PASS WebSocket blocked port test 548
     56PASS WebSocket blocked port test 554
    5357PASS WebSocket blocked port test 556
    5458PASS WebSocket blocked port test 563
     
    5963PASS WebSocket blocked port test 995
    6064PASS WebSocket blocked port test 2049
     65PASS WebSocket blocked port test 1719
     66PASS WebSocket blocked port test 1720
     67PASS WebSocket blocked port test 1723
    6168PASS WebSocket blocked port test 3659
    6269PASS WebSocket blocked port test 4045
     
    6471PASS WebSocket blocked port test 5061
    6572PASS WebSocket blocked port test 6000
     73PASS WebSocket blocked port test 6566
    6674PASS WebSocket blocked port test 6665
    6775PASS WebSocket blocked port test 6666
  • trunk/Source/WTF/ChangeLog

    r270311 r270321  
     12020-12-01  Youenn Fablet  <youenn@apple.com>
     2
     3        Update list of block ports according fetch spec
     4        https://bugs.webkit.org/show_bug.cgi?id=219154
     5
     6        Reviewed by Sam Weinig.
     7
     8        * wtf/URL.cpp:
     9        (WTF::portAllowed):
     10
    1112020-12-01  Ryan Haddad  <ryanhaddad@apple.com>
    212
  • trunk/Source/WTF/wtf/URL.cpp

    r269436 r270321  
    910910        43,   // nicname
    911911        53,   // domain
     912        69,   // TFTP
    912913        77,   // priv-rjs
    913914        79,   // finger
     
    927928        123,  // NTP
    928929        135,  // loc-srv / epmap
     930        137,  // NetBIOS
    929931        139,  // netbios
    930932        143,  // IMAP2
     933        161,  // SNMP
    931934        179,  // BGP
    932935        389,  // LDAP
     
    943946        540,  // UUCP
    944947        548,  // afpovertcp [Apple addition]
     948        554,  // rtsp
    945949        556,  // remotefs
    946950        563,  // NNTP+SSL
     
    950954        993,  // IMAP+SSL
    951955        995,  // POP3+SSL
     956        1719, // H323 (RAS)
     957        1720, // H323 (Q931)
     958        1723, // H323 (H245)
    952959        2049, // NFS
    953960        3659, // apple-sasl / PasswordServer [Apple addition]
     
    957964        5061, // SIPS
    958965        6000, // X11
     966        6566, // SANE
    959967        6665, // Alternate IRC [Apple addition]
    960968        6666, // Alternate IRC [Apple addition]
Note: See TracChangeset for help on using the changeset viewer.