Expand `MockRegistry` to support more: registry types, subkeys/children, etc
Categories
(Toolkit :: Default Browser Agent, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: nalexander, Assigned: nipunshukla002)
References
(Depends on 1 open bug)
Details
(Whiteboard: [fidedi-wdba])
Attachments
(1 file, 1 obsolete file)
This ticket tracks making MockRegistry
support more of the Windows registry API, including registry types and subkeys/children. And, while we're in the neighbourhood, testing it against the same battery as https://searchfox.org/mozilla-central/source/xpcom/tests/unit/test_windows_registry.js.
Reporter | ||
Comment 1•1 year ago
|
||
There's no dependency relationship, but it's good to be aware of Bug 1852781 when working in the area -- especially when testing.
Updated•1 year ago
|
Reporter | ||
Comment 2•1 year ago
|
||
This implements registry types by storing a pair of [value, type]
.
This implements subkeys/children by nesting "keys" with children
and
values
maps.
The biggest limitation added is to have the store be a static on
the MockRegistry
class rather than on each instance. This allows to
refer to MockWindowsRegKey
more easily, rather than having that
class be scoped to the specific MockRegistry
instance.
Finally, this tests the MockRegistry
interface in the same way we
test the native Windows registry interface.
Updated•1 year ago
|
Assignee | ||
Comment 3•11 months ago
|
||
Updated•11 months ago
|
Updated•11 months ago
|
Updated•11 months ago
|
Updated•11 months ago
|
Updated•11 months ago
|
Comment 5•10 months ago
|
||
bugherder |
Updated•10 months ago
|
Description
•