Skip to content

Commit

Permalink
Merge pull request #993 from thebnich/session-ios9
Browse files Browse the repository at this point in the history
Bug 1199836 - Don't use file:/// URL for session path
  • Loading branch information
thebnich committed Aug 31, 2015
2 parents a57381e + 67de91e commit 3c6c372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/Frontend/Browser/TabManager.swift
Expand Up @@ -346,7 +346,7 @@ extension TabManager {

private func tabsStateArchivePath() -> String {
let documentsPath = NSSearchPathForDirectoriesInDomains(.DocumentDirectory, .UserDomainMask, true)[0]
return NSURL(fileURLWithPath: documentsPath).URLByAppendingPathComponent("tabsState.archive").absoluteString
return NSURL(fileURLWithPath: documentsPath).URLByAppendingPathComponent("tabsState.archive").path!
}

private func preserveTabsInternal() {
Expand Down

0 comments on commit 3c6c372

Please sign in to comment.