Currently we use debug ASSERT and we silently fail. It might be better to reject promises.
Created attachment 319539 [details] Patch
A follow-up patch might want to change a little bit the error handling in the engine. In particular, when we experience a write disk error, the modification in the in-memory representation is already done. In that case, we could: - Wait for write disk completion to make the in-memory change. That seems risky. - Log in the inspector console any WriteDisk error, but not reject promises for that type of error.
Created attachment 319614 [details] Rebasing for landing
Comment on attachment 319614 [details] Rebasing for landing Clearing flags on attachment: 319614 Committed r221483: <http://trac.webkit.org/changeset/221483>
All reviewed patches have been landed. Closing bug.
<rdar://problem/34693908>