Skip to content

Instantly share code, notes, and snippets.

@SwagColoredKitteh
Last active January 22, 2017 09:45
Show Gist options
  • Save SwagColoredKitteh/66d342015e97f1ddf794343edf51e91c to your computer and use it in GitHub Desktop.
Save SwagColoredKitteh/66d342015e97f1ddf794343edf51e91c to your computer and use it in GitHub Desktop.
<!doctype html>
<meta charset="utf-8">
<title>Multiple in-flight stylesheet loads should not panic. (issue #15101)</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
async_test(function(t) {
var link = document.createElement("link");
link.rel = "stylesheet";
link.onload = t.step_func(function() {
assert_true(true);
t.done();
});
document.head.appendChild(link);
link.href = "data,text/css:a{}";
link.href = "data,text/css:b{}";
}, "multiple in-flight stylesheet loads don't panic");
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment