Steps to reproduce problem:
1. View an accelerator-enabled bf-cacheable page
2. View a different page
3. Go back to the first page
I've hit this while fuzzing.
###!!! ASSERTION: mSensor should be null. Startup called twice?: '!mSensor', file dom/system/windows/nsDeviceMotionSystem.cpp, line 140
Created attachment 546196 [details] [diff] [review]
untested (don't have a windows box) but this should work.
Backed out for failures in content/events/test/test_bug641477.html and dom/tests/mochitest/orientation/test_bug507902.html on windows.
(In reply to comment #2)
> Created attachment 546196 [details] [diff] [review] [review]
> patch v.1
> untested (don't have a windows box) but this should work.
(In reply to comment #4)
> Backed out for failures in content/events/test/test_bug641477.html and
> dom/tests/mochitest/orientation/test_bug507902.html on windows.
maybe test it on try next time :)