mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Reorganize document creation so it occurs after we have a final URL.
This commit is contained in:
@@ -210,8 +210,7 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> {
|
||||
}
|
||||
|
||||
fn url(self) -> Url {
|
||||
let window = self.window().root();
|
||||
window.page().get_url()
|
||||
self.url.clone()
|
||||
}
|
||||
|
||||
fn quirks_mode(self) -> QuirksMode {
|
||||
|
||||
Reference in New Issue
Block a user