Auto merge of #10816 - SunyDays:errorevent_argument, r=frewsxcv

Implement the errorevent argument to Document::createEvent

new_uninitialized function on ErrorEvent has already been in components/script/dom/errorevent.rs

close #10738

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10816)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-27 10:52:41 -07:00
commit 311dd0f930
3 changed files with 3 additions and 29 deletions

View file

@ -133,30 +133,6 @@
[createEvent('DRAGEVENT') should be initialized correctly.]
expected: FAIL
[ErrorEvent should be an alias for ErrorEvent.]
bug: https://github.com/servo/servo/issues/10738
expected: FAIL
[createEvent('ErrorEvent') should be initialized correctly.]
bug: https://github.com/servo/servo/issues/10738
expected: FAIL
[errorevent should be an alias for ErrorEvent.]
bug: https://github.com/servo/servo/issues/10738
expected: FAIL
[createEvent('errorevent') should be initialized correctly.]
bug: https://github.com/servo/servo/issues/10738
expected: FAIL
[ERROREVENT should be an alias for ErrorEvent.]
bug: https://github.com/servo/servo/issues/10738
expected: FAIL
[createEvent('ERROREVENT') should be initialized correctly.]
bug: https://github.com/servo/servo/issues/10738
expected: FAIL
[HashChangeEvent should be an alias for HashChangeEvent.]
expected: FAIL

View file

@ -1,5 +0,0 @@
[Worker_dispatchEvent_ErrorEvent.htm]
type: testharness
[document.createEvent('ErrorEvent')]
expected: FAIL