Changeset 19995 in webkit


Ignore:
Timestamp:
Mar 6, 2007 7:15:26 PM (17 years ago)
Author:
bdash
Message:

2007-03-06 Ian Eng <ian.eng.webkit@gmail.com>

Reviewed by Maciej.

  • bindings/js/kjs_window.cpp: Disallow replacing functions in LocationTable, and return early without updating URL.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r19993 r19995  
     12007-03-06  Ian Eng <ian.eng.webkit@gmail.com>
     2
     3        Reviewed by Maciej.
     4
     5        - fixed http://bugs.webkit.org/show_bug.cgi?id=12720
     6        Bug 12720: Re-defining window.location.toString function keeps re-loading forever
     7
     8        * bindings/js/kjs_window.cpp:
     9        Disallow replacing functions in LocationTable, and return early without updating URL.
     10
    1112007-03-06  Kevin McCullough  <kmccullough@apple.com>
    212
  • trunk/WebCore/bindings/js/kjs_window.cpp

    r19855 r19995  
    22152215      url.setQuery(str);
    22162216      break;
     2217    default:
     2218      // Disallow changing other properties in LocationTable. e.g., "window.location.toString = ...".
     2219      // <http://bugs.webkit.org/show_bug.cgi?id=12720>
     2220      return;
    22172221    }
    22182222  else {
Note: See TracChangeset for help on using the changeset viewer.