#5131 closed defect (fixed)
isDebug:true iframe dojo inside isDebug:false main page dojo fails (IE)
Reported by: | bill | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | 1.0.1 |
Component: | Core | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
This was the root cause of #5070. The main drupal page included dojo with isDebug: false, and then had an iframe which included dojo.js with isDebug: true. It fails on IE trying to load firebug lite.
Somehow the iframe dojo was trying to access, or at least was affected by the main page. Maybe there's only one console shared by both the iframe and the main page. Suspicious code: In bootstrap.js dojo creates an empty console object, nulling out all the elements.
Anyway, changing the iframe page to have isDebug:false works around the problem but maybe should have a real fix.
This only fails on IE (tested on IE6, but probably same problem on IE7. not sure.)
Change History (5)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Description: | modified (diff) |
---|---|
Summary: | isDebug:true iframe dojo inside isDebug:false main page dojo fails → isDebug:true iframe dojo inside isDebug:false main page dojo fails (IE) |
Yes, indeed odd, and I think it's only an IE problem. Updating title/summary to be more descriptive
comment:3 Changed 13 years ago by
Milestone: | → 1.0.1 |
---|
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Very odd, this sounds like an IE-only issue? In that case the console object is not object (IIRC) in that browser. Maybe it has something to do with this checkin: http://trac.dojotoolkit.org/changeset/11162
There are probably not sufficient checks in the firebug.js code for the parent code.