blob: fb91ec2aae9dc6f6368b7c9e9aba7d3be43ee79d [file] [log] [blame]
<!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.php">
<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>