Closed kyoshino closed 8 years ago
Using a bunch of <iframe>s is not e10s-friendly, and the MozScrolledAreaChanged event is Gecko-specific. Rewrite the resize detector using requestAnimationFrame as explained in the resize doc. Blocks https://github.com/bzdeck/bzdeck/issues/368.
<iframe>
MozScrolledAreaChanged
requestAnimationFrame
resize
Performance issue: requestAnimationFrame should not be used by each ScrollBar instance.
ScrollBar
Using a bunch of
<iframe>
s is not e10s-friendly, and theMozScrolledAreaChanged
event is Gecko-specific. Rewrite the resize detector usingrequestAnimationFrame
as explained in theresize
doc. Blocks https://github.com/bzdeck/bzdeck/issues/368.