xpcom/xpcom-config.h.in
author Chris Pearce <cpearce@mozilla.com>
Mon, 12 Mar 2018 13:05:04 +1300
changeset 407747 09d7852a968dbc0d25ba6e299b78f53ee5ba8ca9
parent 328357 77717bd5534f6b8c6d170a697a13fd9e61627852
child 456220 699954de14e37c54a20651b01351365c30c5f932
permissions -rw-r--r--
Bug 1434804 - Pause autoplayed media if they become audible. r=kamidphish Our autoplay blocking is trivial to defeat; just mute or volume=0 a video, play(), and then unmute, and then you're playing audibly. So this patch makes us pause() media that become audible atfter playback has started. MozReview-Commit-ID: 2RAtbohMGJO

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

/* Global defines needed by xpcom clients */

#ifndef _XPCOM_CONFIG_H_
#define _XPCOM_CONFIG_H_

/* Define this to throw() if the compiler complains about 
 * constructors returning NULL
 */
#undef CPP_THROW_NEW

/* Define if a dyanmic_cast to void* gives the most derived object */
#undef HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR

/* Define to a string describing the XPCOM ABI in use */
#undef TARGET_XPCOM_ABI

#endif /* _XPCOM_CONFIG_H_ */