Backed out changeset 4107b758e7ae (bug 1501608) as requested by dev

This commit is contained in:
Dorel Luca
2020-05-02 15:03:19 +03:00
parent c51a93d42b
commit c5e566a917
21 changed files with 156 additions and 241 deletions

View File

@@ -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) {