mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1147990
- websocket test suite - patch 3 - Not all the ports are accepted, r=smaug
This commit is contained in:
parent
e8292674ed
commit
7b01edda80
@ -1884,7 +1884,7 @@ WebSocketImpl::ParseURL(const nsAString& aURL)
|
||||
NS_ENSURE_SUCCESS(rv, NS_ERROR_DOM_SYNTAX_ERR);
|
||||
|
||||
rv = NS_CheckPortSafety(port, scheme.get());
|
||||
NS_ENSURE_SUCCESS(rv, NS_ERROR_DOM_SYNTAX_ERR);
|
||||
NS_ENSURE_SUCCESS(rv, NS_ERROR_DOM_SECURITY_ERR);
|
||||
|
||||
nsAutoCString filePath;
|
||||
rv = parsedURL->GetFilePath(filePath);
|
||||
|
@ -1,5 +0,0 @@
|
||||
[Create-Secure-blocked-port.htm]
|
||||
type: testharness
|
||||
[W3C WebSocket API - Create Secure WebSocket - Pass a URL with a blocked port - SECURITY_ERR should be thrown]
|
||||
expected: FAIL
|
||||
|
Loading…
Reference in New Issue
Block a user