Don't crash when importing a 404

Now we have a test for this case.

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/682913002
This commit is contained in:
Adam Barth 2014-10-27 17:22:55 -07:00
parent c4836daaaf
commit 065437b16c
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1 @@
PASS

View File

@ -0,0 +1,9 @@
<html>
<link rel="import" href="resources/does-not-exist.html" as="hello" />
<link rel="import" href="../resources/dump-as-text.html" />
<div id="result">FAIL - Script did not execute</div>
<script>
document.getElementById("result").textContent =
hello === undefined ? "PASS" : "FAIL";
</script>
</html>