W3C home > Mailing lists > Public > public-device-apis@w3.org > September 2016

RE: [ambient-light] Test suite PRs up for review

From: Lin, Wanming <wanming.lin@intel.com>
Date: Mon, 19 Sep 2016 07:59:59 +0000
To: "Kostiainen, Anssi" <anssi.kostiainen@intel.com>
CC: "???(??)" <yanshan.zzq@alibaba-inc.com>, W3C Device APIs WG <public-device-apis@w3.org>
Message-ID: <0661EB478D420148A97FAFA1DEEBBC3B5164D1A4@SHSMSX103.ccr.corp.intel.com>
Hi, Anssi and all,

I prepare a rough status report for Ambient Light test suite, please check.

===Problems/Opens===
	- Without a testable UA, as Chromium is still enabling Ambient Light Sensor, and the test result on latest chromium built provided by Alexander is worse than the earliest one provided by Riju.
	- Without a concrete criterial/scenario to invoke the 'onerror' event on the spec. 
	- There's no definition for:
		ambient-light#5.2.1. The AmbientLightSensorReading constructor
		generic-sensor#8.1.5. Sensor.onerror, Sensor.onchange, Sensor.onstatechange
	- Is it possible to provide an example for using the Permission API in conjunction with the Ambient Light API?
	- Reporting mode: no interface defines this attribute. 

===Test Coverage===
        Existing tests[1]:
	- idlharness.html
	- AmbientLightSensor_start.html
	- AmbientLightSensor_stop.html
	- AmbientLightSensor_onstatechange.html
	- AmbientLightSensor_onchange-manual.html
	- AmbientLightSensor_browsing_context.html
        Coverage gaps:
	- AmbientLightSensor_onerror.html
	- AmbientLightSensor_frequency_TypeError.html
	- AmbientLightSensor_secure_context.html
	- AmbientLightSensor_illuminance.html
        More checkpoints can be merged into above test files:
	- Scattered checkpoints in section: 9. Abstract Operations,
	- Obtaining explicit user permission,
	- Attributes: SensorReading.timeStamp, reporting mode, 'active' state,
	- start() and stop() method will return promise,
	- Associate ambient light level with light-level media feature(Mediaqueries-5).

[1] https://github.com/w3c/web-platform-tests/tree/master/ambient-light 

Thanks,
Wanming

> -----Original Message-----
> From: Kostiainen, Anssi
> Sent: Tuesday, September 13, 2016 7:45 PM
> To: Lin, Wanming <wanming.lin@intel.com>
> Cc: ???(??) <yanshan.zzq@alibaba-inc.com>; W3C Device APIs WG <public-
> device-apis@w3.org>
> Subject: Re: [ambient-light] Test suite PRs up for review
> 
> > On 13 Sep 2016, at 11:02, Lin, Wanming <wanming.lin@intel.com> wrote:
> >
> > Great, it is a good chance to enhance the test coverage and quality.
> > Thanks for the invitation, I will make the time and share the status of the
> test suite before the meeting.
> 
> Great! Watch this space for details on how to participate remotely:
> 
> https://www.w3.org/2009/dap/wiki/LisbonF2F2016#Remote_attendance
> 
> Thanks,
> 
> -Anssi
Received on Monday, 19 September 2016 08:00:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:08 UTC