xpcom/components/components.conf
author Tom Schuster <evilpies@gmail.com>
Sun, 14 Jun 2020 18:59:08 +0000
changeset 535622 c68fe15a81fc2dc9fc5765f3be2573519c09b6c1
parent 468659 8f70ba445346be2652ea151291dd3f34b43930b0
child 539647 71c3475fcbc295c3db7c5a7ab5a3a1884e00a94f
permissions -rw-r--r--
Bug 1644878 - Don't define Map/Set identical iterator methods in self-hosted JS. r=arai I think we were defining those methods in self-hosted JS, because that automatically gives us the property that they all have the same identity. This causes bad error messages. Instead redefine them in the finishInit ClassSpec hook. We still have the "wrong" methods in the 'methods' array so that JSXray tests continue to pass. Differential Revision: https://phabricator.services.mozilla.com/D79615

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

Classes = [
    {
        'cid': '{16d222a6-1dd2-11b2-b693-f38b02c021b2}',
        'contract_ids': ['@mozilla.org/categorymanager;1'],
        'legacy_constructor': 'nsCategoryManager::Create',
        'headers': ['/xpcom/components/nsCategoryManager.h'],
        'processes': ProcessSelector.ALLOW_IN_GPU_RDD_AND_SOCKET_PROCESS,
    },
    {
        'cid': '{91775d60-d5dc-11d2-92fb-00e09805570f}',
        'legacy_constructor': 'nsComponentManagerImpl::Create',
        'headers': ['/xpcom/components/nsComponentManager.h'],
        'processes': ProcessSelector.ALLOW_IN_GPU_RDD_VR_AND_SOCKET_PROCESS,
    },
]