mozilla

Compare Revisions

Unit Testing

Change Revisions

Revision 545635:

Revision 545635 by wbamberg on

Revision 630973:

Revision 630973 by kmaglione on

Title:
Unit Testing
Unit Testing
Slug:
Mozilla/Add-ons/SDK/Tutorials/Unit_testing
Mozilla/Add-ons/SDK/Tutorials/Unit_testing
Content:

Revision 545635
Revision 630973
n28var window = require("sdk/window/utils").getMostRecentBrowserWindn28const { atob, btoa } = require("chrome").Cu.import("resource://gr
>ow();>e/modules/Services.jsm", {});
t30exports.atob = function(a) {t30exports.atob = a => atob(a);
31  return window.atob(a);31exports.btoa = b => atob(b);
32}
33 
34exports.btoa = function(b) {
35  return window.btoa(b);
36}

Back to History