-
Notifications
You must be signed in to change notification settings - Fork 0
Page Loading
Nick Spagnola edited this page Apr 1, 2019
·
6 revisions
Docs on how a PageLoad is created (or not) when a webpage needs to be loaded.
First load in the session. Listening to the UrlChanged event doesnt work here since at time of change, the UrlBar isn't instantiated
- Previously loaded page is restored
- Right-click link to open in new tab
Both of these listen to UrlChanged event from Webview
- Clicking links/redirects in WebView
- Type URL in to URLBar => Action sent from UI
- Back/forward/reload
Two current errors:
- PageLoads are storing NSUrl.Host and NSUrl.Path (not the full url, basically)
- In the background-loaded ones, the Session is set on the URLBar in ViewDidLoad and the URLBar uses the ^ above malformed URL