| Index: test/domain.js |
| =================================================================== |
| --- a/test/domain.js |
| +++ b/test/domain.js |
| @@ -12,16 +12,18 @@ |
| * GNU General Public License for more details. |
| * |
| * You should have received a copy of the GNU General Public License |
| * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| "use strict"; |
| +// Only starting NodeJS 10 that URL is in the global space. |
| +const {URL} = require("url"); |
| const {createSandbox} = require("./_common"); |
| let isThirdParty = null; |
| exports.setUp = function(callback) |
| { |
| let sandboxedRequire = createSandbox(); |
| ( |