<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="../resources/inspector-test.js"></script>

<!-- This stylesheet is served with an invalid MIME type -->
<link rel="stylesheet" href="/misc/resources/stylesheet-bad-mime-type.py">

<script>
function test()
{
    InspectorTest.completeTest();
}
</script>
</head>
<body onload="runTest()">
<p>Tests that showing Web Inspector on a page that has a stylesheet with an invalid MIME type does not crash.</p>
<p>This test passes if it does not crash.</p>
</body>
</html>
