Changeset 28374 in webkit


Ignore:
Timestamp:
Dec 3, 2007 5:08:26 PM (16 years ago)
Author:
mitz@apple.com
Message:

2007-12-03 Andrew Bonventre <andybons@google.com>

Reviewed by Darin Adler.

  • Drosera/debugger.js: Fixed javascript error where document property should have been used instead of contentDocument in switchFunction that was breaking the select symbol dropdown menu. This is because window.frames will return a Window object and not a frame object like the author was originally expecting.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r28369 r28374  
     12007-12-03  Andrew Bonventre  <andybons@google.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        * Drosera/debugger.js: Fixed javascript error where document property
     6        should have been used instead of contentDocument in switchFunction that
     7        was breaking the select symbol dropdown menu.  This is because
     8        window.frames will return a Window object and not a frame object like
     9        the author was originally expecting.
     10
    1112007-12-03  Kevin McCullough  <kmccullough@apple.com>
    212
  • trunk/WebKitTools/Drosera/debugger.js

    r27769 r28374  
    966966    var selection = sourcesFrame.getSelection();
    967967    var currentFunction = selectedFunction.value;     
    968     var currentFunctionElement = sourcesFrame.contentDocument.getElementById(currentFunction);
     968    var currentFunctionElement = sourcesFrame.document.getElementById(currentFunction);
    969969   
    970970    functionSelect.blur();
Note: See TracChangeset for help on using the changeset viewer.