Closed
Bug 1529035
Opened 6 years ago
Closed 6 years ago
Discovery Stream layout delay causing cache to be used
Categories
(Firefox :: New Tab Page, defect, P1)
Firefox
New Tab Page
Tracking
()
People
(Reporter: thecount, Assigned: thecount)
References
Details
(Keywords: github-merged)
Attachments
(1 file)
If the layout returns with a delay and the client has a layout cache, the client uses the cache, then when the delayed layout returns, it updates any open tabs.
We should probably not use the cache if the pref has changed and we're waiting for a response to succeed/fail. If it fails, we can then use cache.
Updated•6 years ago
|
Iteration: --- → 67.3 - Feb 25 - Mar 10
status-firefox66:
--- → wontfix
status-firefox67:
--- → affected
Priority: -- → P2
Updated•6 years ago
|
Priority: P2 → P1
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
•
|
||
To test:
- Setup two tabs from the same profile side by side.
- Tab 1 can be about:config
- Tab 2 can be about:home
- From tab 1, set the pref
browser.newtabpage.activity-stream.discoverystream.config
to{"api_key_pref":"extensions.pocket.oAuthConsumerKey","enabled":true,"show_spocs":true,"layout_endpoint":"https://getpocket.com/v3/newtab/layout?version=1&consumer_key=$apiKey&layout_variant=basic"}
- Tab 2 should render basic.
- Update pref from step 4 to
{"api_key_pref":"extensions.pocket.oAuthConsumerKey","enabled":true,"show_spocs":true,"layout_endpoint":"https://gist.githubusercontent.com/ScottDowne/fedc94f5ea33b320083fc302987a3be2/raw/06492b8d7caab27c3cd6c0c3e10b93f38240ff11/gistfile1.txt"}
expected, it should load cleanly, with no jank. If you see jank it'll be seeing top sites first before the rest is ready something's not working.
Flags: needinfo?(sdowne)
Updated•6 years ago
|
Iteration: 67.3 - Feb 25 - Mar 10 → 68.1 - Mar 18 - 31
Updated•6 years ago
|
Assignee: nobody → sdowne
Updated•6 years ago
|
Blocks: pocket-newtab-68
Updated•6 years ago
|
Iteration: 68.1 - Mar 18 - 31 → 68.2 - Apr 1 - 14
Assignee | ||
Comment 4•6 years ago
|
||
For some reason this wasn't linked, closing as fixed.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Comment 6•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•