[Webkit-unassigned] [Bug 113134] New: Web Inspector: [V8] Make InjectedScriptHost.evaluate return the 'eval' function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 23 06:44:15 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=113134

           Summary: Web Inspector: [V8] Make InjectedScriptHost.evaluate
                    return the 'eval' function
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: timothy at apple.com
                CC: timothy at apple.com, ggaren at apple.com,
                    keishi at webkit.org, pmuellr at yahoo.com,
                    pfeldman at chromium.org, yurys at chromium.org,
                    apavlov at chromium.org, loislo at chromium.org,
                    vsevik at chromium.org,
                    web-inspector-bugs at googlegroups.com


To fix bug 65829 (make the console work in strict mode on JSC) we needed to make InjectedScriptHost.evaluate return the real 'eval' function so we could use the ES5 eval keyword semantics.

To keep Chrome's console working we needed to create a branch in InjectedScript.prototype._evaluateOn. We think the new approach is better than making 'with' be silently ignored in strict mode.

Let me know if you have any questions.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list