Bug 48963 - Web Inspector: Enable file system UI for chromium
Summary: Web Inspector: Enable file system UI for chromium
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-03 16:57 PDT by Kavita Kanetkar
Modified: 2011-02-08 05:58 PST (History)
14 users (show)

See Also:


Attachments
patch (78.01 KB, patch)
2010-11-03 17:27 PDT, Kavita Kanetkar
no flags Details | Formatted Diff | Diff
[IMAGE] Present looks. (117.54 KB, image/png)
2010-11-06 13:16 PDT, Pavel Feldman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kavita Kanetkar 2010-11-03 16:57:11 PDT
Enable this only for chromium.
Comment 1 Kavita Kanetkar 2010-11-03 17:27:17 PDT
Created attachment 72889 [details]
patch

In chromium File System can be disabled using --disable-file-system. Propagating that information to inspector UI.
Comment 2 Adam Barth 2010-11-04 15:07:27 PDT
Comment on attachment 72889 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=72889&action=review

I wish we had more tests for the inspector...

> WebCore/inspector/front-end/FileSystemView.js:125
> +    },

Missing a blank line after this line?
Comment 3 Kavita Kanetkar 2010-11-04 15:20:31 PDT
Thanks. I am working on tests for inspector in the next patch.
Comment 4 WebKit Commit Bot 2010-11-04 16:34:38 PDT
Comment on attachment 72889 [details]
patch

Clearing flags on attachment: 72889

Committed r71366: <http://trac.webkit.org/changeset/71366>
Comment 5 WebKit Commit Bot 2010-11-04 16:34:43 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Pavel Feldman 2010-11-05 06:24:19 PDT
Adam, I'd appreciate if you could talk to the inspector reviewers / contributors prior to blessing enabling a new feature in the UI. Have you seen the screenshots of the functionality?
Comment 7 Adam Barth 2010-11-05 11:47:02 PDT
(In reply to comment #6)
> Adam, I'd appreciate if you could talk to the inspector reviewers / contributors prior to blessing enabling a new feature in the UI. Have you seen the screenshots of the functionality?

I'm sad that the inspector is its own world inside of WebKit.  I'll be more communicative in the future.
Comment 8 Kavita Kanetkar 2010-11-05 11:53:00 PDT
I can set Preferences.enableFileSystem to false until you are happy with the UI.
But this patch also had 1) detecting whether or not File System is disabled and 2) calling the new readFileSystem instead of requestFileSystem which does not create root directory if it does not exist. Thanks.
Comment 9 Pavel Feldman 2010-11-05 12:07:59 PDT
> I'm sad that the inspector is its own world inside of WebKit.  I'll be more communicative in the future.

Inspector is not more its world than HTML parser, DOM bindings or DB. It is just that when you become a WebKit reviewer, you take responsibility to r+ only changes in the area of your competence / expertise, being fully aware of the context of what's happening. It is not the first time I can see you either r+-ing or r- -ing changes without much context in the inspector feature. This time you approved unhiding of a feature without knowing what it looks like. Hence I bring it up.

I can give you a handful of names of people that are aware of the context in the inspector feature set, or you can use the tool you are authoring to find them out.
Comment 10 Adam Barth 2010-11-05 12:28:25 PDT
I followed up with Pavel directly.  I'm going to try to engage more with the inspector part of the project by writing some code rather than by commenting on bugs / reviewing patches.
Comment 11 Pavel Feldman 2010-11-06 13:16:01 PDT
Created attachment 73175 [details]
[IMAGE] Present looks.

I think it is worth hiding FS support behind the flag until UI is fixed and there is a user-friendly message for no FS case.
Comment 12 Timothy Hatcher 2010-11-06 16:26:33 PDT
I agree.
Comment 13 Pavel Feldman 2010-11-06 23:43:50 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebKit/chromium/ChangeLog
	M	WebKit/chromium/src/js/DevTools.js
Committed r71478
Comment 14 Pavel Feldman 2011-02-08 05:58:23 PST
This functionality is on hold until we know what we want here (i.e. API itself is stable).