W3C home > Mailing lists > Public > public-web-perf@w3.org > March 2011

RE: [agenda] Web Performance WG Teleconference #24 Agenda 2011-03-09

From: Nic Jansma <Nic.Jansma@microsoft.com>
Date: Wed, 9 Mar 2011 19:10:35 +0000
To: Tony Gentilcore <tonyg@google.com>, Anderson Quach <Anderson.Quach@microsoft.com>
CC: public-web-perf <public-web-perf@w3.org>, James Simonsen <simonjam@google.com>
Message-ID: <F677C405AAD11B45963EEAE5202813BD19C5E477@TK5EX14MBXW652.wingroup.windeploy.ntdev.microsoft.com>
Hi Tony,

It looks like the timing var that is cached at the top of testTimingWithDocumentOpen refers to the iframe's original document/contentWindow and once the document.open/write/close occurs, access to that variable is blocked by our script engine.

To avoid the permission denied, if you re-cache the timing var at the start of setTimeout(), the test succeeds in IE9 RC:

  setTimeout(function() {

    var timing = subcontentWindow.performance.timing;

    for (var i in timingAttributes) {



                  timingAttributes[i] + " is the same after document open.");


  }, 0);

The test looks great otherwise.  Thanks for converting it to use an IFRAME.

- Nic

-----Original Message-----
From: public-web-perf-request@w3.org [mailto:public-web-perf-request@w3.org] On Behalf Of Tony Gentilcore
Sent: Wednesday, March 09, 2011 8:55 AM
To: Anderson Quach
Cc: public-web-perf; James Simonsen
Subject: Re: [agenda] Web Performance WG Teleconference #24 Agenda 2011-03-09

> 2.       Tests for Navigation Timing to review.

James updated test_document_open to use a subframe (as we discussed last week). However, in the IE9 RC, it throws a permission denied when calling test_equals(). Anderson or Nic, any ideas?

Received on Wednesday, 9 March 2011 21:12:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:30 UTC