Assertion failure: aLayer.GetReferentId(), at APZCTreeManager.cpp:835
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: hiro, Assigned: botond)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 1 obsolete file)
I am less sure this is a fission specific issue or not.
Attaching file is a patch including a browser mochitest which causes this assertion.
I am going to post a backtrace for the assertion in the next comment.
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Comment 2•5 years ago
|
||
The patch I posted didn't include browser.ini file. Sorry for that.
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
The test times out for me, but it doesn't reproduce the assertion.
Assignee | ||
Comment 4•5 years ago
•
|
||
Correction: I can reproduce the assertion, if I run the test normally. (Before, I was running it with xvfb-run
, that seems to interfere with this test somehow.)
Assignee | ||
Comment 5•5 years ago
|
||
diagnosis |
I think I see what's happening: in cases where a RefLayer
has multiple frame metrics, only the bottom LayerMetricsWrapper
conceptually represents the ref layer for purposes of building the hit-testing tree. Accordingly, LayerMetricsWrapper
should only return RefLayer
properties if AtBottomLayer()
is true.
This is done correctly in GetReferentId()
, but not in GetEventRegionsOverride()
.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
We only want the bottom LayerMetricsWrapper / WebRenderScrollDataWrapper to
be treated as a ref layer, and only ref layers have event regions overrides.
Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4229066f4943 For RefLayers with multiple metrics, only expose the event regions override for the bottom one. r=tnikkel
Assignee | ||
Comment 8•5 years ago
•
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #0)
I am less sure this is a fission specific issue or not.
This is unlikely to affect non-Fission. While theoretically possible, it would require the browser UI to be scrollable, or something like that.
Reporter | ||
Comment 9•5 years ago
|
||
Thanks for the quick fix! Amazing!
Comment 10•5 years ago
|
||
bugherder |
Description
•