Patch to follow.
Created attachment 91302 [details]
Comment on attachment 91302 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=91302&action=review
> + if (!resource.statusCode || resource.statusCode === 200 || resource.statusCode === 304)
Can we use something like hasContent instead of this check? Also, note that responses like 404 may contain custom html code explaining the error.
Created attachment 91311 [details]
Created attachment 91483 [details]
Comment on attachment 91483 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=91483&action=review
> +Tests resource tree model on iframe navigation.
Please describe what should be treated as a correct result, it's hard to guess it from the test output.
> + this._subframes[frame.parentId] = subframes;
Is it possible that the frame is the main frame?
Committed r85184: <http://trac.webkit.org/changeset/85184>
http://trac.webkit.org/changeset/85184 might have broken Qt Linux Release
The following tests are not passing: