[Webkit-unassigned] [Bug 7205] REGRESSION: maps blank on mapquest website

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Mar 29 16:06:01 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7205





------- Comment #12 from darin at apple.com  2006-03-29 16:05 PDT -------
Looks like this is another load event capturing handler problem like the one we
looked at internally.

Check out this code from <http://www.mapquest.com/js/global.js?v=1.4>

    function addEvent(fObj, fEvent, fn)
    {
        if(window.opera && getBrowserInfo().version < 8)
        {
            ...
        }
        else if (fObj.addEventListener)
        {   // moz, w3c
            ((window.opera) && (getBrowserInfo().version >=
8))?fObj.addEventListener(fEvent, fn, false):fObj.addEventListener(fEvent, fn,
true);
            return true;
        }
        ...

and this from the page:

    addEvent(window, "load", addHidFields);

This adds a capturing listener to the window for the load event. But the load
event is targeted to the window itself, so a capturing listener won't fire!


-- 
Configure bugmail: http://bugzilla.opendarwin.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