dom/media/webvtt/moz.build
author Tom Schuster <evilpies@gmail.com>
Sun, 14 Jun 2020 18:59:08 +0000
changeset 535622 c68fe15a81fc2dc9fc5765f3be2573519c09b6c1
parent 462109 f8fb6e47bb24093cb635cb475d1ff3df2d8697b0
child 553924 7558c8821a074b6f7c1e7d9314976e6b66176e5c
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/.

XPIDL_SOURCES += [
  'nsIWebVTTListener.idl',
  'nsIWebVTTParserWrapper.idl',
]

XPIDL_MODULE = 'webvtt'

EXTRA_JS_MODULES += [
  'WebVTTParserWrapper.jsm',
]

XPCOM_MANIFESTS += [
  'components.conf',
]

EXTRA_JS_MODULES += [
  'vtt.jsm',
]

XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']