mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Auto merge of #19288 - m-novikov:impl-eventtarget-constructor, r=KiChjang
Implement EventTarget constructor Resolves #19283 Do "Wrap" functions only created for elements that aren't marked Abstract in .webidl file? How can I see code that was generated from webidls? <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #19283 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because they are covered by webplatform tests <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19288) <!-- Reviewable:end -->
This commit is contained in:
commit
db5fb74a4d
4 changed files with 14 additions and 38 deletions
|
@ -1,17 +1,11 @@
|
|||
[EventTarget-constructible.any.worker.html]
|
||||
type: testharness
|
||||
[A constructed EventTarget can be used as expected]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget can be subclassed]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[EventTarget-constructible.any.html]
|
||||
type: testharness
|
||||
[A constructed EventTarget can be used as expected]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget can be subclassed]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -354,15 +354,9 @@
|
|||
[EventTarget interface: document.querySelector("[id\]").attributes[0\] must inherit property "addEventListener" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: calling addEventListener(DOMString,EventListener,[object Object\],[object Object\]) on document.querySelector("[id\]").attributes[0\] with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: document.querySelector("[id\]").attributes[0\] must inherit property "removeEventListener" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: calling removeEventListener(DOMString,EventListener,[object Object\],[object Object\]) on document.querySelector("[id\]").attributes[0\] with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: document.querySelector("[id\]").attributes[0\] must inherit property "dispatchEvent" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -486,30 +480,6 @@
|
|||
[CustomEvent interface: operation initCustomEvent(DOMString, boolean, boolean, any)]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget must be primary interface of new EventTarget()]
|
||||
expected: FAIL
|
||||
|
||||
[Stringification of new EventTarget()]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: new EventTarget() must inherit property "addEventListener(DOMString, EventListener, [object Object\],[object Object\])" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: calling addEventListener(DOMString, EventListener, [object Object\],[object Object\]) on new EventTarget() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: new EventTarget() must inherit property "removeEventListener(DOMString, EventListener, [object Object\],[object Object\])" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: calling removeEventListener(DOMString, EventListener, [object Object\],[object Object\]) on new EventTarget() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: new EventTarget() must inherit property "dispatchEvent(Event)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[EventTarget interface: calling dispatchEvent(Event) on new EventTarget() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[AbortController interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue