Create startup pref to enable all cache domains
Categories
(Core :: Disability Access APIs, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox133 | --- | fixed |
People
(Reporter: nlapre, Assigned: nlapre)
References
Details
Attachments
(1 external file)
We need a way to turn on all cache domains at startup for tests. Bug 1910804 shows us how fuzzing tests can be erroneously "solved" by avoiding setting all cache domains. We should add a pref, set only at startup, that allows our tests to specify that all cache domains should be set. I think a bool pref would do, especially since cache domain bitmaps are uint64_t, and prefs only support a max size of uint32_t.
| Assignee | ||
Comment 1•2 years ago
|
||
This revision adds a pref, read only on startup, that enables all cache domains.
By default, cache domains are only enabled as-needed. This pref is uesful for
test environments, such as fuzzing.
Comment 3•2 years ago
|
||
Thanks for the cc, should this pref always be true when fuzzing a11y or should we sometimes set it to false?
| Assignee | ||
Comment 4•2 years ago
|
||
Yup, should always be true when fuzzing. Having it set to false means that we'd exercise a strict subset of true code paths, so I think we always want it true. Thank you!
Comment 6•2 years ago
|
||
| bugherder | ||
Description
•