aboutsummaryrefslogtreecommitdiffstats
path: root/components/net_traits/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/net_traits/lib.rs')
-rw-r--r--components/net_traits/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs
index f753ca6078c..267163fad53 100644
--- a/components/net_traits/lib.rs
+++ b/components/net_traits/lib.rs
@@ -137,6 +137,8 @@ pub struct LoadData {
pub data: Option<Vec<u8>>,
pub cors: Option<ResourceCORSData>,
pub pipeline_id: Option<PipelineId>,
+ // https://fetch.spec.whatwg.org/#concept-http-fetch step 4.3
+ pub credentials_flag: bool,
}
impl LoadData {
@@ -149,6 +151,7 @@ impl LoadData {
data: None,
cors: None,
pipeline_id: id,
+ credentials_flag: true,
}
}
}