Web Inspector: [SuggestBox] SuggestBox not hidden when prefix is empty and there is preceding input
https://bugs.webkit.org/show_bug.cgi?id=109568

Reviewed by Vsevolod Vlasov.

The suggestbox would get hidden in the case of empty input, yet it should get hidden
in the case of empty user-entered prefix (which is a wider notion.)

* inspector/front-end/TextPrompt.js:
(WebInspector.TextPrompt.prototype.complete):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Get rid of unnecessary complexity in FileSystemUtil: remove _getDirectory() method.
https://bugs.webkit.org/show_bug.cgi?id=109567

Reviewed by Alexander Pavlov.

The code in this method was redundant as the same result could be achieved by using File System API directly.

* inspector/front-end/FileSystemProjectDelegate.js:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142612 268f45cc-cd09-0410-ab3c-d52691b4dbfc