Closed Bug 1337612 Opened 9 years ago Closed 8 years ago

stylo: non-fatal assertion why should we have flushed style again?: 'mPresShell && currentGeneration == mPresShell->GetPresContext()->GetRestyleGeneration()'

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: xidorn, Unassigned)

References

Details

There are several mochitests trigger this assertion with the following stack: ###!!! ASSERTION: why should we have flushed style again?: 'mPresShell && currentGeneration == mPresShell->GetPresContext()->GetRestyleGeneration()', file c:/mozilla-source/stylo/layout/style/nsComputedDOMStyle.cpp, line 898 #01: nsComputedDOMStyle::GetPropertyCSSValue (c:\mozilla-source\stylo\layout\style\nscomputeddomstyle.cpp:976) #02: nsComputedDOMStyle::GetPropertyValue (c:\mozilla-source\stylo\layout\style\nscomputeddomstyle.cpp:402) #03: mozilla::dom::CSSStyleDeclarationBinding::getPropertyValue (c:\mozilla-source\stylo\obj-firefox-stylo\dom\bindings\cssstyledeclarationbinding.cpp:165) #04: mozilla::dom::GenericBindingMethod (c:\mozilla-source\stylo\dom\bindings\bindingutils.cpp:2959) #05: js::CallJSNative (c:\mozilla-source\stylo\js\src\jscntxtinlines.h:239) #06: js::InternalCallOrConstruct (c:\mozilla-source\stylo\js\src\vm\interpreter.cpp:460) #07: js::jit::DoCallFallback (c:\mozilla-source\stylo\js\src\jit\baselineic.cpp:3690) #08: ??? (???:???) #09: ??? (???:???) Looks like it happens when getting property value from computed style. One example is "./mach mochitest --disable-e10s layout/style/test/test_bug437915.html"
Blocks: 1337615
No longer blocks: stylo-style-mochitest
layout/style/test/test_bug1203766.html layout/style/test/test_bug437915.html layout/style/test/test_computed_style.html layout/style/test/test_inherit_computation.html
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.