If I visit one page, say facebook and it gets permission. And then visit another page which embeds Facebook, does it still have all those permissions there? If I visit a page, and it hits 60 different URLs under the hood am I getting 60 accept buttons or blanket accepting all of them?
As I see it, there is a ton of difference in scope there.
It isn't like we can't treat a WASM compiled program delivered through https the same as any other compiled program delivered through an app store. It is just that launching involves visiting a url instead of tapping an icon.
That’s critical to why one is trusted more than the other.
As to the Facebook SDK, yes that’s a problem, but it just proves the point - Apple is in fact continuing to tighten restrictions on what Facebook can do to invade your privacy via their app.
This is only possible because it’s an App and not a website.
Part of this is on iOS, apps are compiled to native code and the restrictions enforced through static analysis before code even reaches the end user.
A good analogy would be Android and how they ban 3rd party advertisements in push notifications. That obviously isn't an API enforcement, indeed that enforcement is only possible with a centralized app store where developer credentials can be revoked.
In comparison, web browsers have become a push notification nightmare, with naive end users being endlessly spammed with garbage on their desktop being delivered through web push notifications.
So, I'll readily concede that a web based open distribution model cannot offer the same API surface area as a distribution model that has a combination of manual reviews and static code analysis being used to enforce customer friendly policies.
That said, a lot of apps still can fit into the web model, including large numbers of games (See: The decades of insanely HQ Flash games that existed until recently, sandboxed(ish) code delivered through a web browser), video playback (in which downloaded apps failed in the 90s, then the field took off thanks to web browsers), music playback (I use Spotify in my browser every day), and many others.
The point is that there is a genuine need for both kinds of platform and for people to be able to tell the difference.
Heck use the same permission dialogues.