STR:
- Open Chromium with debug enabled
- Open a YouTube video
- Reload the page
Expected result: all is working fine
Actual result: renderer crash
Reason seems to be that YT creates two <video> which creates two device orientation listeners. The first one creates the sensor provider mojo binding and calls `GetSensor`. The second one sees that there is no sensor but binding so calls `GetSensor` again. It leads to a crash as `OnSensorCreated` isn't expected to be called twice.
Comment 1 by mlamouri@chromium.org
, Jan 2 2018