Use the "OnBeforeUnload()" method

Applying eValid to AJAX applications that require advanced DOM-based methods.

Use the "OnBeforeUnload()" method

Postby Ismaelt » Fri Jan 11, 2013 4:35 pm

Have you had any experience with pages that use the "OnBeforeUnload()" method?What gives?
Ismaelt
 
Posts: 1
Joined: Fri Jan 11, 2013 4:31 pm

Re: Use the "OnBeforeUnload()" method

Postby eValid » Wed Jan 23, 2013 12:54 pm

Indeed, we have seen some "funny behavior" on web pages that appear to be hand-coded to use such JavaScript-derived events as OnBeforeLoad or OnBeforeUnload. They seem to be an attempt by the web page programmer to outsmart the browser by sneaking in actions that the browser can't act on (or has to act on) before proceeding.

We think this may be an attempt at a security breach...someone trying to find a vulnerability that can be exploited.

So our recommendation is simple: try to avoid trying to build strong test passages for such pages!

eValid Functional Testing
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons