It uses onerror events but these have no explicit ordering.
Created attachment 105839 [details] Patch
Committed as http://trac.webkit.org/changeset/94238