<!DOCTYPE html>
<html>
<head>
<script src="resources/link-load-utilities.js"></script>
<link rel="stylesheet" href="resources/non-existent-stylesheet.css" onload="testFailedAndNotifyDone('Fired Load event. Should have fired Error event.')" onerror="testPassedAndNotifyDone('Fired Error event.')">
</head>
<body>
<p>This tests that an Error event is fired at an HTML Link element when it fails to load a non-existent style sheet. This test PASSED if see you see the word PASS below. Otherwise, it FAILED.</p>
<pre id="console"></pre>
</body>
</html>
