Reduction: <body> <iframe></iframe> <script> testRunner.dumpAsText(); var doc = frames[0].document; doc.open(); doc.close(); console.log(doc.body); </script> This outputs "null" with the threaded parser and non-null without.
Just have to make sure you pump at least once for the body to be created. Presumably for this script created parser we are failing to pump during flush, etc. We should have had code for this?
Created attachment 189638 [details] Patch
Comment on attachment 189638 [details] Patch You could have had it spit out "PASS" instead. :) But LGTM.
Comment on attachment 189638 [details] Patch Alright
Created attachment 189640 [details] Patch for landing
Comment on attachment 189640 [details] Patch for landing Clearing flags on attachment: 189640 Committed r143670: <http://trac.webkit.org/changeset/143670>
All reviewed patches have been landed. Closing bug.