Unfortunately this browser doesn't support orientation so will not show your correct heading.
Chrome 40.0.2214.111 on Yosemite. Not really cross-browser when its not working in newest Chrome ...
Edit: tried it on iPhone, its working but orientation is reversed. For example I turn to North, turn left 90 deg and instead of showing West, its showing East.