From 86c8071c95a1bd18c886c8ff3b29dbcc3ee8951f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Daoust?= Date: Mon, 3 Dec 2018 17:58:38 +0100 Subject: [PATCH] Temp fix for #134: force v23.7.1 of ReSpec --- src/lib/jsdom-monkeypatch.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/jsdom-monkeypatch.js b/src/lib/jsdom-monkeypatch.js index 3e78a1f1..77341e68 100644 --- a/src/lib/jsdom-monkeypatch.js +++ b/src/lib/jsdom-monkeypatch.js @@ -30,7 +30,9 @@ resourceLoader.download = function (url, options, callback) { // WHATWG annotate_spec script that JSDOM does not seem to like. // Explicitly whitelist the "autolink" script of the shadow DOM spec which // is needed to initialize respecConfig - const respecUrl = 'https://www.w3.org/Tools/respec/respec-w3c-common'; + // TEMP: Force use of previous version of Respec, see https://github.com/tidoust/reffy/issues/134 + //const respecUrl = 'https://www.w3.org/Tools/respec/respec-w3c-common'; + const respecUrl = 'https://raw.githubusercontent.com/w3c/respec/f17445a290e4619fda7e85afbd76f14390974114/builds/respec-w3c-common.js'; function getUrlToFetch() { let referrer = options.referrer; if (!referrer.endsWith('/')) {