[Webkit-unassigned] [Bug 188083] The instanceof operator does not work as expected for classes that extend CustomEvent or Event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 22 10:24:58 PDT 2020


Alexey Shvayka <shvaikalesh at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |shvaikalesh at gmail.com
           See Also|                            |https://bugs.webkit.org/sho
                   |                            |w_bug.cgi?id=174313
         Resolution|---                         |CONFIGURATION CHANGED

--- Comment #3 from Alexey Shvayka <shvaikalesh at gmail.com> ---
(In reply to Eugene Kashida from comment #0)
> Expected Results:
> The instanceof operator, when given an instance of FooEvent which extends
> CustomEvent, and the FooEvent constructor, should evaluate to "true".

As of https://trac.webkit.org/changeset/256716, extending CustomEvent (as well as other DOM constructors) works as expected.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200322/c7649331/attachment-0001.htm>

More information about the webkit-unassigned mailing list