- From: Philippe Le Hegaret <plh@w3.org>
- Date: Sat, 15 Oct 2011 12:59:29 -0400
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- Cc: public-web-perf@w3.org
On Fri, 2011-10-14 at 14:09 -0400, Boris Zbarsky wrote: > On 10/14/11 1:32 PM, Philippe Le Hegaret wrote: > > I noticed that they fail on the following tests: > > http://w3c-test.org/webperf/tests/approved/navigation-timing/html5/test_document_open.html > > I haven't looked into whether this test is correct or what the spec says > here... if anything. Please file bugs as neded! We should probably look at the test on our side first before filing a bug. > > http://w3c-test.org/webperf/tests/approved/navigation-timing/html5/test_timing_attributes_order.html > > The test looks wrong to me. In particular, it's running the > loadEventEnd test before the relevant load event is completed in Gecko, > so we're correctly returning 0 for loadEventEnd. > > In particular, the test is using this setup: > > <iframe onload="onload_test();"> > > and in Gecko the load event firing on the <iframe> is the default action > of the load event on the window contained in the subframe. Therefore > onload_test is run before event dispatch for the window's load event is > complete. > > Of course the spec doesn't actually define what it means for the load > event to be "completed", so testing it is somewhat nonsensical in any > sync setup run off load events; a test run off a timeout set in onload > would make more sense. > > How do I report a bug in the test? There seems to be no link to do that > at http://w3c-test.org/webperf/tests/ or anywhere else I can find. Sending an email to public-web-perf@w3.org is good enough. So consider your bug reported. I updated http://w3c-test.org/webperf/tests/ to make this clear. I'll also ask the group if they're interested in a bugzilla instance to facilitate tracking. > > They fail a lot more of the tests if the tests are executed in an > > iframe, such as > > http://w3c-test.org/framework/test/nav-timing-default/single/test_performance_attributes_exist/ > > > > It looks like they don't support window.performance.navigation within a > > iframe? > > That's not an iframe. It's an <object>. > > And yes, looks like inside an <object> window.performance is null at the > moment. Looks like a bug to me. I filed > https://bugzilla.mozilla.org/show_bug.cgi?id=694612 Thank you! Philippe
Received on Saturday, 15 October 2011 16:59:41 UTC