mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Small fix to variable name
This is a more accurate name for the script pipeline.
This commit is contained in:
parent
6e06a1353c
commit
a10e261ffd
1 changed files with 2 additions and 2 deletions
|
@ -628,7 +628,7 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
|
||||||
source_url.port() == url.port()) && sandbox == IFrameUnsandboxed;
|
source_url.port() == url.port()) && sandbox == IFrameUnsandboxed;
|
||||||
// FIXME(tkuehn): Need to follow the standardized spec for checking same-origin
|
// FIXME(tkuehn): Need to follow the standardized spec for checking same-origin
|
||||||
// Reuse the script task if the URL is same-origin
|
// Reuse the script task if the URL is same-origin
|
||||||
let new_pipeline = if same_script {
|
let script_pipeline = if same_script {
|
||||||
debug!("Constellation: loading same-origin iframe at {:?}", url);
|
debug!("Constellation: loading same-origin iframe at {:?}", url);
|
||||||
Some(source_pipeline.clone())
|
Some(source_pipeline.clone())
|
||||||
} else {
|
} else {
|
||||||
|
@ -639,7 +639,7 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
|
||||||
let pipeline = self.new_pipeline(
|
let pipeline = self.new_pipeline(
|
||||||
next_pipeline_id,
|
next_pipeline_id,
|
||||||
Some(subpage_id),
|
Some(subpage_id),
|
||||||
new_pipeline,
|
script_pipeline,
|
||||||
LoadData::new(url)
|
LoadData::new(url)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue