Chromium Code Reviews
DescriptionFixes bug where recreating the document element via altering |documentElement.innerHTML| would cause ExtensionHost::DocumentAvailableInMainFrame to be called more than once for a single RenderViewHost. Since setup is performed within that function that does not need to be done more than once (and cannot be since it registers for notifications from all sources), we check to see if setup has been performed and bail if so.
BUG=31170
TEST=Install the eBay extension (id khhckppjhonfmcpegdjdibmngahahhck ) and click on the browser action button in Debug mode. It should not hit the DCHECK from registering redundant notifications.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35479
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||