diff options
author | Daniel Kolsoi <dkolsoi@pixability.com> | 2017-09-25 19:11:30 -0400 |
---|---|---|
committer | Daniel Kolsoi <dkolsoi@pixability.com> | 2017-09-25 19:11:30 -0400 |
commit | 96f9cc77e69a79e9b805d3c71899775eb5d0b271 (patch) | |
tree | 33d8255938c18d0ad062ff65dae218d6160348e6 /components/script/dom/request.rs | |
parent | 216f64e4e1033dd179d3657f300bfc9be58ed3f1 (diff) | |
download | servo-96f9cc77e69a79e9b805d3c71899775eb5d0b271.tar.gz servo-96f9cc77e69a79e9b805d3c71899775eb5d0b271.zip |
Removed integrity check and test for no-cors requests
Also updated request-headers.html manifest hash
Diffstat (limited to 'components/script/dom/request.rs')
-rw-r--r-- | components/script/dom/request.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/components/script/dom/request.rs b/components/script/dom/request.rs index 9abfb4b0eb4..8a673e85455 100644 --- a/components/script/dom/request.rs +++ b/components/script/dom/request.rs @@ -324,10 +324,6 @@ impl Request { "The mode is 'no-cors' but the method is not a cors-safelisted method".to_string())); } // Step 30.2 - if !borrowed_request.integrity_metadata.is_empty() { - return Err(Error::Type("Integrity metadata is not an empty string".to_string())); - } - // Step 30.3 r.Headers().set_guard(Guard::RequestNoCors); } |