Bug 66196 - Web Inspector: [protocol] LiveEdit does not report about a new script
: Web Inspector: [protocol] LiveEdit does not report about a new script
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated)
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To: Nobody
Depends on:
  Show dependency treegraph
Reported: 2011-08-13 14:22 PDT by Peter Rybin
Modified: 2014-12-12 14:11 PST (History)
9 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Peter Rybin 2011-08-13 14:22:29 PDT
-- create a script with a function;
-- in live edit add a function parameter; save;

protocol reports that new script appears

protocol doesn't mention a new script

-- reconnect debugger; see that the new script is there (named "...(old)")
Comment 1 Yury Semikhatsky 2011-08-15 02:42:15 PDT
The problem here is that when the script is edited we enter debugger context before calling Debug.LiveEdit.SetScriptSource and the context is used to compile the new script which is wrong. Instead live-edit code should compute the context where the original script has been compiled and use it for compiling the new script.
Comment 2 Brian Burg 2014-12-12 14:11:00 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.