Ticket #5992 (closed defect: fixed)

Opened 9 months ago

Last modified 8 months ago

ContentPane: unit test failure (IE)

Reported by: bill Owned by:
Priority: normal Milestone: 1.1
Component: Dijit Version: 1.1b1
Severity: normal Keywords:
Cc:

Description

On FF3/mac, ContentPane unit test is failing. It works in 1.1 beta 2 but fails in the nightly

Change History

Changed 9 months ago by bill

  • summary changed from ContenPane: unit test failure to ContentPane: unit test failure

Changed 9 months ago by peller

worksforme

Changed 9 months ago by peller

ok, it does fail intermittently. Bill gives these log results:

GROUP "dijit.tests.layout.ContentPane" has 1 test to rundojo.js (line 115)
failed loading ../../../dojo/../dijit/_base/manager.js with error: TypeError: dojo.declare is not a functiondojo.js (line 20)
failed loading ../../../dojo/../dijit/_base.js with error: Error: Could not load 'dijit._base.manager'; last tried '../dijit/_base/manager.js'dojo.js (line 20)
failed loading ../../../dojo/../dijit/_Widget.js with error: Error: Could not load 'dijit._base'; last tried '../dijit/_base.js'dojo.js (line 20)
failed loading ../../../dojo/../dijit/layout/ContentPane.js with error: Error: Could not load 'dijit._Widget'; last tried '../dijit/_Widget.js'dojo.js (line 20)
Could not load 'dijit.layout.ContentPane'; last tried '../dijit/layout/ContentPane.js'
[Break on this error] undefined

Changed 8 months ago by bill

  • summary changed from ContentPane: unit test failure to ContentPane: unit test failure (IE)

Hmm, my most recent tests indicate:

  • FF3/mac: working (tried twice)
  • Safari3/mac: working (tried twice)
  • IE6/win: failed in isLoaded (expected false, got true) and onDownLoadError (custom download message not set). Testing again failed in setHref_then_cancel (expected false, got true) also
  • FF2/win: working (tried twice)
  • IE7/win: worked then failed (tried twice). Errors in setHref_then_cancel (expected false, got true), and isLoaded (same error)

Changed 8 months ago by bill

  • status changed from new to closed
  • resolution set to fixed

(In [13127]) Workaround IE6's overzealous caching. It was caching URL's even though they had parameters (?delay=3000), thus throwing off the timing tests. Fixes #5992.

Note: See TracTickets for help on using tickets.