Lookup frames by frame_id, not pipeline_id.

This commit is contained in:
Alan Jeffrey 2016-10-07 15:52:49 -05:00
parent 4984a83f67
commit f3993d99b9
13 changed files with 187 additions and 164 deletions

View file

@ -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);