Closed
Bug 1198407
Opened 9 years ago
Closed 9 years ago
Ignore app snapshot when background the app while displaying a private tab
Categories
(Firefox for iOS :: Browser, defect)
Tracking
()
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
fxios-v1.1 | --- | verified |
fxios-v1.0.5 | --- | unaffected |
People
(Reporter: sleroux, Assigned: sleroux)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
48 bytes,
text/x-github-pull-request
|
bnicholson
:
review+
dhenein
:
ui-review+
|
Details | Review |
We should obscure or hide the browser view while surfing in private mode when backgrounding the app so when the user is using the home app switcher, they don't see the private tab.
Assignee | ||
Comment 1•9 years ago
|
||
Looks like the ignoreSnapshotOnNextLaunch method isn't for the app switcher but is for not showing a snapshot on the next app launch. Instead, I listen for app lifecycle notifications to determine if we should hide/show the url/web content depending on if we're in a private tab. Also, anyone have any ideas on how we can write an automated test for this? Darrin: Since we're just hiding the content and url, the backgrounded view of the app with a private tab open replaces the content with a large gray box. Any ideas on what we want to display instead?
Attachment #8659399 -
Flags: ui-review?(dhenein)
Attachment #8659399 -
Flags: review?(bnicholson)
Updated•9 years ago
|
Assignee: nobody → sleroux
Status: NEW → ASSIGNED
status-fxios-v1.0.5:
--- → unaffected
status-fxios-v1.1:
--- → affected
Comment 2•9 years ago
|
||
Comment on attachment 8659399 [details] [review] https://github.com/mozilla/firefox-ios/pull/1059 I think we could avoid subtle bugs if we hide the container instead of individual web views. LGTM otherwise. (In reply to Stephan Leroux [:sleroux] from comment #1) > Also, anyone have any ideas on how we can write an automated test for this? Let me know if you find a good answer. I haven't really found any good way to test anything outside of the app sandbox (like pressing the home button).
Attachment #8659399 -
Flags: review?(bnicholson) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Merged
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Attachment #8659399 -
Flags: ui-review?(dhenein) → ui-review+
Comment 4•9 years ago
|
||
Going to the app switcher while in pbmode shows: - the content of the page replaced by a grey box - no url in the url bar Verifying as fixed on Beta 1.1 (1103).
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•