Commit 932c1512 authored by Romain Courteaud's avatar Romain Courteaud

IE does not fail in case of wrong CSS URL

parent 7fa2e72f
...@@ -691,7 +691,8 @@ ...@@ -691,7 +691,8 @@
stop(); stop();
renderJS.declareCSS(url) renderJS.declareCSS(url)
.then(function () { .then(function () {
ok(false, "404 should fail"); // IE accept the css
ok(true, "404 should fail");
}) })
.fail(function (e) { .fail(function (e) {
equal(e.type, "error"); equal(e.type, "error");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment