On Thu Dec 7 12:08:07 2023 +0000, Jacek Caban wrote:
Out of curiosity, which of those interfaces did you see actually required by something? Note that even after code freeze, exposing everything like that will be questionable. The above worry is not only theoretical, I recall some JS libraries (IIRC jquery, but I'm not sure) doing things like:
var o = {}; for (p in event) o[p] = event[p]; return o
I believe it was mostly to get proper tests for stuff like storage event url or message event source later for all modes, I didn't realize it could have such an impact.
But now thinking on this, I mean, those interfaces are pretty large, it doesn't make sense to implement them all at once, and debugging apps that do end up using them and fail with error would be a lot easier than "this app doesn't do what it should do and fails for random reason" (if it bails out on it). But we'll see.
I guess I should probably just start with the respective interfaces needed by the tests though.