<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

<div class="div">
  <input class="input1"></input><input class="input2"></input>
</div>

<input class="input3"></input>

<script>

  async_test(function(t) {
    assert_equals(String(FocusEvent).indexOf("function FocusEvent("), 0);

    var ev = new FocusEvent("focus");

    assert_true(ev instanceof Event, "Should be Event");
    assert_true(ev instanceof UIEvent, "Should be UIEvent");
    assert_true