| Index: third_party/WebKit/LayoutTests/ambient-light/rounded-lux-value.html
|
| diff --git a/third_party/WebKit/LayoutTests/ambient-light/rounded-lux-value.html b/third_party/WebKit/LayoutTests/ambient-light/rounded-lux-value.html
|
| deleted file mode 100644
|
| index 39b221753330e992f4a4cfae2f16eaed6be493ff..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/ambient-light/rounded-lux-value.html
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<body>
|
| -<script src="../resources/js-test.js"></script>
|
| -<script>
|
| -description('Tests that the lux value is rounded to avoid fingerprinting risk.');
|
| -
|
| -var mockLightFullPrecision = 10.123456789;
|
| -var mockLightRounded = 10;
|
| -
|
| -if (window.testRunner)
|
| - testRunner.setMockDeviceLight(mockLightFullPrecision);
|
| -else
|
| - debug('This test can not be run without the TestRunner');
|
| -
|
| -var deviceLightEvent;
|
| -function checkLight(event) {
|
| - deviceLightEvent = event;
|
| - shouldBe('deviceLightEvent.value', 'mockLightRounded');
|
| -}
|
| -
|
| -function listener(event) {
|
| - checkLight(event);
|
| - finishJSTest();
|
| -}
|
| -
|
| -window.addEventListener('devicelight', listener);
|
| -window.jsTestIsAsync = true;
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|