How do you access the value of the CSS property --chrome-background-color
that is set on #titlebar
of the Firefox chrome in an addon from javascript?
I tried the variants:
document.getElementById( 'titlebar' ).style.backgroundColor // undefined
document.getElementById( 'titlebar' ).style['--chrome-background-color] // undefined