XMLHttpRequest Error events seem to have the wrong Prototype
Reported by
machtin....@gmail.com,
Apr 4 2018
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 Steps to reproduce the problem: Do an instanceof test on an event emitted by XMLHttpRequest.onerror What is the expected behavior? I expect "error instanceof ErrorEvent" to be true, as well as error.__proto__ to be "ErrorEvent". What went wrong? "error instanceof ErrorEvent" yields false. error.__proto__ gives me "ProgressEvent" Did this work before? N/A Does this work in other browsers? N/A Chrome version: 64.0.3282.186 Channel: stable OS Version: Flash Version: Shockwave Flash 29.0 r0 Also applies to firefox.
,
Apr 4 2018
,
Apr 4 2018
,
Apr 5 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by woxxom@gmail.com
, Apr 4 2018