Steps to reproduce:
- launch Orion
- enable extensions
- open extensions page
- tap install extension
- try to either install from file, Firefox or Chrome store
- Orion will immediately Crash to SpringBoard
Expected behavior:
install the extension
Orion, OS version; hardware type:
Orion 1.3.1, iOS 16.6, iPhone15,2
Debug Log:
[2023-09-01 12:09:47] AppDelegate: didFinishLaunchingWithOptions
[2023-09-01 12:09:47] BrowserContainerVC: addTab: configuration: Optional(Orion.TabConfiguration(url: Optional(orion://newtab/), webContextView: nil, index: nil, openerTabId: nil, startLoading: false, successorId: nil, tabId: nil, isPinned: false, isDiscarded: false, isSelected: false, isPrivate: false, title: nil, cookieStoreId: nil, sessionState: nil, navigationType: nil, referer: nil, isRestoring: false, childrenTabId: nil, isExpanded: false, lastAccessed: Optional(1693570158.943519), interactionState: Optional(0 bytes), iCloudTabIdentifier: nil, parentICloudTabIdentifier: nil))
[2023-09-01 12:09:47] TabViewModel: commonInit configuration: TabConfiguration(url: nil, webContextView: nil, index: nil, openerTabId: nil, startLoading: false, successorId: nil, tabId: nil, isPinned: false, isDiscarded: false, isSelected: false, isPrivate: false, title: nil, cookieStoreId: nil, sessionState: nil, navigationType: nil, referer: nil, isRestoring: false, childrenTabId: nil, isExpanded: false, lastAccessed: nil, interactionState: nil, iCloudTabIdentifier: nil, parentICloudTabIdentifier: nil), internalPageType: Optional(Orion.NewInternalPageType.newTab), tabCreatedWithStartPage: true, browserTab.url: Optional("orion://newtab/")
[2023-09-01 12:09:47] TabViewModel: WebPageDelegate: urlUpdated: orion://newtab/, webPage: Orion.WebPageModel
[2023-09-01 12:09:47] TabViewModel: processAction action: updateWebsiteAddress
[2023-09-01 12:09:47] TabViewModel: WebPageDelegate: isLoading: true, webPage: Orion.WebPageModel
[2023-09-01 12:09:47] NewTabViewController ID 2: init w/ config Optional(Orion.TabConfiguration(url: Optional(orion://newtab/), webContextView: nil, index: nil, openerTabId: nil, startLoading: false, successorId: nil, tabId: nil, isPinned: false, isDiscarded: false, isSelected: false, isPrivate: false, title: nil, cookieStoreId: nil, sessionState: nil, navigationType: nil, referer: nil, isRestoring: false, childrenTabId: nil, isExpanded: false, lastAccessed: Optional(1693570158.943519), interactionState: Optional(0 bytes), iCloudTabIdentifier: nil, parentICloudTabIdentifier: nil))
[2023-09-01 12:09:47] NewTabRootView ID -1: hideToolbarOnScrollSettingChanged
[2023-09-01 12:09:47] BrowserContainerVC: selectTab: index: 0, tabsCount: 1
[2023-09-01 12:09:47] TabViewModel: openStartURLIfNeeded: webPageModel: Orion.WebPageModel, hasURL: false, configuration: TabConfiguration(url: nil, webContextView: nil, index: nil, openerTabId: nil, startLoading: false, successorId: nil, tabId: nil, isPinned: false, isDiscarded: false, isSelected: false, isPrivate: false, title: nil, cookieStoreId: nil, sessionState: nil, navigationType: nil, referer: nil, isRestoring: false, childrenTabId: nil, isExpanded: false, lastAccessed: nil, interactionState: nil, iCloudTabIdentifier: nil, parentICloudTabIdentifier: nil)
[2023-09-01 12:09:47] NewTabRootView ID 2: hideToolbarOnScrollSettingChanged
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: faviconUpdated(image: Optional(<UIImage:0x280f23b10 named(main: orion.toolbar.startpage) {16, 16} renderingMode=alwaysTemplate>))
[2023-09-01 12:09:47] NewTabViewController ID 2: updateBarsItems
[2023-09-01 12:09:47] TabViewModel: processAction action: updateWebsiteAddress
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: updateWebsiteAddress(text: "")
[2023-09-01 12:09:47] TabViewModel: processAction action: updateLocationBar
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: updateLocationBar(viewModel: Orion.WebPageModel, tabsCount: 1)
[2023-09-01 12:09:47] TabViewModel: processAction action: updateToolsbar
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: updateToolsbar(tabHasURL: false, backNavigation: Orion.NewTabViewModel.BackNavigation.forbidden)
[2023-09-01 12:09:47] BrowserContainerVC: commonInit: regularTabURLs: [""], privateTabURLs: []
[2023-09-01 12:09:47] SceneDelegate: sceneWillEnterForeground
[2023-09-01 12:09:47] TabViewModel: processAction action: configureContentBlocker(enabled: true)
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: pageLoadingProgressChanged(progress: 0.5, animated: true)
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: pageLoadingProgressChanged(progress: 1.0, animated: true)
[2023-09-01 12:09:47] TabViewModel: WebPageDelegate: isLoading: false, webPage: Orion.WebPageModel
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: pageLoadingStatusChanged
[2023-09-01 12:09:47] NewTabViewController ID 2: updateBarsItems
[2023-09-01 12:09:47] TabViewModel: processAction action: updateWebsiteAddress
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: updateWebsiteAddress(text: "")
[2023-09-01 12:09:47] TabViewModel: processAction action: updateLocationBar
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: updateLocationBar(viewModel: Orion.WebPageModel, tabsCount: 1)
[2023-09-01 12:09:47] TabViewModel: processAction action: updateToolsbar
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: updateToolsbar(tabHasURL: false, backNavigation: Orion.NewTabViewModel.BackNavigation.forbidden)
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: faviconUpdated(image: nil)
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: removeReaderModeHighlightFromURLBar
[2023-09-01 12:09:47] BrowserContainerVC: storeSessionURLs
[2023-09-01 12:09:47] NewTabViewController ID 2: processViewModel w/ state: pageLoadingProgressChanged(progress: 0.0, animated: false)
[2023-09-01 12:09:48] BrowserContainerVC: openOptionsPopover, hasURL: false
[2023-09-01 12:09:48] NewTabViewController ID 2: updatePopoverSourceView
[2023-09-01 12:09:48] TabViewModel: processAction action: takeScreenshot(tabRootView: Optional(<Orion.NewTabRootView: 0x104004cb0; frame = (0 0; 393 671); backgroundColor = <UIDynamicModifiedColor: 0x2833435d0; contrast = normal, baseColor = <UIDynamicSystemColor: 0x28281bac0; name = systemGray6Color>>; layer = <CALayer: 0x283d454a0>>))