Closed
Bug 1192826
Opened 9 years ago
Closed 9 years ago
Sync StorageClient User-Agent setting needs to occur on the UI thread
Categories
(Firefox for iOS :: Sync, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fxios | + | --- |
People
(Reporter: sleroux, Assigned: rnewman)
References
Details
(Keywords: regression)
Attachments
(2 files)
STR: 1. Visit mozilla.org in Safari 2. Make sure Send To is enabled as share option 3. Tap Send To Expected: Send to modal should appear with synced devices Actual: Modal crashes and does not appear ---- Looks like we're crashing because UIWebView is being created in a background thread.
Updated•9 years ago
|
Assignee | ||
Comment 1•9 years ago
|
||
Regression from Bug 1164140.
Assignee | ||
Updated•9 years ago
|
Severity: normal → critical
Component: General → Sync
Hardware: Other → All
Assignee | ||
Comment 2•9 years ago
|
||
Disabled in commit 72b1a19. Let's leave this open for a proper fix.
Assignee | ||
Comment 3•9 years ago
|
||
Presumably this only crashes if we've never computed the U-A string…
Summary: Crash: Send To crashes when used → Sync StorageClient User-Agent setting needs to occur on the UI thread
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•9 years ago
|
||
I think this might need to be morphed slightly. * We should use an ephemeral session in the manager, not the default one -- we don't need to record anything to disk. * FxA and Token Server should set UAs, too, and also use ephemeral managers. * The UA actually -should not- be the same as the one the browser uses. It should be something like "Firefox-iOS-Sync/28 (Nightly)" to match Android.
Assignee | ||
Comment 5•9 years ago
|
||
This establishes a manager for each client, setting the UAs to fixed strings. All managers are using an ephemeral configuration, which means nothing is persisted to disk. General consensus is that manager cleanup happens automatically on dealloc, which is why you don't see us doing that anywhere. There's also some version number and general UA cleanup.
Attachment #8645915 -
Flags: review?(sleroux)
Reporter | ||
Comment 6•9 years ago
|
||
Comment on attachment 8645915 [details] [review] Pull req. Looks good with some of the comments addressed!
Attachment #8645915 -
Flags: review?(sleroux) → review+
Reporter | ||
Comment 7•9 years ago
|
||
Merged
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•