Closed Bug 549084 Opened 16 years ago Closed 15 years ago

mousemove event handler for iframe in designmode does not recognize already defined global functions

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: cacyclewp, Unassigned)

Details

(Whiteboard: [CLOSEME 2011-1-30])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) A mousemove event handler during early page load / script startup does not recognize already defined global functions and throws error "Error: FUNCTION is not defined". This is of course not true and when checked right before attaching the event these FUNCTIONS are already defined. The event handler is added to an iframe in designmode shortly after its initialization. Reproducible: Always Steps to Reproduce: 1. Test with the Wikipedia editor wikEd: Install an older version of wikEd that does not have a workaround, either as a Greasemonkeyscript from here: http://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&oldid=344656931&title=User:Cacycle/wikEd.user.js or as a Wikipedia user script by placing document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd_international_en.js&oldid=344656931&action=raw&ctype=text/javascript"></script>'); on your User:USERNAME/monobook.js page, followed by Shift-Reload 2. Open a random Wikipedia page for editing and move the mouse over the edit area during page load / script startup 3. Check the error console Actual Results: Check the error console for the errors "Error: WikEdEvent is not defined"
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode? If not, please close. These links can help you in your testing. http://support.mozilla.com/kb/Safe+Mode http://support.mozilla.com/kb/Managing+profiles You can also try to reproduce in Firefox 4 Beta 8 or later, there are many improvements in the new version, http://www.mozilla.com/en-US/firefox/all-beta.html
Whiteboard: [CLOSEME 2011-1-30]
No reply, INCOMPLETE. Please retest with Firefox 3.6.13 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.