Revision f826720212822414b003f8a483bff66e52e37e4b authored by askalski on 31 March 2016, 16:47:30 UTC, committed by James Graham on 31 March 2016, 16:47:36 UTC
1 parent 921a375
Raw File
MessageEvent.html
<!doctype html>
<meta charset=utf-8>
<title>MessageEvent</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<script>
var prefixes = ['moz', 'ms', 'o', 'webkit'];
prefixes.forEach(function(prefix) {
  var name = prefix + "InitMessageEvent";

  test(function() {
    assert_false(name in MessageEvent.prototype);
  }, name + " on the prototype");

  test(function() {
    var event = new MessageEvent("message");
    assert_false(name in event);
  }, name + " on the instance");
});
</script>
back to top