Files
tubestation/browser/components/uitour/test/browser_closeTab.js
Matthew Noorenberghe 44caa1ca3e Bug 1073247 - UITour: Proxy gContentAPI method calls to the content process via ContentTask and fix tests for e10s. r=felipe
This gets us to 414 / 917 checks passing with e10s compared to non-e10s on my OS X machine.
2016-02-01 14:29:11 -08:00

17 lines
419 B
JavaScript

"use strict";
var {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;
var gTestTab;
var gContentAPI;
var gContentWindow;
add_task(setup_UITourTest);
add_UITour_task(function* test_closeTab() {
// Setting gTestTab to null indicates that the tab has already been closed,
// and if this does not happen the test run will fail.
yield gContentAPI.closeTab();
gTestTab = null;
});