mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
update "navigation within beforeunload" test to match the spec
This commit is contained in:
parent
a297e8f288
commit
9467543c80
4 changed files with 6 additions and 8 deletions
|
@ -1560,7 +1560,7 @@ impl Window {
|
|||
|
||||
let pipeline_id = self.upcast::<GlobalScope>().pipeline_id();
|
||||
|
||||
// Step 4
|
||||
// Step 4 and 5
|
||||
let window_proxy = self.window_proxy();
|
||||
if let Some(active) = window_proxy.currently_active() {
|
||||
if pipeline_id == active {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue