Closed Bug 274960 Opened 20 years ago Closed 11 years ago

JavaScript-related error: FF not calling a function in another frame; FF not rendering some dynamically through JS generated HTML appropriately

Categories

(Core :: General, defect)

defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: lgxxl, Unassigned)

References

()

Details

Attachments

(2 files)

ERROR/BUG # 1:

step1: click on the green startbutton at http://www.everlearn.info
step1.1: choose your language (german or english) by clicking a flag
step2: log in as "gast" / "Gast"
step3: click on the smiley at the top (an html4 conform instant messenger opens)
step4: select a person online from the dropdown list and sent some testmessage to this person
step5: recognize, that the inoutfield for the message does not get erased/cleared
step5.1: this is due to the fact, that the frame in the middle which calls a function in the bottom frame 
(where the inputfield is located) DOES ACTUALLY IN FIREFOX NOT CALL THIS METHOD APPROPRIATELY
step5.2: to check the javascript of the middle frame, you have to open up the sourceview of the middle 
frame right after the new testtext was sent by you (you have 15 seconds until refresh). because only 
after a new message was sent and loaded in the middle frame the javascript function will contain some 
code.

ERROR/BUG #2:
EverLearn-System uses http://www.destroydrop.com/javascripts/tree/
as a treecomponent. the tree in itself works fine, but there is some error displaying it under certain 
circumstances.

step1: click at the top menubar on the entry "Courses"
step2: load the course named "Medienrezeption und Mediensozialisation"
step3: wait until completely loaded
step4: now you see at the right of the screen two TAB-bars ("Content" & "Notices"). click on "Content"
step5: now you see some dTree rendered as a content-overview (ToC)
step6: in FIREFOX THIS RENDERED VIEW MISSES BASIC PARTS OF THE TREE ESPECIALLY THE TEXT 
BENEATH THE TREE-ICONS!!!

I currently put some hint on our page that firefoy does not work correctly in this area. please fix this, i 
want to support the move to firefoy for windows-users though I am  mac.guy who developed EverLearn.

regards,
Helge Staedtler

p.s.: I checked "Security Problem", because I do not want the UID / PW i transmitted in this report 
become publicly available on the net. please be careful with this account-info or just setup your own.
See description
i can't find anything remotely security related here.
Group: security
Whiteboard: [sg:nse]
Error: Expected color but found '#OFOFOF'.  Error in parsing value for property
'color'.  Declaration dropped.
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/elBase.css
Line: 214

problem: O is not 0 but was supposed to be.

Error: Unknown property 'text-ident'.  Declaration dropped.
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/elBase.css
Line: 287

*shrug*

Error: Expected end of value for property but found 'color'.  Error in parsing
value for property 'line-height'.  Declaration dropped.
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/elBase.css
Line: 416

problem: probably missing a ;

Error: Expected color but found '#0080CO'.  Error in parsing value for property
'background-color'.  Declaration dropped.
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/elCourseDefault.css
Line: 289

problem: O is not 0 but was supposed to be.

Error: Expected color but found 'violett'.  Error in parsing value for property
'background-color'.  Declaration dropped.
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/elCourseDefault.css
Line: 291

problem: violett is not an English word (neither American nor British) and is
certainly not a CSS color. (violet is an English word, whether it's a css color
is a matter for someone to check the css spec)

Error: Expected color but found '#violett'.  Error in parsing value for property
'background'.  Declaration dropped.
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/elCourseDefault.css
Line: 383

...

Error: Expected color but found '#purple'.  Error in parsing value for property
'background'.  Declaration dropped.
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/elCourseDefault.css
Line: 402

problem: colors are either strings or # prefixed hex digits, #purple is a
confusion of these two, but neither.

Error: Expected color but found '#darkblue'.  Error in parsing value for
property 'color'.  Declaration dropped.
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/elCourseDefault.css
Line: 670

...

