DescriptionAdd end-to-end browser tests for Device Motion/Orientation null-events.
If no sensors are available for the Device Motion/Orientation API
a JavaScript callback should be executed with all values set to null
to let the page know no data can be provided. This currently happens
e.g. on the Linux platform where no relevant sensors are available.
The added browser tests verify that the correct null-event callback
occurs even when the active DOM objects are temporarily suspended
in the beginning.
NOTE: This should land after the blink patch
https://codereview.chromium.org/212983007/ has landed and rolled.
BUG=356693
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261862
Patch Set 1 #
Total comments: 6
Patch Set 2 : rebased + fixed some comments #
Messages
Total messages: 14 (0 generated)
|