On 26/10/2016 08:54, Anne van Kesteren wrote:
On Wed, Oct 26, 2016 at 9:30 AM, Chris Peterson <cpeter...@mozilla.com> wrote:
(Could that counter be
inadvertently triggered by web content that simply enumerates the navigator
object's properties without actually calling navigator.getBattery()?)
That seems unlikely given it's a method so enumerating would not
trigger any side effects.
(I support removal by the way. I tried to advocate for removal at some
point, but it didn't really go anywhere.)
Not that it matters much, but I would support removal so we get rid of
this class of bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=1274731
, which is at least incidental evidence that "random" webpages use this
API, likely for fingerprinting reasons (that is, I can't think of a
"real" reason something like imgur.com would care about your battery).
Perhaps Andrea also has an opinion they would like to share, so CC'ing.
~ Gijs
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform