<!DOCTYPE HTML>
<script src="/js-test-resources/js-test.js"></script>
<script src="resources/close-code-and-reason-common.js"></script>
<script>
description("Test CloseEvent code and reason property.");
window.jsTestIsAsync = true;
testCloseCodeAndReason();
</script>