On 3/15/17 1:30 AM, Tobias Schneider wrote:
As of March 14 I intend to turn the IntersectionObserver API on by default
on all platforms.
This is really exciting stuff!
Some questions (largely based on the intent to ship/implement templates,
fwiw):
1) Is there devtools support for this (e.g. to be able to see what
intersection observers are registered where)? If not, are there at
least bugs tracking it?
2) How stable is the spec? Do we have any signals from IE or Safari on
where they stand wrt it? Are there plans to add web platform tests for
this stuff, instead of our mochitest? It would be good to have some
idea of how actual interop with Chrome looks, and with a wpt we could
check that pretty easily.
3) Has there been a security review? The reason I ask is that the
definition at
https://wicg.github.io/IntersectionObserver/#intersectionobserver-intersection-root
means the intersection root can be in a different-origin document, and
then there are operations that use it, so it would be good to carefully
check for cross-origin information leaks. Do we have good tests for the
various cross-origin scenarios? I do see some cross-origin testing in
dom/base/test/test_intersectionobservers.html, which is good.
-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform