Bug 126784 - Web Inspector: Remove unimplemented or static ScriptDebugServer features
Summary: Web Inspector: Remove unimplemented or static ScriptDebugServer features
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
Keywords: InRadar
Depends on:
Reported: 2014-01-10 14:43 PST by Joseph Pecoraro
Modified: 2014-01-10 15:52 PST (History)
5 users (show)

See Also:

[PATCH] Proposed Fix (49.17 KB, patch)
2014-01-10 14:47 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2014-01-10 14:43:16 PST
In our inspector frontend these methods are all unused and in the backend they are unimplemented. Lets remove them.

These functions were needed for the following features / reasons:

  • differences between v8 and JSC
  • detecting if features were available or not "canFoo*"
  • live script editing
  • snippet support
  • script preprocessor, a script that can analyze any Script evaluated in the JS engine

We can implement these ourselves if/when we decide to add such features. Right now all of this code is stale / unimplemented.
Comment 1 Joseph Pecoraro 2014-01-10 14:47:01 PST
Created attachment 220891 [details]
[PATCH] Proposed Fix

Note that I leave iOS 7's PageAgent.reload with the optional  scriptPreprocessor parameter. Unlike other times where we retroactively delete whole commands from Legacy Inspector.json files, this is not deleting a whole command, and so I think we should be be explicit about what the backend expected from that method.
Comment 2 Radar WebKit Bug Importer 2014-01-10 15:33:44 PST
Comment 3 WebKit Commit Bot 2014-01-10 15:52:13 PST
Comment on attachment 220891 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 220891

Committed r161691: <http://trac.webkit.org/changeset/161691>
Comment 4 WebKit Commit Bot 2014-01-10 15:52:15 PST
All reviewed patches have been landed.  Closing bug.