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

Re: [battery] Spec update tests ready for review

From: Kostiainen, Anssi <anssi.kostiainen@intel.com>
Date: Thu, 2 Jun 2016 16:46:27 +0000
To: Boris Zbarsky <bzbarsky@mit.edu>, "Zhang, Zhiqiang" <zhiqiang.zhang@intel.com>
CC: "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <B603DDD4-9E2F-43D8-8030-00AFAD00785B@intel.com>
> On 02 Jun 2016, at 18:34, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> 
> > So it looks like Firefox fails on one of the new tests
> > ("setting iframe's src makes its Navigator object vary thus
> > getting another battery promise"); can anyone explain or comment
> > on that failure?
> 
> The test is wrong and Firefox's behavior is correct per spec.  See https://github.com/w3c/web-platform-tests/issues/3107#issuecomment-223328296 for analysis.
> 
> Note that this (handling of initial about:blank) is an area where Chrome is known to not match the HTML spec in various ways, which is why it "passes" the test.

Boris - thanks for the detailed report.

Zhiqiang - can you (or perhaps someone else from your team) revise the test case in question and update the implementation report. (That'll mean more red for Chrome due to the apparent about:blank bug of Chrome.)

Thanks,

-Anssi
Received on Thursday, 2 June 2016 16:46:54 UTC

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