RESOLVED FIXED Bug 97012
Web Inspector: [Extensions API] postpone requests to add extensions until extension server is initialized
https://bugs.webkit.org/show_bug.cgi?id=97012
Summary Web Inspector: [Extensions API] postpone requests to add extensions until ext...
Andrey Kosyakov
Reported 2012-09-18 06:25:07 PDT
Currently, requests to add extensions may arrive before we actually request extensions list in ExtensionServer.initExtensions(). One reason for that is chromium (InspectorExtensionsRegistry.getExtensionsAsync() is a no-op, we always send the extension list from the browser), another potential code path is remote front-end extensions using window.addExtension(). This may lead to extensions sending requests before extension subsystem is initialized (i.e. we install event listeners etc). Thanks to johnjbarton@chromium.org for investigating this.
Attachments
Patch (2.89 KB, patch)
2012-09-18 06:28 PDT, Andrey Kosyakov
vsevik: review+
Andrey Kosyakov
Comment 1 2012-09-18 06:28:36 PDT
Andrey Kosyakov
Comment 2 2012-09-18 07:14:01 PDT
Note You need to log in before you can comment on or make changes to this bug.