mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove same-origin-data-url flag from fetch implementation
The spec removed it. Check the scheme instead, data is always same origin now, except for workers. This also updates the comments to make step numbers match the spec. Closes #13362
This commit is contained in:
parent
0e950c0ba5
commit
95a7482d26
7 changed files with 18 additions and 34 deletions
|
@ -44,7 +44,6 @@ fn request_init_from_request(request: NetTraitsRequest) -> NetTraitsRequestInit
|
|||
url: request.url(),
|
||||
headers: request.headers.borrow().clone(),
|
||||
unsafe_request: request.unsafe_request,
|
||||
same_origin_data: request.same_origin_data.get(),
|
||||
body: request.body.borrow().clone(),
|
||||
type_: request.type_,
|
||||
destination: request.destination,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue