mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
script: Stop copying the document URL.
This commit is contained in:
parent
4d1be2f56c
commit
5dce5f0c97
8 changed files with 19 additions and 16 deletions
|
@ -1909,7 +1909,7 @@ impl ScriptTask {
|
|||
window.r().set_fragment_name(final_url.fragment.clone());
|
||||
|
||||
// Notify devtools that a new script global exists.
|
||||
self.notify_devtools(document.r().Title(), final_url, (id, None));
|
||||
self.notify_devtools(document.r().Title(), (*final_url).clone(), (id, None));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue