- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 08 Dec 2017 19:24:06 +0000 (UTC)
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 8 December 2017 19:24:31 UTC
Wow, interesting find. http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=5623 confirms @travisleithead's findings. http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=5624 shows that in the case @bzbarsky asks about it falls back to `document[Symbol.toStringTag] === Document.prototype[Symbol.toStringTag]` (remember that `document` is a `HTMLDocument` in reality... yeah, we should probably fix that spec/reality mismatch). http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=5625 shows that if you go all the way down it then reverts to `[object HTMLDocument]`, like in the null-proto case. So there's some fallback logic in Chrome that is not captured by this spec patch, and is IMO not good and should be removed. I will file a Chrome bug. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/pull/357#issuecomment-350349700
Received on Friday, 8 December 2017 19:24:31 UTC