Close cross-origin frame count leak

https://bugzilla.mozilla.org/show_bug.cgi?id=1611534

We can start by always returning a length of 0 when the context is cross-origin.

I wonder what breakage we'll see from this.