Changeset 31683 in webkit


Ignore:
Timestamp:
Apr 7, 2008 9:41:12 AM (16 years ago)
Author:
timothy@apple.com
Message:

Remove the workaround for bug 11399 now that it is fixed.

Reviewed by Adam Roben.

  • page/inspector/Console.js: Removed the 'with' statement

around the eval and call eval directly on the inspected window.

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r31682 r31683  
     12008-04-07  Timothy Hatcher  <timothy@apple.com>
     2
     3        Remove the workaround for bug 11399 now that it is fixed.
     4
     5        Reviewed by Adam Roben.
     6
     7        * page/inspector/Console.js: Removed the 'with' statement
     8        around the eval and call eval directly on the inspected window.
     9
    1102008-04-07  Luca Bruno  <lethalman88@gmail.com>
    211
  • trunk/WebCore/page/inspector/Console.js

    r31645 r31683  
    237237    _evalInInspectedWindow: function(expression)
    238238    {
    239         // This with block is needed to work around http://bugs.webkit.org/show_bug.cgi?id=11399
    240         with (InspectorController.inspectedWindow()) {
    241             return eval(expression);
    242         }
     239        return InspectorController.inspectedWindow().eval(expression);
    243240    },
    244241
Note: See TracChangeset for help on using the changeset viewer.