On 4/19/16 10:17 AM, Aryeh Gregor wrote:
Couldn't we add telemetry probes to alert when they hit circumstances
that would cause a problem?

I have no idea until we come up with a possible list of such circumstances...

But the most obvious failure mode is a library that does something like:

  if (!("append" in document)) {
    // define its own append
  }

adding a telemetry probe for this would be fairly hard, since it would need to hook into an operation deep in the JS engine, and one that we have multiple codepaths for, some of which are not trivial to change (interp and jits). :(

-Boris

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to