Even when you add your extension id to the Drop-Ins Domain list, triggering the Saver Drop-In from a Chrome extension currently results in an "Unable to communicate with the parent window" error because for all popups triggered from a Chrome Extension, the window.opener variable in the popup will be NULL.
Does anyone have an elegant solution for resolving this? So far the only potential fix I can see is generally a no-no with Chrome Extensions:
- Open a new page (perhaps in an IFrame) from a domain that is on your "Drop-ins domains" list.
- Include a Content Script in that page that injects (via "<script>" tags) the Dropbox saver code into the DOM of the page (as opposed to just running in the sandboxed extension DOM).