If the injected script cannot be parsed as a ScriptObject, the current behavior is to crash some time later. This patch adds a release assertion after trying to inject the script, and dumps the injected script source text that was embedded into the binary.
Created attachment 260523 [details] Proposed Fix
Comment on attachment 260523 [details] Proposed Fix Clearing flags on attachment: 260523 Committed r189295: <http://trac.webkit.org/changeset/189295>
All reviewed patches have been landed. Closing bug.
<rdar://problem/22569879>