Skip to content

Commit

Permalink
Remove TODO from step 4 of delete
Browse files Browse the repository at this point in the history
The confusion around step 4 of `delete` method has been resolved through whatwg/fetch#372.
  • Loading branch information
jeenalee committed Aug 23, 2016
1 parent d591303 commit 2c4b268
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/script/dom/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ impl HeadersMethods for Headers {
return Ok(());
}
// Step 4
// TODO: Requires clarification from the Fetch spec:
// ... https://github.com/whatwg/fetch/issues/372
if self.guard.get() == Guard::RequestNoCors &&
!is_cors_safelisted_request_header(&valid_name, &b"invalid".to_vec()) {
return Ok(());
Expand Down

0 comments on commit 2c4b268

Please sign in to comment.