When a plugin sets a script exception on an object that isn't a javascript object, we would usually attempt to log it to the javascript console. However, if there isn't a javascript context (e.g. the page doesn't contain any javascript) then v8 isn't initialized enough to pass the error on. In this situation, we should throw the error away rather than crashing.
Created attachment 49799 [details] Patch 1
Comment on attachment 49799 [details] Patch 1 LGTM. Thanks! Do you need commit-queue+ as well?
Yes please. That'd be great.
Comment on attachment 49799 [details] Patch 1 Is this covered by existing regression tests? Please add add a test if it's not. r-, since there is no test, and no explanation why one isn't necessary.
V8 is gone from WebKit.