[Webkit-unassigned] [Bug 19922] New: image doesn't get fetched when requested from an onunload handler.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 7 00:58:27 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=19922

           Summary: image doesn't get fetched when requested from an
                    onunload handler.
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
               URL: http://homepage.mac.com/jorgechamorro/cljs/002/
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jorgechamorro at mac.com


An image is requested from the onunload handler, but the img request never gets
to the (src=) server. Onunload img loading behaviour is different depending on
wether the page gets closed, you're navigating away, or the onunload handler
gets called as a function (). The same code that fails in Safari, works fine in
FF and Opera, etc. The idea is to track when a user leaves a page. Looks like
if the same thing happens when the request if for a <script> instead of an
<img>. See the complete description of the problem in comp.lang.javascript
thread "unload event more restrictive now on Safari 3.1". Thanks, Jorge.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list