Ticket #557 (closed defect: wontfix)
IE 6 refuses to load page if dojo is loaded in HEAD and a BASE tag exists before that.
| Reported by: | andyhot@… | Owned by: | ttrenka |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Core | Version: | 0.3 |
| Severity: | normal | Keywords: | |
| Cc: | andyhot@… |
Description
Initially discovered in Tacos ( http://tacoscomponents.jot.com/BugReporter/Bug86 ) this problem appears when a page has this hierarchy
- BODY
- HEAD
- BASE
- SCRIPT (to include dojo)
- HEAD
In this particular case, IE popups an alert saying: " Internet Explorer cannot open the Internet site localhost:8080/tacos4-demo/app. Operation aborted ".
The offending code was introduced in hostenv_browser.js (rev.3206, line 376, relating to VML addition) and it appears that IE dislikes calls to document.createStyleSheet() after a BASE tag has been parsed-loaded.
Solutions
- Put the BASE tag after the SCRIPT that includes dojo, or
- Revert hostenv_browser.js to rev.3024 which uses document.write for VML addition
In Tacos / Tapestry case, we're opting for the second one, since the BASE tag is automatically included by the framework.
Andreas Andreou