#2192 closed defect (wontfix)
dojo is not defined on line 3429 in dojo.js
Reported by: | Owned by: | bill | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Events | Version: | 0.4.1 |
Keywords: | Cc: | Adam Peller | |
Blocked By: | Blocking: |
Description
line 3429: if((x==0)&&(_31e)&&(dojo.event.browser.isEvent(arguments[x]))){ in dojo.js
only on firefox, no bug on IE, trigger on page load a second time. The page does nothing fancy, just: DatePicker?, Button, Menu2, Clock.
Nothing blocks, everything works as expected, just getting this error.
Attachments (2)
Change History (21)
comment:1 Changed 14 years ago by
Owner: | changed from alex to liucougar |
---|
comment:2 Changed 14 years ago by
Online version:
http://www.webernic.com/tests/bug.php
Play with "Link 1" and "Link 2". Errors will arise after few clicks.
comment:6 Changed 14 years ago by
and what if you do not include clock in your page? do you still see that error?
comment:7 Changed 14 years ago by
I have: dojo-0.4.1-ajax (out of the box)
and yes, errors whitout the clock too. use the same link above to see.
comment:9 Changed 14 years ago by
I think this might be a windown.onunload bug. Google has a similar bug that tries to run a GC() function that drives me nuts.
We'd have to either ensure the unload stuff runs before unload (somehow) or possibly rewrite that function to handle "built in" javascript functions only to get its work done.
comment:10 Changed 14 years ago by
Milestone: | → 0.9 |
---|
comment:11 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:12 Changed 14 years ago by
please re-open if you can provide a running testcase, preferably a simple attachment
comment:13 Changed 14 years ago by
Milestone: | 0.9 → 0.4.4 |
---|---|
Priority: | normal → high |
Resolution: | invalid |
Status: | closed → reopened |
This needs to be fixed in the 0.4.x trunk. Several customers are running into this. It can be easily recreated by loading nearly any of the test_*html files into an iframe, and then reloading the iframe contents. I will attach a simple html file with the iframe created and recreate steps.
comment:14 Changed 14 years ago by
On my system, I ran the following:
file:///c:/tmp/iframetest.html?file://c:/ajax/04x/tests/widget/test_SelectNLS.html
After it loaded OK, I clicked the Reload button and the error occurs. I could not recreate this on 0.9, but it is affecting 0.4 customers.
comment:15 Changed 14 years ago by
Cc: | Adam Peller added |
---|
comment:16 Changed 14 years ago by
The error occurs after the 2nd click of the Reload button but before the page actually reloads the 2nd time.
comment:17 Changed 14 years ago by
Owner: | changed from liucougar to bill |
---|---|
Status: | reopened → new |
I believe this line in PopupContainer?.js
window.document); |
should be replaced with:
targetWindow = dojo.html.getDocumentWindow(dojo.doc());
otherwise dojo may be undefined for the targetWindow.
comment:18 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
a test case please
if you use firebug, try to disable it