XPCNativeWrapper.unwrap(window).countera++ XPCNativeWrapper.unwrap(window).counterb++ Mozilla Bug 400705