Bug 1875331 Comment 1 Edit History

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

@barret noticed aboutwelcome recipes are too long to be stored reliably in a pref e.g. [adding JSON object here](https://gist.github.com/punamdahiya/e3e158abda733e9b4f614bed4fc5e56f) as string value of `browser.aboutwelcome.screens` throws error in browser console and fails to get picked.

`Warning: attempting to write 13170 bytes to preference browser.aboutwelcome.screens. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. `

about:welcome heavily relies on getting JSON recipe values in time during first startup before about:welcome opens, my concerns here 
do you think removing isEarlyStartup API in favor of setPref will be able to reliably provide JSON values on first and subsequent startups. Thanks
@barret aboutwelcome recipes are too long to be stored reliably in a pref e.g. [adding JSON object here](https://gist.github.com/punamdahiya/e3e158abda733e9b4f614bed4fc5e56f) as string value of `browser.aboutwelcome.screens` throws error in browser console and fails to get picked.

`Warning: attempting to write 13170 bytes to preference browser.aboutwelcome.screens. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. `

about:welcome heavily relies on getting JSON recipe values in time during first startup before about:welcome opens, my concerns here 
do you think removing isEarlyStartup API in favor of setPref will be able to reliably provide JSON values on first and subsequent startups. Thanks
@barret aboutwelcome recipes are too long to be stored reliably in a pref e.g. [adding JSON object here](https://gist.github.com/punamdahiya/e3e158abda733e9b4f614bed4fc5e56f) as string value of `browser.aboutwelcome.screens` throws error in browser console and fails to get picked on opening `about:welcome`.

`Warning: attempting to write 13170 bytes to preference browser.aboutwelcome.screens. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. `

about:welcome heavily relies on getting JSON recipe values in time during first startup before about:welcome opens, my concerns here 
do you think removing isEarlyStartup API in favor of setPref will be able to reliably provide JSON values on first and subsequent startups. Thanks

Back to Bug 1875331 Comment 1