Bug 25726
| Summary: | Web Inspector Enhancements: Javascript console, Elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Conrad Taylor <conradwt> |
| Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Enhancement | CC: | bburg, conradwt, pbakaus, pmuellr |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Conrad Taylor
It would be great to be able to do the following:
a) invoke the Javascript console from the status bar
b) be able to open Javascript text input area that has the following actions:
run, copy, clear. This is similar to Firebug. Also, it may be possible to
enhance the existing Scripts area to allow this functionality in addition to
the debug feature that's already there.
c) be able to edit and save CSS, Javascript, and HTML. If this is a dynamic environment, one should be
able to perform these actions in both docking and undocking of the Web Inspector.
d) I don't know if the Snippet Editor would be really needed if one was able to edit the HTML in
place.
In short, the Javascript, CSS, and HTML associated areas should allow the following:
a) editing
b) saving
c) executing (Javascript only)
d) clearing
e) copying
(a) and (b) simply says that we need to have content ownership for these to work. Maybe, a built in
SSH client to the remote server because this would really be needed if these files were local to the
developer's workstation.
Thanks for listening.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Patrick Mueller
a) and b) (editing and saving) are pretty big ticket items; seems like there's lots of stuff to work out - it will be interesting to see how Bespin handles some of this stuff.
c) (executing) doesn't really make sense. Firefox has a it's console window, but with WebKit it's really more of a REPL. Would an "execute" make sense for a terminal window? Not really.
d) and e) (clearing and copying) make some sense, but not really sure when I'd clear. copy might be useful; you can already manually swipe and copy; might be nice to see the prompt saved as well, and perhaps the styles copied to a rich text form of the clipboard buffer.
Patrick Mueller
woops, there already is a clear function - circle with a line through it in the bottom line of the console.
Timothy Hatcher
There is also clear().
Paul Bakaus
Concerning saving, also have my look at my comments in bug 20663 . It's possible, but pretty tricky.
Blaze Burg
There are too many features here for one bug, and many of them no longer make sense because they exist. Please file a new bug for each missing feature.