aboutsummaryrefslogtreecommitdiffstats
path: root/components/constellation/browsingcontext.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/constellation/browsingcontext.rs')
-rw-r--r--components/constellation/browsingcontext.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/constellation/browsingcontext.rs b/components/constellation/browsingcontext.rs
index d90cb79cadd..4f15638fcff 100644
--- a/components/constellation/browsingcontext.rs
+++ b/components/constellation/browsingcontext.rs
@@ -24,6 +24,9 @@ pub struct NewBrowsingContextInfo {
/// Whether this browsing context is in private browsing mode.
pub is_private: bool,
+ /// Whether this browsing context inherits a secure context.
+ pub inherited_secure_context: Option<bool>,
+
/// Whether this browsing context should be treated as visible for the
/// purposes of scheduling and resource management.
pub is_visible: bool,
@@ -51,6 +54,9 @@ pub struct BrowsingContext {
/// Whether this browsing context is in private browsing mode.
pub is_private: bool,
+ /// Whether this browsing context inherits a secure context.
+ pub inherited_secure_context: Option<bool>,
+
/// Whether this browsing context should be treated as visible for the
/// purposes of scheduling and resource management.
pub is_visible: bool,
@@ -78,6 +84,7 @@ impl BrowsingContext {
parent_pipeline_id: Option<PipelineId>,
size: Size2D<f32, CSSPixel>,
is_private: bool,
+ inherited_secure_context: Option<bool>,
is_visible: bool,
) -> BrowsingContext {
let mut pipelines = HashSet::new();
@@ -88,6 +95,7 @@ impl BrowsingContext {
top_level_id,
size,
is_private,
+ inherited_secure_context,
is_visible,
pipeline_id,
parent_pipeline_id,