Struct script::script_thread::InProgressLoad
source · struct InProgressLoad {Show 13 fields
pipeline_id: PipelineId,
browsing_context_id: BrowsingContextId,
top_level_browsing_context_id: TopLevelBrowsingContextId,
parent_info: Option<PipelineId>,
opener: Option<BrowsingContextId>,
window_size: WindowSizeData,
activity: DocumentActivity,
throttled: bool,
url: ServoUrl,
origin: MutableOrigin,
navigation_start: CrossProcessInstant,
canceller: FetchCanceller,
inherited_secure_context: Option<bool>,
}
Expand description
A document load that is in the process of fetching the requested resource. Contains data that will need to be present when the document and frame tree entry are created, but is only easily available at initiation of the load and on a push basis (so some data will be updated according to future resize events, viewport changes, etc.)
Fields§
§pipeline_id: PipelineId
The pipeline which requested this load.
browsing_context_id: BrowsingContextId
The browsing context being loaded into.
top_level_browsing_context_id: TopLevelBrowsingContextId
The top level ancestor browsing context.
parent_info: Option<PipelineId>
The parent pipeline and frame type associated with this load, if any.
opener: Option<BrowsingContextId>
The opener, if this is an auxiliary.
window_size: WindowSizeData
The current window size associated with this pipeline.
activity: DocumentActivity
The activity level of the document (inactive, active or fully active).
throttled: bool
Window is throttled, running timers at a heavily limited rate.
url: ServoUrl
The requested URL of the load.
origin: MutableOrigin
The origin for the document
Timestamp reporting the time when the browser started this load.
canceller: FetchCanceller
For cancelling the fetch
inherited_secure_context: Option<bool>
If inheriting the security context
Implementations§
source§impl InProgressLoad
impl InProgressLoad
sourcefn new(
id: PipelineId,
browsing_context_id: BrowsingContextId,
top_level_browsing_context_id: TopLevelBrowsingContextId,
parent_info: Option<PipelineId>,
opener: Option<BrowsingContextId>,
window_size: WindowSizeData,
url: ServoUrl,
origin: MutableOrigin,
inherited_secure_context: Option<bool>,
) -> InProgressLoad
fn new( id: PipelineId, browsing_context_id: BrowsingContextId, top_level_browsing_context_id: TopLevelBrowsingContextId, parent_info: Option<PipelineId>, opener: Option<BrowsingContextId>, window_size: WindowSizeData, url: ServoUrl, origin: MutableOrigin, inherited_secure_context: Option<bool>, ) -> InProgressLoad
Create a new InProgressLoad object.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InProgressLoad
impl !RefUnwindSafe for InProgressLoad
impl !Send for InProgressLoad
impl !Sync for InProgressLoad
impl Unpin for InProgressLoad
impl !UnwindSafe for InProgressLoad
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more