Bug 112557

Summary: [GTK][WK2] Load get stuck opening the same custom scheme URI twice
Product: WebKit Reporter: Manuel Rego Casasnovas <rego>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: bugs-noreply, cgarcia, mcatanzaro, mrobinson, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Example unit test to reproduce the issue none

Description Manuel Rego Casasnovas 2013-03-18 04:24:44 PDT
With the patch for adding "about:" URIs support to MiniBrowser (see bug #112419), you can reproduce the issue launch MiniBrowser with the same "about:" URI twice:
$ Tools/Scripts/run-launcher --gtk -2 about:foo about:foo

Then if you are connected to the "load-changed" signal, you'll see that the load never finishes for one of the views.

It seems similar to but #112418, however with the patch provided there this issue is still present, so maybe it could be related with specific custom scheme URIs code.
Comment 1 Manuel Rego Casasnovas 2013-03-18 04:30:00 PDT
Created attachment 193525 [details]
Example unit test to reproduce the issue
Comment 2 Manuel Rego Casasnovas 2013-03-18 06:30:06 PDT
(In reply to comment #0)
> It seems similar to bug #112418, however with the patch provided there this issue is still present, so maybe it could be related with specific custom scheme URIs code.

The issue is different as the code related to the patch for bug #112418 is not used when browsing the "about:" URIs.

Anyway, the issue has some similarities as WebFrameLoaderClient::dispatchDidReceiveResponse() is only called for one URI and not the other.