Opened 11 years ago

Closed 11 years ago

#5992 closed defect (fixed)

ContentPane: unit test failure (IE)

Reported by: bill Owned by:
Priority: high Milestone: 1.1
Component: Dijit Version: 1.1b1
Keywords: Cc:
Blocked By: Blocking:

Description

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

Change History (5)

comment:1 Changed 11 years ago by bill

Summary: ContenPane: unit test failureContentPane: unit test failure

comment:2 Changed 11 years ago by Adam Peller

worksforme

comment:3 Changed 11 years ago by Adam 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

comment:4 Changed 11 years ago by bill

Summary: ContentPane: unit test failureContentPane: 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)

comment:5 Changed 11 years ago by bill

Resolution: fixed
Status: newclosed

(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.