Merge pull request #18115 from Snuffleupagus/freeze-evaluatorOptions
Freeze `evaluatorOptions` in the src/core/pdf_manager.js file
This commit is contained in:
commit
59637c1fa8
@ -49,7 +49,7 @@ class BasePdfManager {
|
||||
// the worker-thread code.
|
||||
args.evaluatorOptions.isOffscreenCanvasSupported &&=
|
||||
FeatureTest.isOffscreenCanvasSupported;
|
||||
this.evaluatorOptions = args.evaluatorOptions;
|
||||
this.evaluatorOptions = Object.freeze(args.evaluatorOptions);
|
||||
}
|
||||
|
||||
get docId() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user