Closed
Bug 1356217
Opened 8 years ago
Closed 7 years ago
[Regression] Spotlight Search still shows the last visited site even after Clear Private Data
Categories
(Firefox for iOS :: General, defect, P1)
Tracking
()
People
(Reporter: SimonB, Assigned: justindarc)
References
Details
(Keywords: regression, Whiteboard: [MobileCore][papercut])
Attachments
(1 file)
Build: 58b02370e25
Device: iPad Air 2
iOS: 10.3.1
Steps to reproduce;
1. Go to a website (e.g. soundcloud.com)
2. Close the tab
3. Open Menu -> Settings -> Clear private data
4. Close Firefox
5. Swipe down on iOS screen to open Spotlight Search
6. Type soundcloud
Actual results:
- Soundcloud.com will be displayed in Spotlight Search results
See a video here: https://www.youtube.com/watch?v=12Ng96HWfpU
Note:
- After step 5) if we repeat the steps to reproduce with a different site (e.g. youtube.com), Soundcloud will no longer be displayed in the Spotlight Search results. The newly visited site (e.g youtube.com) will be displayed instead.
Comment 1•8 years ago
|
||
If we're still leaking data, we should consider disabling the feature.
Assignee | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•8 years ago
|
tracking-fxios:
? → ---
Reporter | ||
Comment 3•8 years ago
|
||
Re-opening as this is not a duplicate of Bug 1346573, it is a case which, I think, was not covered by the patch from Bug 1346573.
After following the STR, Clearing Private Data deletes the Spotlight search results, except the last visited site.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Reporter | ||
Updated•8 years ago
|
tracking-fxios:
--- → ?
Comment 4•8 years ago
|
||
I think :jhugman you already had a patch for this. Is this a regression of that patch?
Updated•8 years ago
|
Comment 5•8 years ago
|
||
The Spotlight database is correctly cleared.
This bug is about the NSUserActivity that hangs around, which we should also clear with the NSUserActivity APIs. (Not part of Spotlight AFAIK)
Updated•8 years ago
|
Flags: needinfo?(jhugman)
Updated•7 years ago
|
Whiteboard: [MobileCore] → [MobileCore][papercut]
Updated•7 years ago
|
Priority: P2 → P1
Comment 6•7 years ago
|
||
I think this needs us to close open tabs as part of clear private data.
(once the tab is closed, the NSUserActivity is invalidated).
Assignee | ||
Comment 7•7 years ago
|
||
(In reply to James Hugman [:jhugman] [@jhugman] from comment #6)
> I think this needs us to close open tabs as part of clear private data.
>
> (once the tab is closed, the NSUserActivity is invalidated).
I think we can invalidate NSUserActivity without closing the tabs. If you Clear Private Data on desktop, it still keeps all your tabs open even though they're no longer in history.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jdarcangelo
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 8•7 years ago
|
||
Also, if you watch the video, he closes the tab before clearing history and it still doesn't clear it from Spotlight.
Assignee | ||
Comment 9•7 years ago
|
||
Attachment #8888916 -
Flags: review?(fpatel)
Updated•7 years ago
|
Attachment #8888916 -
Flags: review?(fpatel) → review+
Assignee | ||
Comment 10•7 years ago
|
||
Landed on master:
https://github.com/mozilla-mobile/firefox-ios/commit/e47b13785bd9f04638917fe9a9855722e33986ce
Status: ASSIGNED → RESOLVED
Closed: 8 years ago → 7 years ago
Resolution: --- → FIXED
Whiteboard: [MobileCore][papercut] → [MobileCore][papercut][needsuplift]
Assignee | ||
Updated•7 years ago
|
Iteration: --- → 1.25
Reporter | ||
Comment 11•7 years ago
|
||
Verifying as fix on master c85027eaa0.
status-fxios-v9.0:
--- → verified
Assignee | ||
Updated•7 years ago
|
Iteration: 1.25 → 1.26
Comment 12•7 years ago
|
||
Uplifted to v8.x
Whiteboard: [MobileCore][papercut][needsuplift] → [MobileCore][papercut]
Reporter | ||
Comment 13•7 years ago
|
||
Verifying as fix on 8.1(4811).
Status: RESOLVED → VERIFIED
status-fxios-v8.1:
--- → verified
Comment 14•7 years ago
|
||
I have re-opened this bug and moved it to 8.2 because we are getting Core Spotlight crashes at app startup now as reported in bug 1385217.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Updated•7 years ago
|
Comment 15•7 years ago
|
||
What I forgot to mention is that I rolled back the patch for this bug in 8.1. We have never seen crashes for CoreSpotlight before, and since this patches changes that behaviour in our app, I think there is a correlation. Will ask QA to verify if their reproducible crash will go away without this patch.
Comment 16•7 years ago
|
||
See notes in bug 1385217 how this story is developing.
Comment 17•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Whiteboard: [MobileCore][papercut] → [MobileCore][papercut][needsuplift]
Updated•7 years ago
|
Updated•7 years ago
|
Iteration: 1.26 → 1.27
Updated•7 years ago
|
Comment 18•7 years ago
|
||
Uplifted back into v8.x
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Whiteboard: [MobileCore][papercut][needsuplift] → [MobileCore][papercut]
Reporter | ||
Comment 19•7 years ago
|
||
Verifying as fix on beta 8.2(5120).
Status: RESOLVED → VERIFIED
status-fxios-v8.2:
--- → verified
You need to log in
before you can comment on or make changes to this bug.
Description
•