On 9/12/17 5:04 PM, Emilio Cobos Álvarez wrote:
I've noticed that this may be used pretty easily for UA detection.
Right, that and use in Gecko-only codepaths are the main concerns....
I considered adding a usecounter, but as you noted it would be affected
by window enumeration.
We could make the property non-enumerable and _then_ add a usecounter.
It would take a bit of machinery (e.g. support for non-enumerable webidl
attributes), but not that hard.
We could also delay the removal to after 57 to mitigate 57 risk....
-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform