Summary: | Web Inspector should allow live editing of JavaScript code | ||
---|---|---|---|
Product: | WebKit | Reporter: | Gavin Sherlock <gsherloc> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Enhancement | CC: | chris, cigitia, darwin, dev+webkit, inspector-bugzilla-changes, jschoi, webkit, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Description
Gavin Sherlock
2007-12-17 09:13:44 PST
Until something is decided about this enhancement, might I suggest looking at the plug-in 'SafariStand' if you haven't already. SafariStand has a 'site alteration' feature which allows you to do live source editing. (In reply to comment #1) > Until something is decided about this enhancement, might I suggest looking at > the plug-in 'SafariStand' if you haven't already. SafariStand has a 'site > alteration' feature which allows you to do live source editing. > From our wiki - <http://trac.webkit.org/projects/webkit/wiki/FAQ>: "Extensions are completely unsupported with any version of Safari/WebKit. To provide their functionality, extensions rely on private APIs and implementation details that often change and cause the extensions to break. There have been many changes to WebKit since the currently released version and the way extensions deal with changes and errors varies greatly, with many crashing often." Bug 17224 added support for editing text nodes and DOM attributes. You still can't insert/remove arbitrary elements easily however. Bug 30337 added support for deleting elements. But inserting elements is still not implemented. I think this is more about editing a resource and using it instead of the server copy instead of editing the DOM. This has been possible for a long time in Chrome and Safari. This is labeled as as Status new, but assume it was simply never closed when the functionality was added. This bug refers to editing of JavaScript source, which isn't supported right now. It would require significant efforts in the JSC engine and Web Inspector UI. See also: #166895 ”Web Inspector: Cannot edit source code of HTTP or JS resources served via HTTP” (https://bugs.webkit.org/show_bug.cgi?id=166895), #136515 ”Web Inspector: JavaScript source text editor should have a linter“ (https://bugs.webkit.org/show_bug.cgi?id=136515). |