mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
'closeevent' argument for Document::createEvent
fix alphabetical order delete unused tests
This commit is contained in:
parent
0558687d71
commit
dfaad2dab2
4 changed files with 10 additions and 30 deletions
|
@ -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'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue