Changeset 13880 in webkit


Ignore:
Timestamp:
Apr 15, 2006 12:27:58 PM (18 years ago)
Author:
thatcher
Message:

Reviewed by Maciej.

  • bindings/js/kjs_window.cpp: (KJS::Window::isSafeScript): Use isEmpty() instead of isNull() for checking the domain to determine if the document in a local file.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r13874 r13880  
     12006-04-15  Mitz Pettel  <opendarwin.org@mitzpettel.com>
     2
     3        Reviewed by Maciej.
     4
     5        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8405
     6          REGRESSION: Web Inspector's Style pane is blank
     7
     8        * bindings/js/kjs_window.cpp:
     9        (KJS::Window::isSafeScript): Use isEmpty() instead of isNull() for checking
     10        the domain to determine if the document in a local file.
     11
    1122006-04-14  David Hyatt  <hyatt@apple.com>
    213
  • trunk/WebCore/bindings/js/kjs_window.cpp

    r13865 r13880  
    12531253  // FIXME: this really should be explicitly checking for the "file:" protocol instead
    12541254  // Always allow local pages to execute any JS.
    1255   if (actDomain.isNull())
     1255  if (actDomain.isEmpty())
    12561256    return true;
    12571257 
Note: See TracChangeset for help on using the changeset viewer.