Bug 54414

Summary: [GTK] testwebdatasource test fails in the bots
Product: WebKit Reporter: Alejandro G. Castro <alex>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkitbugs.20.dsurawicz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Proposed patch xan.lopez: review+

Alejandro G. Castro
Reported 2011-02-14 14:51:44 PST
Apparently the uri we get from soup_message_get_uri is not the same we pass to the load uri API: ERROR:../../Source/WebKit/gtk/tests/testwebdatasource.c:95:notify_load_status_cb: assertion failed (webkit_network_request_get_uri(request) == "http://webkit.org/"): ("http://www.webkit.org/" == "http://webkit.org/") It gets the uri the server returns when loading. It works just when the loading process fails (cancelled in this case) because the assertion is not checked, it fails randomly, probably depending on the time the site takes to answer and if it comes before or after the timeout.
Attachments
Proposed patch (2.87 KB, patch)
2011-02-14 15:04 PST, Alejandro G. Castro
xan.lopez: review+
Alejandro G. Castro
Comment 1 2011-02-14 15:04:21 PST
Created attachment 82368 [details] Proposed patch
Xan Lopez
Comment 2 2011-02-14 15:08:18 PST
Comment on attachment 82368 [details] Proposed patch Hum, I guess that's OK :)
Alejandro G. Castro
Comment 3 2011-02-14 15:52:21 PST
Martin Robinson
Comment 4 2011-02-19 11:02:23 PST
*** Bug 54731 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.