When extension creation fails, we are likely to crash in SandboxExtension::consumePermanently(). That's too late to diagnose, and also, other SandboxExtension functions handle this situation more gracefully.
Created attachment 191514 [details] proposed fix
Committed <http://trac.webkit.org/changeset/144788>.
<rdar://problem/13269245>