Doesn't work for me.
I get this:
The devicemotion events are blocked by feature policy.
window.addEventListener("devicemotion",$bind(this,this.handleSensorEvent),false);