author Tom Schuster <>
Sun, 14 Jun 2020 18:59:08 +0000
changeset 535622 c68fe15a81fc2dc9fc5765f3be2573519c09b6c1
parent 482505 cbafbe822862de817b4dfa2a5975e02f2d01119d
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:

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

Classes = [
        'cid': '{5baca10a-4d53-4335-b24d-c69696640a9a}',
        'contract_ids': [';1'],
        'type': 'nsFxrCommandLineHandler',
        'headers': ['/gfx/vr/nsFxrCommandLineHandler.h'],
        'categories': {'command-line-handler': 'm-vrbrowser'},