mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 22:35:43 +00:00
Bug 1142633 - Fix intermittent netmonitor e10s test failures caused by dead CPOW usage. r=vporof
This commit is contained in:
parent
9c862a5b7e
commit
b56c43ff6c
@ -139,7 +139,6 @@ function initNetMonitor(aUrl, aWindow) {
|
||||
let tab = yield addTab(aUrl);
|
||||
info("Net tab added successfully: " + aUrl);
|
||||
|
||||
let debuggee = tab.linkedBrowser.contentWindow.wrappedJSObject;
|
||||
let target = TargetFactory.forTab(tab);
|
||||
|
||||
yield target.makeRemote();
|
||||
@ -151,6 +150,7 @@ function initNetMonitor(aUrl, aWindow) {
|
||||
let toolbox = yield gDevTools.showToolbox(target, "netmonitor");
|
||||
info("Netork monitor pane shown successfully.");
|
||||
|
||||
let debuggee = tab.linkedBrowser.contentWindow.wrappedJSObject;
|
||||
let monitor = toolbox.getCurrentPanel();
|
||||
return [tab, debuggee, monitor];
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user