Issue metadata
Sign in to add a comment
|
[Generic Sensor] AmbientLightSensor interface inherit property "illuminance" with the incorrect proper type in idlharness
Reported by
canx....@intel.com,
Feb 6 2017
|
||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 Steps to reproduce the problem: Test Case: https://honry.github.io/demo/tests/sensors/AmbientLightSensor_idlharness.https.html Test Name: AmbientLightSensor interface: new AmbientLightSensor(); must inherit property "illuminance" with the proper type (0) 1. Run test case 2. Check the test result. What is the expected behavior? The proper type of "illuminance" expected 'number'. What went wrong? The proper type of "illuminance" got 'object' in dlharness. Did this work before? Yes 57.0.2971.0 Does this work in other browsers? N/A Chrome version: 58.0.3003.0 Channel: canary OS Version: Windows 8.1, Windows 10 Flash Version: Shockwave Flash 24.0 r0
,
Feb 7 2017
,
Feb 7 2017
The 'illuminance' attribute must be nullable at the test https://github.com/Honry/demo/blob/gh-pages/tests/sensors/AmbientLightSensor_idlharness.https.html#L100
,
Feb 17 2017
Test case has been updated since spec change. I verified this issue on the latest chromium(58.0.3011.0). This issue cannot reproduce. |
|||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||
Comment 1 by nyerramilli@chromium.org
, Feb 7 2017