Closed Bug 1494002 Opened 6 years ago Closed 6 years ago

Assertion failure: GetPref<StripAtomic<float>>("layout.accessiblecaret.margin-left", -18.5f) == StaticPrefs::layout_accessiblecaret_margin_left() (Incorrect cached value for layout.accessiblecaret.margin-left),

Categories

(Core :: Preferences: Backend, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1493955

People

(Reporter: jya, Unassigned)

References

Details

Using a brand new checkout of central on linux, with a new profile. Starting with ./mach run always stop with the assertion: Assertion failure: GetPref<StripAtomic<float>>("layout.accessiblecaret.margin-left", -18.5f) == StaticPrefs::layout_accessiblecaret_margin_left() (Incorrect cached value for layout.accessiblecaret.margin-left), at /home/jyavenard/Work/Mozilla/obj-ff-dbg/dist/include/mozilla/StaticPrefList.h:554
Value for layout.accessiblecaret.margin-left in StaticPrefsList.h is 34.0f Now the weird thing is that all.js doesn't contain the preference, so how could the cache value be incorrect?
Blocks: 1485063
never mind above comment read wrong line, but still init/all.js doesn't contain a value
Doesn't occur with ./mach run --disable-e10s
That's weird. I'm curious about what value does StaticPrefs::layout_accessiblecaret_margin_left() return.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
:njn this VM is using a en-US locale though
I'll reopen. But it's the same pref as bug 1493955, so I suggest waiting for it to land or trying the patch.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
jya: bug 1493955 has landed. Do you still see this assertion failure?
Flags: needinfo?(jyavenard)
yes all good
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Flags: needinfo?(jyavenard)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.