mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1631713 - Align the maximum memory usage of worklets on workers. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D71966
This commit is contained in:
parent
4f5d44905a
commit
4e60c5edf0
@ -348,6 +348,8 @@ void WorkletThread::EnsureCycleCollectedJSContext(JSRuntime* aParentRuntime) {
|
||||
return;
|
||||
}
|
||||
|
||||
JS_SetGCParameter(context->Context(), JSGC_MAX_BYTES, uint32_t(-1));
|
||||
|
||||
// FIXME: JS_SetDefaultLocale
|
||||
// FIXME: JSSettings
|
||||
// FIXME: JS_SetSecurityCallbacks
|
||||
|
Loading…
Reference in New Issue
Block a user