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

Delta Between Two Patch Sets: test_wrapper.js

Issue 29354773: Issue 4465 - Move rsa module from adblockpluschrome (Closed)
Left Patch Set: Define atob in test_wrapper.js Created Sept. 25, 2016, 12:45 p.m.
Right Patch Set: Add btoa and navigator stub Created Sept. 25, 2016, 1:17 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « test/signatures.js ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 "use strict"; 1 "use strict";
2 2
3 GLOBAL.atob = data => new Buffer(data, "base64").toString("binary"); 3 GLOBAL.atob = data => new Buffer(data, "base64").toString("binary");
Wladimir Palant 2016/09/25 13:02:28 Define btoa as well, for consistency?
kzar 2016/09/25 13:19:03 Done.
4 GLOBAL.btoa = data => new Buffer(data, "binary").toString("base64");
5 GLOBAL.navigator = {};
4 6
5 require("node-babel")(); 7 require("node-babel")();
6 8
7 require("./node_modules/.bin/nodeunit"); 9 require("./node_modules/.bin/nodeunit");
LEFTRIGHT

Powered by Google App Engine
This is Rietveld