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

Re: [battery] Spec update tests ready for review

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Thu, 2 Jun 2016 11:34:57 -0400
To: public-device-apis@w3.org
Message-ID: <4ff502c4-9946-0c19-68bd-94797d79dd2c@mit.edu>
 > 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
Received on Thursday, 2 June 2016 15:35:28 UTC

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