Bug 1777479 - Put the profiler's symbolication jsm in the eval check allow list r=tjr

Indeed the profiler's symbolication jsm uses a dynamically loaded wasm
file to unpack symbols from binary object files.

Differential Revision: https://phabricator.services.mozilla.com/D150964
This commit is contained in:
Julien Wajsberg 2022-07-04 15:30:32 +00:00
Родитель c35e657922
Коммит ce9229caa5
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -611,6 +611,11 @@ bool nsContentSecurityUtils::IsEvalAllowed(JSContext* cx,
// Bug 1584564 tracks requiring safe usage of require.js // Bug 1584564 tracks requiring safe usage of require.js
"resource://gre/modules/workers/require.js"_ns, "resource://gre/modules/workers/require.js"_ns,
// The profiler's symbolication code uses a wasm module to extract symbols
// from the binary files result of local builds.
// See bug 1777479
"resource://devtools/client/performance-new/symbolication.jsm.js"_ns,
// The Browser Toolbox/Console // The Browser Toolbox/Console
"debugger"_ns, "debugger"_ns,
}; };