I've noticed that after r247851, the pending API request URL is cleared for subresources in some cases.
Created attachment 377327 [details] Patch
Comment on attachment 377327 [details] Patch Clearing flags on attachment: 377327 Committed r249142: <https://trac.webkit.org/changeset/249142>
All reviewed patches have been landed. Closing bug.
<rdar://problem/54749832>
This caused bug #201544. (In reply to Carlos Garcia Campos from comment #0) > I've noticed that after r247851, the pending API request URL is cleared for > subresources in some cases. What did that break?
(In reply to Michael Catanzaro from comment #5) > This caused bug #201544. > > (In reply to Carlos Garcia Campos from comment #0) > > I've noticed that after r247851, the pending API request URL is cleared for > > subresources in some cases. > > What did that break? See bug #200341. The thing is that when a new page starts while the previous one didn't finish, the active URL changes after webkit_kit_web_view_load_uri() and before load-failed because the pending API request URL is reset by a subresoure load of the still ongoing load. So, what happens is that load-failed reports the failing URI correctly, but the active URL is also the failing one, but it should be the new one after webkit_kit_web_view_load_uri(). I'm writing a unit test.