зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
c35e657922
Коммит
ce9229caa5
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче