Opened 14 years ago

Closed 9 years ago

#5694 closed enhancement (duplicate)

Can't not load 'doh.runner' in nested frames

Reported by: guest Owned by: haysmark
Priority: high Milestone: future
Component: TestFramework Version: 1.0
Keywords: doh.runner Cc:
Blocked By: Blocking:

Description (last modified by bill)

dojo.require("doh.runner") in nested Frames fails with

Could not load 'doh.runner'; last tried '../util/doh/runner.js'

The workaround I found was changing dojo-release-1.0.2/util/doh/_browserRunner.js from

if(window.parent == window){


if(window.parent == window || window.doh){

I am not sure about the side effects, but it is working in my case now.

Change History (7)

comment:1 Changed 14 years ago by dylan

Component: GeneralTestFramework
Milestone: 1.1
Owner: changed from anonymous to alex

comment:2 Changed 14 years ago by alex

hrm, I don't think the fix (as presented) is workable. Each sub-window will also have a "doh" property, and your fix simply prevents the bottom frame from communicating with the parent. A better solution will be to have children look *all* the way up (not just one level) or try to determine if the parent *doesn't* have a DOH.

comment:3 Changed 14 years ago by dylan

Milestone: 1.11.2

comment:4 Changed 13 years ago by bill

Description: modified (diff)
Milestone: 1.2future
Summary: Could not load 'doh.runner'; last tried '../util/doh/runner.js'Can't not load 'doh.runner' in nested frames
Type: defectenhancement

comment:5 Changed 10 years ago by Chris Mitchell

Owner: changed from alex to markhays

comment:6 Changed 9 years ago by Douglas Hays

Owner: changed from markhays to haysmark
Status: newassigned

comment:7 Changed 9 years ago by haysmark

Resolution: duplicate
Status: assignedclosed

See #9512.

Note: See TracTickets for help on using tickets.