[Webkit-unassigned] [Bug 105727] New: Web Inspector: Support inspector file system access with isolated file system through InspectorFrontendHost.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 24 09:34:12 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=105727
Summary: Web Inspector: Support inspector file system access
with isolated file system through
InspectorFrontendHost.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: vsevik at chromium.org
CC: keishi at webkit.org, pmuellr at yahoo.com,
pfeldman at chromium.org, yurys at chromium.org,
apavlov at chromium.org, loislo at chromium.org,
vsevik at chromium.org,
web-inspector-bugs at googlegroups.com
Inspector needs file system access to allow developers edit/add sources (even those that are not loaded from server, e.g. deployment descriptors, server scripts).
We plan to use File System API (isolated file system).
FileSystem access request is implemented through InspectorFrontendHost methods and InspectorFrontendAPI callbacks.
InspectorFrontendHost.canAccessFileSystem() - Returns true if file system access is implemented for this embedder.
InspectorFrontendHost.requestFileSystemPermissions() - This method should be called once on inspector start.
InspectorFrontendAPI.fileSystemPermissionsLoaded(fileSystems) - This method is called once isolated file systems are registered, and provides inspector with all necessary information.
void selectFolderAndGrantFileSystemPermission() - Requests embedder to show user select file dialog and register selected dialog as a file system.
InspectorFrontendAPI.fileSystemFolderSelected(errorMessage, fileSystem) - This method is called after user action.
void revokeFileSystemPermission(in DOMString fileSystemPath) - Requests embedder to revoke registered isolated file system.
InspectorFrontendAPI.fileSystemFolderPermissionsRevoked(fileSystemPath) - revoke callback.
DOMFileSystem isolatedFileSystem(in DOMString fileSystemId, in DOMString registeredName) - Creates javascript DOMFileSystem object.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list