mirror of
https://github.com/servo/servo.git
synced 2025-10-01 17:19:16 +01:00
Lookup frames by frame_id, not pipeline_id.
This commit is contained in:
parent
4984a83f67
commit
f3993d99b9
13 changed files with 187 additions and 164 deletions
|
@ -38,7 +38,7 @@ async_test(function(t) {
|
|||
|
||||
var action_idx = 0;
|
||||
|
||||
iframe.addEventListener("mozbrowserlocationchange", e => {
|
||||
iframe.addEventListener("mozbrowserlocationchange", t.step_func(e => {
|
||||
received_events.push(e.detail.url);
|
||||
received_events.push(e.detail.canGoBack);
|
||||
received_events.push(e.detail.canGoForward);
|
||||
|
@ -49,7 +49,7 @@ async_test(function(t) {
|
|||
assert_array_equals(received_events, expected_events);
|
||||
t.done();
|
||||
}
|
||||
});
|
||||
}));
|
||||
|
||||
document.body.appendChild(iframe);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue