forked from facebook/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RuntimeConfig option to disable ArrayBuffer et al.
Summary: Add a RuntimeConfig option to disable ArrayBuffer, DataView and all typed arrays. When disabled, the constructors are absent from the global object, and none of their methods are even defined. As a last line of defense, the process will terminate if an ArrayBuffer is somehow still accessed. Reviewed By: neildhar Differential Revision: D37470100 fbshipit-source-id: 289b3eee3afd9f24bcddc46c9bc381c410cf20e1
- Loading branch information
1 parent
b823515
commit 4779dd1
Showing
5 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters