docshell/moz.build
author Jim Chen <nchen@mozilla.com>
Wed, 20 Jun 2018 16:46:20 -0400
changeset 423113 2806729c61eaac199ad4670788c4008079a99f34
parent 352051 0dbe18767bbf6fa8594aaba16df8472062a4e5c9
child 439047 d0d9cd85f3dba3ba7bd08dc54e2279fae2316570
permissions -rw-r--r--
Bug 1469683 - 1. Fix crash tests; r=esawin Specify individual sessions in crash tests (i.e. "mainSession.waitUntilCalled" instead of "sessionRule.waitUntilCalled"), so that the tests assert behavior on the correct session, and not inadvertently on the cached session. Also, under x86 debug builds, Gecko installs an "ah_crap_handler" for SIGSEGV that waits for a long time, which causes our crash tests to time out. Therefore, ignore crash tests under x86 debug. MozReview-Commit-ID: DdtmRBLmPGp

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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/.

with Files('**'):
    BUG_COMPONENT = ('Core', 'Document Navigation')

DIRS += [
    'base',
    'shistory',
    'build',
    'resources/content',
]

XPCSHELL_TESTS_MANIFESTS += [
    'test/unit/xpcshell.ini',
    'test/unit_ipc/xpcshell.ini',
]

MOCHITEST_MANIFESTS += [
    'test/iframesandbox/mochitest.ini',
    'test/mochitest.ini',
    'test/navigation/mochitest.ini',
]

MOCHITEST_CHROME_MANIFESTS += [
    'test/chrome/chrome.ini',
]

BROWSER_CHROME_MANIFESTS += [
    'test/browser/browser.ini',
    'test/navigation/browser.ini',
]

TEST_HARNESS_FILES.testing.mochitest.tests.docshell.test.chrome += [
    'test/chrome/112564_nocache.html',
    'test/chrome/112564_nocache.html^headers^',
    'test/chrome/215405_nocache.html',
    'test/chrome/215405_nocache.html^headers^',
    'test/chrome/215405_nostore.html',
    'test/chrome/215405_nostore.html^headers^',
    'test/chrome/582176_dummy.html',
    'test/chrome/582176_xml.xml',
    'test/chrome/582176_xslt.xsl',
    'test/chrome/92598_nostore.html',
    'test/chrome/92598_nostore.html^headers^',
    'test/chrome/allowContentRetargeting.sjs',
    'test/chrome/blue.png',
    'test/chrome/bug89419.sjs',
    'test/chrome/red.png',
]