Warning: redeclaration of var snapping
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/el.js
Line: 802, Column: 4
Source Code:
var snapping=placeY % osnapy;
Warning: anonymous function does not always return a value
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/el.js
Line: 1679, Column: 219
Source Code:
setMonth(0);}break;case
2:if(year<cal.maxYear){date.setFullYear(year+1);}break;case
100:cal.setMondayFirst(!cal.mondayFirst);return;case 0:if((typeof
cal.checkDisabled=="function")&&cal.checkDisabled(date)){return
false;}break;}if(!date.equalsTo(cal.date)
Warning: anonymous function does not always return a value
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/el.js
Line: 1679, Column: 136
Source Code:
){cal.setDate(date);newdate=true;}}if(newdate){cal.callHandler();}if(closing){Calendar.removeClass(el,"hilite");cal.callCloseHandler();}};Calendar.prototype.create=function(_par){var
parent=null;if(!_par){parent=document.getElementsByTagName("body")[0];th
Warning: anonymous function does not always return a value
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/el.js
Line: 1679, Column: 138
Source Code:
+=el.offsetWidth;break;case "C":p.x+=(el.offsetWidth-w)/2;break;case
"r":p.x+=el.offsetWidth-w;break;case
"l":break;}this.showAt(p.x,p.y);};Calendar.prototype.setDateFormat=function(str){this.dateFormat=str;};Calendar.prototype.setTtDateFormat=function(st
Warning: deprecated with statement usage
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/el.js
Line: 1679, Column: 134
Source Code:
.scrollY;posX=ev.clientX+window.scrollX;}var
st=this.element.style;this.xOffs=posX-parseInt(st.left);this.yOffs=posY-parseInt(st.top);with(Calendar){addEvent(document,"mousemove",calDragIt);addEvent(document,"mouseover",stopEvent);addEvent(document,"mouse
Warning: deprecated with statement usage
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/el.js
Line: 1679, Column: 186
Source Code:
.getDay();var s=new
Array();s["d"]=d;s["dd"]=(d<10)?("0"+d):d;s["m"]=1+m;s["mm"]=(m<9)?("0"+(1+m)):(1+m);s["y"]=y;s["yy"]=new
String(y).substr(2,2);s["w"]=wn;s["ww"]=(wn<10)?("0"+wn):wn;with(Calendar){s["D"]=_DN3[w];s["DD"]=_DN[w];s["M"]=_MN3[m];s["MM"]=_
Warning: function onSelect does not always return a value
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/el.js
Line: 1727, Column: 1
Source Code:
	};
Warning: anonymous function does not always return a value
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/el.js
Line: 1769
Source Code:
};
Warning: assignment to undeclared variable Calendar
Source File:
http://everlearn.bamberg.uni-erlangen.de/WebObjects/EverLearnRelease0062.woa/Contents/WebServerResources/el.js
Line: 1679
Warning: reference to undefined property parent.messagingBottom.autoComplete
Source File:
http://everlearn.bamberg.uni-erlangen.de/cgi-bin/WebObjects/EverLearnRelease0062.woa/wa/ActionMessaging/initializeMessagingFrameMiddle?rtmsid=77dscbDmd21EKtgMPjY4Jw&storeId=100e0007108
Line: 24
Error: parent.messagingBottom.autoComplete is not a function
Source File:
http://everlearn.bamberg.uni-erlangen.de/cgi-bin/WebObjects/EverLearnRelease0062.woa/wa/ActionMessaging/initializeMessagingFrameMiddle?rtmsid=77dscbDmd21EKtgMPjY4Jw&storeId=100e0007108
Line: 24
-> General
Assignee: bugs → firefox
Component: JavaScript Console → General
QA Contact: js-console → general
Yes I noticed the same thing! In mozilla 1.7.10 it runs fine.

I use the opensource Morten tree menu (http://www.treemenu.org) in Opera/IE it 
also shows fine in Mozilla 1.7.10 also but in firefox it won't.

It looks like

parent.frames['code'].MTMSubAction (parent.frames['code'].menu.items[5]) 
doesn't work in firefox (1.06) and deerpark .

Some security issue or privacy issue? I thinks in the spoofing prevention area 
soms regression.

Any help welcome.

John Ophof
http://open-modeling.sourceforge.net (example tree menu)
I use the opensource Morten tree menu (http://www.treemenu.org) in Opera/IE it
looks good. It also shows fine in Mozilla 1.7.10 but in firefox and DP it
won't.

It looks like

parent.frames['code'].MTMSubAction (parent.frames['code'].menu.items[5])
doesn't work in firefox (1.06) and deerpark .

Some security issue or privacy issue?

John Ophof
http://open-modeling.sourceforge.net (example tree menu also there)

A debug window is opened in the attachement code so you can see the HTML which
is generated. That's easier to understand the code

The subnodes will not open when you click on the + this code must be fired:
parent.frames['code'].MTMSubAction (parent.frames['code'].menu.items[5])

but it won't without an error message.

PS it looks like security stuff
Hi,

I reported that it works fine in Opera 8.02 that is true when you runs it 
locally on the file system. If you run from a website you have the same 
problems as in firefox.
Definitely security stuff I think.

John
Hi,

The problem is the installation of Deerpark influencing Firefox also. On a clean
machine with 1.0.6 I encountered no problems.

John
Whiteboard: [sg:nse]
Assignee: bross2 → nobody
Product: Firefox → Core
QA Contact: general → general
Version: 1.0 Branch → unspecified
WFM per comment 8
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: