On 8/26/15 08:36, Ehsan Akhgari wrote:
Have you considered the implications of making the alias falsey in conditions, similar to document.all?

The issue with doing so is that we see code in the wild that looks like this:

|var NativeRTCPeerConnection = (window.webkitRTCPeerConnection || 
||window.mozRTCPeerConnection);|

And a falsey value would simply make things not work.

For all the cases I can think of (at least, in short order), making the alias falsey breaks as many things as simply removing it.

--
Adam Roach
Principal Platform Engineer
a...@mozilla.com
+1 650 903 0800 x863
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to