Commit 15842ce4 authored by Jan-Niklas Jaeschke's avatar Jan-Niklas Jaeschke
Browse files

Bug 1645865 - Increase the distance to stack size limit when setting new...

Bug 1645865 - Increase the distance to stack size limit when setting new document on a window. r=nika,tcampbell a=RyanVM
parent ec77a4dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ MOZ_ALWAYS_INLINE bool AutoCheckRecursionLimit::checkConservative(
MOZ_ALWAYS_INLINE bool AutoCheckRecursionLimit::checkConservativeDontReport(
    JSContext* cx) const {
  uintptr_t limit = getStackLimitHelper(cx, JS::StackForUntrustedScript,
                                        -1024 * int(sizeof(size_t)));
                                        -4096 * int(sizeof(size_t)));
  int stackDummy;
  return checkLimitImpl(limit, &stackDummy);
}