зеркало из https://github.com/mozilla/gecko-dev.git
Bug 803276 - Disable ArrayBufferView.prototype.move on release channels. r=dmandelin
This commit is contained in:
Родитель
f8d114c42f
Коммит
55e2feecee
|
@ -222,6 +222,12 @@ MFBT_ROOT = $(srcdir)/../../mfbt
|
|||
VPATH += $(MFBT_ROOT)
|
||||
include $(MFBT_ROOT)/exported_headers.mk
|
||||
|
||||
###############################################
|
||||
# BEGIN enable non-releasable features
|
||||
#
|
||||
ifeq (,$(filter beta release esr,$(MOZ_UPDATE_CHANNEL)))
|
||||
DEFINES += -DENABLE_TYPEDARRAY_MOVE
|
||||
endif
|
||||
|
||||
ifdef ENABLE_TRACE_LOGGING
|
||||
|
||||
|
|
|
@ -3131,6 +3131,23 @@ if test -n "$SKIP_COMPILER_CHECKS"; then
|
|||
AC_DEFINE(HAVE_LOCALECONV)
|
||||
fi # SKIP_COMPILER_CHECKS
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Mozilla update channel, used for disabling features
|
||||
dnl = not wanted for release.
|
||||
dnl ========================================================
|
||||
|
||||
# app update channel is 'default' when not supplied.
|
||||
MOZ_ARG_ENABLE_STRING([update-channel],
|
||||
[ --enable-update-channel=CHANNEL
|
||||
Select application update channel (default=default)],
|
||||
MOZ_UPDATE_CHANNEL=`echo $enableval | tr A-Z a-z`)
|
||||
|
||||
if test -z "$MOZ_UPDATE_CHANNEL"; then
|
||||
MOZ_UPDATE_CHANNEL=default
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(MOZ_UPDATE_CHANNEL, $MOZ_UPDATE_CHANNEL)
|
||||
AC_SUBST(MOZ_UPDATE_CHANNEL)
|
||||
|
||||
dnl ========================================================
|
||||
dnl =
|
||||
dnl = Check for external package dependencies
|
||||
|
|
|
@ -38,8 +38,6 @@
|
|||
|
||||
#include "vm/GlobalObject-inl.h"
|
||||
|
||||
#define ENABLE_TYPEDARRAY_MOVE
|
||||
|
||||
using namespace js;
|
||||
using namespace js::gc;
|
||||
using namespace js::types;
|
||||
|
|
Загрузка…
Ссылка в новой задаче