mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Instead of crashing, we should use the value "undefined". There's some question as to whether we should default to the document, but we can resolve that later. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/690483002
10 lines
307 B
Plaintext
10 lines
307 B
Plaintext
<html>
|
|
<link rel="import" href="resources/does-not-export.sky" as="hello" />
|
|
<link rel="import" href="../resources/dump-as-text.sky" />
|
|
<div id="result">FAIL - Script did not execute</div>
|
|
<script>
|
|
document.getElementById("result").textContent =
|
|
hello === undefined ? "PASS" : "FAIL";
|
|
</script>
|
|
</html>
|