The release assertion in canExecuteScript is hit when scripts are executed while restoring a document from a page cache. <rdar://problem/35656072>
Created attachment 331831 [details] Fixes the crash
Thanks for the review!
Committed r227280: <https://trac.webkit.org/changeset/227280>