Skip to content

Commit

Permalink
Fixes servo#5215 Serializing the thread name for the page load task t…
Browse files Browse the repository at this point in the history
…o make it a simple url
  • Loading branch information
mattnenterprise committed Mar 17, 2015
1 parent b8e87ea commit f083583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/script/script_task.rs
Expand Up @@ -1201,7 +1201,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();
}
Expand Down

0 comments on commit f083583

Please sign in to comment.