Bug 1560448 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

To test:

1. Set `browser.newtabpage.activity-stream.discoverystream.endpoints` to `https,http`
2. Set `browser.newtabpage.activity-stream.discoverystream.config` to `{"api_key_pref":"extensions.pocket.oAuthConsumerKey","collapsible":true,"enabled":true,"show_spocs":true,"hardcoded_layout":false,"personalized":false,"layout_endpoint":"https://gist.githubusercontent.com/ScottDowne/a20a85e401502d80de485ecfb4f87953/raw/ad088934ab727e5c86e24ced0feaf4ae2b1891d7/layout-hero-spocs"}`
3. Open a new tab
4. Ensure you see a spoc in position 1. (The big card, should say "sponsored by..." under the biggest image)
5. Refresh the page roughly 7 times, the spoc should change.

Previously, frequency capping wasn't working in the big card, only worked in smaller cards, because the campaign id it used as an id to record the caps was busted.
To test:

1. Set `browser.newtabpage.activity-stream.discoverystream.endpoints` to `https,http`
2. Set `browser.newtabpage.activity-stream.discoverystream.config` to `{"api_key_pref":"extensions.pocket.oAuthConsumerKey","collapsible":true,"enabled":true,"show_spocs":true,"hardcoded_layout":false,"personalized":false,"layout_endpoint":"https://gist.githubusercontent.com/ScottDowne/a20a85e401502d80de485ecfb4f87953/raw/ad088934ab727e5c86e24ced0feaf4ae2b1891d7/layout-hero-spocs"}`
3. Open a new tab
4. Ensure you see a spoc in position 1. (The big card, should say "sponsored by..." under the biggest image)
5. Refresh the page roughly 7 times, the spoc should change.
6. If you keep refreshing it again, it'll change again, and eventually you'll see no spocs.

Previously, frequency capping wasn't working in the big card, only worked in smaller cards, because the campaign id it used as an id to record the caps was busted.

Back to Bug 1560448 Comment 3