mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #8735 - echochamber:OnErrorEventHandlerNonNull-return-any, r=KiChjang
Make OnErrorEventHandlerNonNull return 'any' instead of 'boolean'. PR to fix #8710 > I think the specification must have changed since this was first added to Servo: https://html.spec.whatwg.org/multipage/webappapis.html#onerroreventhandler <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8735) <!-- Reviewable:end -->
This commit is contained in:
commit
b737e4e0fa
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ callback EventHandlerNonNull = any (Event event);
|
|||
typedef EventHandlerNonNull? EventHandler;
|
||||
|
||||
[TreatNonObjectAsNull]
|
||||
callback OnErrorEventHandlerNonNull = boolean ((Event or DOMString) event, optional DOMString source,
|
||||
callback OnErrorEventHandlerNonNull = any ((Event or DOMString) event, optional DOMString source,
|
||||
optional unsigned long lineno, optional unsigned long column,
|
||||
optional any error);
|
||||
typedef OnErrorEventHandlerNonNull? OnErrorEventHandler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue