Backed out changeset 4107b758e7ae (bug 1501608) as requested by dev
This commit is contained in:
@@ -303,7 +303,6 @@ void AutoJSAPI::InitInternal(nsIGlobalObject* aGlobalObject, JSObject* aGlobal,
|
||||
mOldWarningReporter.emplace(JS::GetWarningReporter(aCx));
|
||||
|
||||
JS::SetWarningReporter(aCx, WarningOnlyErrorReporter);
|
||||
JS::SetGetElementCallback(aCx, &GetElementCallback);
|
||||
|
||||
#ifdef DEBUG
|
||||
if (haveException) {
|
||||
|
||||
Reference in New Issue
Block a user