Bug 30738 - "Evaluate selection" feature is broken
Summary: "Evaluate selection" feature is broken
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Yury Semikhatsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 22:52 PDT by Yury Semikhatsky
Modified: 2009-10-26 09:17 PDT (History)
3 users (show)

See Also:


Attachments
patch (1.35 KB, patch)
2009-10-26 09:02 PDT, Yury Semikhatsky
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Semikhatsky 2009-10-23 22:52:53 PDT
Steps to reproduce:
1. Pause script on a breakpoint.
2. Select some expression in the current function source code.
3. Press Cmd+Shift+'E' on Mac or Ctrl+Shift+'E' on Win.

Expected:  expression result is printed in the console.
Actual: nothing happens.

This is a regression introduced in https://bugs.webkit.org/show_bug.cgi?id=29891 
WebInspector.SourceFrame.prototype._evalSelectionInCallFrame should pass objectGroup as third parameter when it is calling WebInspector.panels.scripts.evaluateInSelectedCallFrame.
Comment 1 Yury Semikhatsky 2009-10-26 09:02:53 PDT
Created attachment 41869 [details]
patch
Comment 2 WebKit Commit Bot 2009-10-26 09:17:38 PDT
Comment on attachment 41869 [details]
patch

Clearing flags on attachment: 41869

Committed r50065: <http://trac.webkit.org/changeset/50065>
Comment 3 WebKit Commit Bot 2009-10-26 09:17:41 PDT
All reviewed patches have been landed.  Closing bug.