Diff
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (275830 => 275831)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2021-04-12 18:45:27 UTC (rev 275830)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2021-04-12 18:48:25 UTC (rev 275831)
@@ -1,3 +1,17 @@
+2021-04-12 Youenn Fablet <[email protected]>
+
+ Block loading for port 10080
+ https://bugs.webkit.org/show_bug.cgi?id=224432
+
+ Reviewed by Alex Christensen.
+
+ * 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:
+
2021-04-12 Sam Weinig <[email protected]>
Update WPT css/css-color tests
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt (275830 => 275831)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt 2021-04-12 18:45:27 UTC (rev 275830)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any-expected.txt 2021-04-12 18:48:25 UTC (rev 275831)
@@ -75,6 +75,7 @@
Blocked access to external URL http://example.com:6668/
Blocked access to external URL http://example.com:6669/
Blocked access to external URL http://example.com:6697/
+Blocked access to external URL http://example.com:10080/
PASS Request on bad port 1 should throw TypeError.
PASS Request on bad port 7 should throw TypeError.
@@ -153,4 +154,5 @@
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 10080 should throw TypeError.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js (275830 => 275831)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js 2021-04-12 18:45:27 UTC (rev 275830)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.js 2021-04-12 18:48:25 UTC (rev 275831)
@@ -80,6 +80,7 @@
6668, // irc (alternate)
6669, // irc (alternate)
6697, // irc+tls
+ 10080, // amanda
];
BLOCKED_PORTS_LIST.map(function(a){
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt (275830 => 275831)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt 2021-04-12 18:45:27 UTC (rev 275830)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-bad-port.any.worker-expected.txt 2021-04-12 18:48:25 UTC (rev 275831)
@@ -75,6 +75,7 @@
Blocked access to external URL http://example.com:6668/
Blocked access to external URL http://example.com:6669/
Blocked access to external URL http://example.com:6697/
+Blocked access to external URL http://example.com:10080/
PASS Request on bad port 1 should throw TypeError.
PASS Request on bad port 7 should throw TypeError.
@@ -153,4 +154,5 @@
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 10080 should throw TypeError.
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any-expected.txt (275830 => 275831)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any-expected.txt 2021-04-12 18:45:27 UTC (rev 275830)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any-expected.txt 2021-04-12 18:48:25 UTC (rev 275831)
@@ -77,4 +77,5 @@
PASS WebSocket blocked port test 6668
PASS WebSocket blocked port test 6669
PASS WebSocket blocked port test 6697
+PASS WebSocket blocked port test 10080
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js (275830 => 275831)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js 2021-04-12 18:45:27 UTC (rev 275830)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.js 2021-04-12 18:48:25 UTC (rev 275831)
@@ -85,6 +85,7 @@
6668, // irc (alternate)
6669, // irc (alternate)
6697, // irc+tls
+ 10080, // amanda
].forEach(blockedPort => {
async_test(t => {
const ws = CreateWebSocketWithBlockedPort(blockedPort)
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt (275830 => 275831)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt 2021-04-12 18:45:27 UTC (rev 275830)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/websockets/Create-blocked-port.any.worker-expected.txt 2021-04-12 18:48:25 UTC (rev 275831)
@@ -77,4 +77,5 @@
PASS WebSocket blocked port test 6668
PASS WebSocket blocked port test 6669
PASS WebSocket blocked port test 6697
+PASS WebSocket blocked port test 10080
Modified: trunk/Source/WTF/ChangeLog (275830 => 275831)
--- trunk/Source/WTF/ChangeLog 2021-04-12 18:45:27 UTC (rev 275830)
+++ trunk/Source/WTF/ChangeLog 2021-04-12 18:48:25 UTC (rev 275831)
@@ -1,3 +1,15 @@
+2021-04-12 Youenn Fablet <[email protected]>
+
+ Block loading for port 10080
+ https://bugs.webkit.org/show_bug.cgi?id=224432
+
+ Reviewed by Alex Christensen.
+
+ Follow Chrome and Firefox by blocking port 10080.
+
+ * wtf/URL.cpp:
+ (WTF::portAllowed):
+
2021-04-11 Sam Weinig <[email protected]>
Reduce compile time and binary size cost of enabling proper CSSStyleDeclaration property access behavior
Modified: trunk/Source/WTF/wtf/URL.cpp (275830 => 275831)
--- trunk/Source/WTF/wtf/URL.cpp 2021-04-12 18:45:27 UTC (rev 275830)
+++ trunk/Source/WTF/wtf/URL.cpp 2021-04-12 18:48:25 UTC (rev 275831)
@@ -972,6 +972,7 @@
6669, // Alternate IRC [Apple addition]
6679, // Alternate IRC SSL [Apple addition]
6697, // IRC+SSL [Apple addition]
+ 10080, // amanda
};
// If the port is not in the blocked port list, allow it.