mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Mark the page source as loaded only after parsing is done
This commit is contained in:
parent
d5442b87fc
commit
0f244d6948
10 changed files with 54 additions and 43 deletions
|
@ -71,6 +71,10 @@ impl Tokenizer {
|
|||
pub fn end(&mut self) {
|
||||
self.inner.end()
|
||||
}
|
||||
|
||||
pub fn url(&self) -> &ServoUrl {
|
||||
&self.inner.sink().sink().base_url
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue