mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
auto merge of #5244 : mattnenterprise/servo/page_load_thread_name, r=jdm
This commit is contained in:
commit
990a965ddf
1 changed files with 1 additions and 1 deletions
|
@ -1213,7 +1213,7 @@ impl ScriptTask {
|
|||
let script_chan = self.chan.clone();
|
||||
let resource_task = self.resource_task.clone();
|
||||
|
||||
spawn_named(format!("fetch for {:?}", load_data.url), move || {
|
||||
spawn_named(format!("fetch for {:?}", load_data.url.serialize()), move || {
|
||||
if load_data.url.scheme.as_slice() == "javascript" {
|
||||
load_data.url = Url::parse("about:blank").unwrap();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue