accessible/moz.build
author Nika Layzell <nika@thelayzells.com>
Wed, 16 Sep 2020 20:47:55 +0000
changeset 549331 ab7d302fd3186b10ada9264528c80f6840e44571
parent 535518 3fefa1d023a6f62cc899f02539cce31edd88bd41
permissions -rw-r--r--
Bug 1659696 - Check PendingInitialization before targeting in window.open, r=kmag This requires adding the flag as a synced field on the BrowsingContext, and checking it in a few more places. Attempts to open a new window in this racy manner will now raise an exception. This should avoid the issue from bug 1658854 by blocking the buggy attempts to load before the nested event loop has been exited. Differential Revision: https://phabricator.services.mozilla.com/D87927

# -*- 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/.

toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']

if toolkit == 'gtk':
    DIRS += ['atk']
elif toolkit == 'windows':
    DIRS += ['windows']
elif toolkit == 'cocoa':
    DIRS += ['mac']
elif toolkit == 'android':
    DIRS += ['android']
else:
    DIRS += ['other']

DIRS += [ 'aom',
          'base',
          'generic',
          'html',
          'interfaces',
          'ipc',
          'xpcom'
]

if CONFIG['MOZ_XUL']:
    DIRS += ['xul']

TEST_DIRS += ['tests/mochitest']

BROWSER_CHROME_MANIFESTS += [
  'tests/browser/bounds/browser.ini',
  'tests/browser/browser.ini',
  'tests/browser/e10s/browser.ini',
  'tests/browser/events/browser.ini',
  'tests/browser/fission/browser.ini',
  'tests/browser/general/browser.ini',
  'tests/browser/hittest/browser.ini',
  'tests/browser/mac/browser.ini',
  'tests/browser/scroll/browser.ini',
  'tests/browser/states/browser.ini',
  'tests/browser/telemetry/browser.ini',
  'tests/browser/tree/browser.ini'
]

with Files("**"):
    BUG_COMPONENT = ("Core", "Disability Access APIs")