<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>94518</bug_id>
          
          <creation_ts>2012-08-20 13:19:15 -0700</creation_ts>
          <short_desc>Web Inspector: setting &apos;eval&apos; breaks the debugger</short_desc>
          <delta_ts>2014-12-04 16:06:58 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="felix">felix8a</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>apavlov</cc>
    
    <cc>burg</cc>
    
    <cc>bweinstein</cc>
    
    <cc>erights</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>699848</commentid>
    <comment_count>0</comment_count>
    <who name="felix">felix8a</who>
    <bug_when>2012-08-20 13:19:15 -0700</bug_when>
    <thetext>If a script sets &apos;eval&apos; to something other than eval, the debugger becomes pretty useless, there&apos;s no way to inspect any values.

This is a problem for people working in js sandboxes that disable eval, and possibly a problem for people trying to analyze malicious js.

&lt;!doctype html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;script&gt;
  var e = 33;
  eval = &apos;thirty three&apos;;
  debugger;
&lt;/script&gt;
&lt;/head&gt;
&lt;/html&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>