Add InspectorIndexedDBAgent and IndexedDBModel, pass database names to inspector. This patch contains - new InspectorIndexedDBAgent backend boilerplate - new IndexedDBModel front-end boilerplate - proposed implementation of getDatabaseNames for all frames.
Created attachment 122407 [details] Patch
This implementation is ready to review. Known issues: - xcode project is not yet updated. - There are no tests, I am going to add tests separately, once I implement ResourcePanel - IndexedDBModel interaction.
Comment on attachment 122407 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=122407&action=review > Source/WebCore/inspector/Inspector.json:111 > + { "name": "securityOrigin", "type": "string", "description": "Frame document's security origin." }, Should we make this field optional? > Source/WebCore/inspector/InspectorIndexedDBAgent.cpp:2 > + * Copyright (C) 2011 Google Inc. All rights reserved. 2012 > Source/WebCore/inspector/InspectorIndexedDBAgent.cpp:110 > + RefPtr<InspectorObject> result = InspectorObject::create(); You should use new generated API for front-end messages. > Source/WebCore/inspector/InspectorIndexedDBAgent.cpp:166 > + m_enabled = true; I don't introduce these unless performance matters. > Source/WebCore/inspector/InspectorIndexedDBAgent.h:2 > + * Copyright (C) 2011 Google Inc. All rights reserved. 2012 > Source/WebCore/inspector/front-end/IndexedDBModel.js:2 > + * Copyright (C) 2011 Google Inc. All rights reserved. 2012 > Source/WebCore/inspector/front-end/IndexedDBModel.js:203 > + Extra blank line.
Committed r104935: <http://trac.webkit.org/changeset/104935>
Committed r104940: <http://trac.webkit.org/changeset/104940>