- From: Jordan Harband <notifications@github.com>
- Date: Fri, 07 Apr 2017 01:05:22 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 7 April 2017 08:05:56 UTC
Per conversation with @annevk on IRC: I'd like to see a cross-realm way to unforgeably determine if the rejection reason is a cancellation or not - comparing to a string property, or using `Object.prototype.toString.call` output, is not sufficient, and neither is `instanceof`. In other words, for all the same reasons `Array.isArray` exists - which does a brand check that can't be faked or tampered with - it'd be ideal to have something like `CancelException.is()` or similar. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/434#issuecomment-292470236
Received on Friday, 7 April 2017 08:05:56 UTC