toolkit/components/workerloader/tests/moduleD-circular.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/workerloader/tests/moduleD-circular.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +/* Any copyright is dedicated to the Public Domain.
     1.5 + * http://creativecommons.org/publicdomain/zero/1.0/ */
     1.6 +
     1.7 +// Module C and module D have circular dependencies.
     1.8 +// This should not prevent from loading them.
     1.9 +
    1.10 +exports.enteredD = true;
    1.11 +let C = require("chrome://mochitests/content/chrome/toolkit/components/workerloader/tests/moduleC-circular.js");
    1.12 +exports.copiedFromC = JSON.parse(JSON.stringify(C));
    1.13 +exports.exportedFromC = C;
    1.14 +exports.finishedD = true;
    1.15 \ No newline at end of file

mercurial