Opened 14 years ago
Closed 10 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 )
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){
to
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
Component: | General → TestFramework |
---|---|
Milestone: | → 1.1 |
Owner: | changed from anonymous to alex |
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
Milestone: | 1.1 → 1.2 |
---|
comment:4 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 1.2 → future |
Summary: | Could not load 'doh.runner'; last tried '../util/doh/runner.js' → Can't not load 'doh.runner' in nested frames |
Type: | defect → enhancement |
comment:5 Changed 11 years ago by
Owner: | changed from alex to markhays |
---|
comment:6 Changed 10 years ago by
Owner: | changed from markhays to haysmark |
---|---|
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
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.