mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add mozbrowser events for location + title change.
This commit is contained in:
parent
da2231a8fa
commit
7163a3c580
6 changed files with 83 additions and 23 deletions
|
@ -761,6 +761,11 @@ impl<'a> WindowHelpers for JSRef<'a, Window> {
|
|||
|
||||
fn thaw(self) {
|
||||
self.timers.resume();
|
||||
|
||||
// Push the document title to the compositor since we are
|
||||
// activating this document due to a navigation.
|
||||
let document = self.Document().root();
|
||||
document.r().title_changed();
|
||||
}
|
||||
|
||||
fn freeze(self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue