diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-03-23 17:02:52 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-03-24 09:43:14 +0100 |
commit | 0bd54b904bf8b926afb60f4be0554bc37b30464b (patch) | |
tree | 1489467a0fd3fbf41d54fecae20398d0d1f6909f /components/net/fetch/methods.rs | |
parent | bba0be13dd07116d02fd0f2e6d73d1ecb8e952bb (diff) | |
download | servo-0bd54b904bf8b926afb60f4be0554bc37b30464b.tar.gz servo-0bd54b904bf8b926afb60f4be0554bc37b30464b.zip |
Properly follow the spec in WebSocket::Constructor
Diffstat (limited to 'components/net/fetch/methods.rs')
-rw-r--r-- | components/net/fetch/methods.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs index b0a06de064a..90d1feed2d4 100644 --- a/components/net/fetch/methods.rs +++ b/components/net/fetch/methods.rs @@ -617,7 +617,7 @@ fn should_block_nosniff(request: &Request, response: &Response) -> bool { } /// https://fetch.spec.whatwg.org/#block-bad-port -fn should_be_blocked_due_to_bad_port(url: &ServoUrl) -> bool { +pub fn should_be_blocked_due_to_bad_port(url: &ServoUrl) -> bool { // Step 1 is not applicable, this function just takes the URL directly. // Step 2. |