diff options
author | Bradley Farias <bradley.meck@gmail.com> | 2019-07-18 09:01:59 -0500 |
---|---|---|
committer | Bradley Farias <bradley.meck@gmail.com> | 2019-07-26 15:13:53 -0500 |
commit | 7e8ad9bad85f1ef6e400c7643e11d52405490b7b (patch) | |
tree | 99307350292a99770d40bee937408033dfc3e300 /test/parallel/test-policy-integrity-flag.js | |
parent | 499533f72a2dce111d6fde9c21b90b51fff35ab6 (diff) | |
download | android-node-v8-7e8ad9bad85f1ef6e400c7643e11d52405490b7b.tar.gz android-node-v8-7e8ad9bad85f1ef6e400c7643e11d52405490b7b.tar.bz2 android-node-v8-7e8ad9bad85f1ef6e400c7643e11d52405490b7b.zip |
policy: add dependencies map for resources
Adds a "dependencies" field to resources in policy manifest files.
In order to ease development and testing while using manifests,
wildcard values for both "dependencies" and "integrity" have been
added using the boolean value "true" in the policy manifest.
PR-URL: https://github.com/nodejs/node/pull/28767
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/parallel/test-policy-integrity-flag.js')
-rw-r--r-- | test/parallel/test-policy-integrity-flag.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/parallel/test-policy-integrity-flag.js b/test/parallel/test-policy-integrity-flag.js index 3b332758d1..d97ef86cbe 100644 --- a/test/parallel/test-policy-integrity-flag.js +++ b/test/parallel/test-policy-integrity-flag.js @@ -28,10 +28,6 @@ const windowsPolicySRI = 'sha512-OeyCPRo4OZMosHyquZXDHpuU1F4KzG9UHFnn12FMaHsvqFU /* eslint-enable max-len */ const depPolicySRI = `${nixPolicySRI} ${windowsPolicySRI}`; -console.dir({ - depPolicySRI, - body: JSON.stringify(fs.readFileSync(depPolicy).toString('utf8')) -}); { const { status, stderr } = spawnSync( process.execPath, |