Michael Hart / Awesome New Tab Page
unread,Aug 2, 2012, 2:54:24 AM8/2/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chromium-...@chromium.org, Mihai Parparita, Michael Hart / Awesome New Tab Page
It's possibly worth noting that I've long suspected that the crashing was caused by Awesome New Tab Page's extensive use of the chrome.extension.sendRequest/chrome.extension.sendMessage API.
Awesome New Tab Page is an extensible extension, so it communicates to other Chrome extensions to find widgets that work with it. To do this, it has to attempt to send a message to all installed extensions (I call this process "poke") and then listens for responses using chrome.extension.onRequestExternal.addListener/chrome.extension.onMessageExternal.addListener (I use this over sendRequest/sendMessage response so that I can validate the sender).
chrome.extension.sendRequest returns an error in the background for every extension it fails to connect to (most extensions don't have a listener). chrome.extension.sendRequest is now deprecated, being renamed to chrome.extension.sendMessage (same for onRequestExternal, which is now onMessageExternal). This API doesn't seem to cause these errors, but unfortunately isn't backwards compatible with the previous API (I made a bug report about this here
crbug.com/139368). Unfortunately, I don't control the extensions 3rd party developers make, so I have to support both for a period of time until most developers can update their "poke" code.
(Sidenote: This happened before the dual stacking the new and old API just as frequently as before, from what I can tell based on user complaints. It's happened since ANTP was first released late 2011).
Anyway, I could be and probably am completely wrong; it may not be related to those APIs at all. In the provided logs, that Chrome install only had Awesome New Tab Page installed and was, roughly, a fresh install (no other extensions to fail to connect to). It's just what I've always suspected, considering that's most of what makes Awesome New Tab Page vastly different from most other Chrome extensions.
I'd be happy to help as much as possible, though. I greatly desire for a day where extensions don't crash. ;)
On Thursday, August 2, 2012 2:33:31 AM UTC-4, PhistucK wrote:
Can you check the logs and assist somehow? Thank you!
On Thu, Aug 2, 2012 at 9:05 AM, Michael Hart / Awesome New Tab Page
<m...@antp.co> wrote: