Bug 1111601 - Avoid using hiddenwindow in DevTools code r=pbrosset