'closeevent' argument for Document::createEvent

fix alphabetical order

delete unused tests
This commit is contained in:
mrmiywj 2016-05-06 19:16:10 +08:00
parent 0558687d71
commit dfaad2dab2
4 changed files with 10 additions and 30 deletions

View file

@ -5,12 +5,6 @@
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<script>
test(function() {
assert_throws("NotSupportedError", function() {
document.createEvent("CloseEvent")
});
}, "createEvent(\"CloseEvent\")");
test(function() {
assert_false("initCloseEvent" in CloseEvent.prototype);
assert_false("initCloseEvent" in new CloseEvent('close'));