testing/marionette/harness/marionette_harness/tests/unit/test_window_status_chrome.py
author Henrik Skupin <mail@hskupin.info>
Fri, 03 Feb 2017 17:49:38 +0100
changeset 394337 74b0c928a23e261b8976fbbdbcf8e1ab49c57a7c
child 454228 945b63ad5a0bdba0db9ccd656f256726c0a71841
permissions -rw-r--r--
Bug 1322383 - Add missing checks for valid window r=ato+446296 MozReview-Commit-ID: Ad67SPx8vBx

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

import os
import sys

# add this directory to the path
sys.path.append(os.path.dirname(__file__))

from test_window_status_content import TestNoSuchWindowContent


class TestNoSuchWindowChrome(TestNoSuchWindowContent):

    def setUp(self):
        super(TestNoSuchWindowChrome, self).setUp()

        self.marionette.set_context("chrome")

    def tearDown(self):
        self.close_all_windows()

        super(TestNoSuchWindowChrome, self).tearDown()