New issue
Advanced search Search tips

Issue 773103 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Extension SW: add lazy event support for workers registered other than '/' scope

Project Member Reported by lazyboy@chromium.org, Oct 9 2017

Issue description

Currently, some extensions/ code assumes workers from extensions always come from '/' scope, e.g.:
https://cs.chromium.org/chromium/src/extensions/browser/event_listener_map.cc?rcl=688bd939e3ccbf9ad9d00326b55f52f2b5fce62a&l=249

These would be wrong for "lazy" events that are persisted into prefs.

For event information persisted into ExtensionPrefs, we need to remember worker's scope, so that the correct worker can be started when dispatching its event.
 

Sign in to add a comment