Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/signatures.js

Issue 29354864: Issue 4223 - Migrate some more of adblockplustests (Closed)
Patch Set: Use sandboxed-module Created Sept. 29, 2016, 3:44 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/signatures.js
diff --git a/test/signatures.js b/test/signatures.js
index ddc04476f264f672bb5e54446e38d04f2f414e42..3b871ed825deca8cf05363c92366ffc47b0974b4 100644
--- a/test/signatures.js
+++ b/test/signatures.js
@@ -17,7 +17,10 @@
"use strict";
-let {verifySignature} = require("rsa");
+let {createSandbox} = require("common");
+let sandboxedRequire = createSandbox();
+
+let {verifySignature} = sandboxedRequire("rsa");
exports.test512bitSigningKey = function(test)
{

Powered by Google App Engine
This is Rietveld