mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
Bug 1645865 - Increase the distance to stack size limit when setting new document on a window. r=nika,tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D158924
This commit is contained in:
parent
814e4db8e8
commit
1ba73ccf6e
@ -306,7 +306,7 @@ MOZ_ALWAYS_INLINE bool AutoCheckRecursionLimit::checkConservative(
|
||||
MOZ_ALWAYS_INLINE bool AutoCheckRecursionLimit::checkConservativeDontReport(
|
||||
JSContext* cx) const {
|
||||
JS::NativeStackLimit limit = getStackLimitHelper(
|
||||
cx, JS::StackForUntrustedScript, -1024 * int(sizeof(size_t)));
|
||||
cx, JS::StackForUntrustedScript, -4096 * int(sizeof(size_t)));
|
||||
int stackDummy;
|
||||
return checkLimitImpl(limit, &stackDummy);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user