Bug 1051698: Reduce use of proxy methods and generated getters in 'widget' code. r=rnewman