On Chromium, it is useful to make this callback synchronously. These are some small changes to stop asserts from happening in this case.
Created attachment 38587 [details] Proposed fix.
Comment on attachment 38587 [details] Proposed fix. r=me
Committed as http://trac.webkit.org/changeset/47770