Skip to content
Permalink
Browse files

running mach fmt

  • Loading branch information...
lucasfantacuci committed Dec 21, 2018
1 parent 711cfc8 commit 579725ce7a4babc11ebab7e6a0bb38ff671d8a74
Showing with 7 additions and 5 deletions.
  1. +7 −5 components/script/fetch.rs
@@ -110,11 +110,13 @@ fn request_init_from_request(request: NetTraitsRequest) -> NetTraitsRequestInit
.use_cors_preflight(request.use_cors_preflight)
.credentials_mode(request.credentials_mode)
.use_url_credentials(request.use_url_credentials)
.origin(GlobalScope::current()
.expect("No current global object")
.origin()
.immutable()
.clone())
.origin(
GlobalScope::current()
.expect("No current global object")
.origin()
.immutable()
.clone(),
)
.referrer_url(from_referrer_to_referrer_url(&request))
.referrer_policy(request.referrer_policy)
.pipeline_id(request.pipeline_id)

0 comments on commit 579725c

Please sign in to comment.
You can’t perform that action at this time.