-
MikeSmithCan anybody think of any methods or properties that return Boolean objects rather than just a true/false boolean primitive?
-
MikeSmithContext is that in MDN we have many cases of web-platform APIs where we have them documented as returning Boolean objects
-
MikeSmith...and it seems like that is wrong in almost all the cases where we have it documented that way, because the relevant methods and properties actually return true/false boolean primitives
-
MikeSmithtracking bug is mdn/content #3898
-
noamrtobie: no, seems like specref is still not up to date with latest HTML... the documentation says it updates hourly, specref.org says it updated around 24 hours ago. it's unclear to me what to do in this case... thanks :)
-
noamrok, seems to be caught up now. thanks!
-
DomenicMikeSmith: no, Boolean objects are evil and are never to be used (and it's impossible to return them in IDL)
-
zcorpanI recall someone sharing on Twitter (probably) interesting cases with history back/forward that aren't interoperable, like removing iframes and then clicking back. Can't find it now. Does it ring a bell? Domenic?
-
DomenicThat's JakeA... it's a mess. Let me find his latest.
-
DomenicWell, most of the recent issues in github.com/whatwg/html/issues/created_by/jakearchibald are of that flavor
-
Domenicyoutube.com/watch?v=nZb0U3rFQXw is a good watch
-
zcorpanDomenic: thanks
-
zcorpancontext is web-platform-tests/wpt #16359
-
JakeAzcorpan: there's also youtu.be/W6lvQvdeF8U
-
zcorpanJakeA: yeah HTTP 203 was probably what I had seen :)
-
JakeAzcorpan: been trying to figure out what to do with cancelled beforeunload prompts today 😞
-
JakeAIt's tricky
-
zcorpanJakeA: is it interoperable?
-
JakeAzcorpan: oh absolutely not. It isn't even consistent within a single browser 😀 whatwg/html #6446
-
zcorpanJakeA: fun!