mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1037280 - Inspector: Wait for toolbox to be destroyed before ending test run. r=pbrosset
This commit is contained in:
parent
d114b81ac8
commit
d7c2bb1939
@ -49,9 +49,9 @@ SimpleTest.registerCleanupFunction(() => {
|
||||
Services.prefs.clearUserPref("devtools.inspector.activeSidebar");
|
||||
});
|
||||
|
||||
registerCleanupFunction(() => {
|
||||
registerCleanupFunction(function*() {
|
||||
let target = TargetFactory.forTab(gBrowser.selectedTab);
|
||||
gDevTools.closeToolbox(target);
|
||||
yield gDevTools.closeToolbox(target);
|
||||
|
||||
// Move the mouse outside inspector. If the test happened fake a mouse event
|
||||
// somewhere over inspector the pointer is considered to be there when the
|
||||
|
Loading…
Reference in New Issue
Block a user