Removed the custom getter and updated the idl so that the attribute is Reflected and Enumerated. (cherry picked from commit 68924827551fc3169c1b9b59c0d7e8bc999a390c)