summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/es6module_dynamic_import.js
blob: 17a2f41802e443b1f024349c37746f50d3403138 (plain)
1
2
3
4
5
6
7
let resolve;

export const result = new Promise(r => { resolve = r; });

import("./es6module_dynamic_import2.js").then(ns => {}, e => {
  resolve(e);
});