Hi, when a javascript alert is shown before all http request are done, a assertion is raised. Load testcase url in GtkLauncher to reproduce.
I think that error is happening due to the current implementation of deferred loading.
Created attachment 102522 [details] proposed patch
Comment on attachment 102522 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=102522&action=review > Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:708 > + if ((soupMessage->status_code == SOUP_STATUS_NONE) || (soupMessage->status_code ==SOUP_STATUS_OK)) You are missing a space after the second ==. Shouldn't it be != too?
Created attachment 102759 [details] proposed patch
Comment on attachment 102759 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=102759&action=review > Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:369 > + ResourceHandleInternal* d = handle->getInternal(); > + d->m_finished = true; This can be one line.
Committed r92271: <http://trac.webkit.org/changeset/92271>
Re-opening this issue because I still see this problem with Epiphany on boingboing.net.
Created attachment 109401 [details] Patch
Philippe, do you mind doing a review for this?
(In reply to comment #8) > Created an attachment (id=109401) [details] > Patch The patch is fine for me BTW.
Comment on attachment 109401 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=109401&action=review > Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:-708 > - if (d->m_finished || soupMessage->status_code == SOUP_STATUS_NONE) It's not immediately obvious why it's OK to remove the status_code check, so please add a comment in the ChangeLog about it.
Committed r96715: <http://trac.webkit.org/changeset/96715>