RESOLVED DUPLICATE of bug 201176 Bug 200341
[GTK][WPE] Inconsistent reporting of current URI in WebKitWebView:load-changed signal
https://bugs.webkit.org/show_bug.cgi?id=200341
Summary [GTK][WPE] Inconsistent reporting of current URI in WebKitWebView:load-change...
Adrian Perez
Reported 2019-08-01 04:00:30 PDT
Created attachment 375303 [details] Test program, triggers a second load 200ms after the first is committed If a new load is triggered soon after a previous one has reached the WEBKIT_LOAD_COMMITTED state, the next notified WEBKIT_LOAD_STARTED will have the old URL most of the time (9 out of 10 times, at least) instead of the new one being loaded.
Attachments
Test program, triggers a second load 200ms after the first is committed (4.16 KB, text/x-csrc)
2019-08-01 04:00 PDT, Adrian Perez
no flags
Adrian Perez
Comment 1 2019-08-01 04:01:28 PDT
Typical output from the “load-test.c” program (attached): % ./test-load ** Message: 13:57:12.909: Load started <http://apple.com/> ** Message: 13:57:13.443: Load redirected <https://www.apple.com/> ** Message: 13:57:13.810: Load committed <https://www.apple.com/> ** Message: 13:57:14.011: on_load_started_timeout: triggering load for igalia.com ** Message: 13:57:15.135: on_web_view_load_failed: event=committed error=Load request cancelled uri=https://www.apple.com/ web_view_uri=https://www.apple.com/ ** Message: 13:57:15.135: Load finished <https://www.apple.com/> ** Message: 13:57:15.135: Load started <https://www.apple.com/> ** Message: 13:57:15.558: Load redirected <https://www.igalia.com/> ** Message: 13:57:15.842: Load committed <https://www.igalia.com/> ** Message: 13:57:18.322: Load finished <https://www.igalia.com/>
Adrian Perez
Comment 2 2019-08-01 04:05:05 PDT
A couple of times I have also seen the new URL being used for the WEBKIT_LOAD_FINISHED of the previous page load. I don't seem to be able of getting that today (it's much less frequent), but I have this log saved from yesterday: ** Message: 18:39:03.581: Load started <http://apple.com/> ** Message: 18:39:03.587: Load redirected <https://www.apple.com/> ** Message: 18:39:04.395: Load committed <https://www.apple.com/> ** Message: 18:39:04.596: on_load_started_timeout: triggering load for igalia.com ** Message: 18:39:04.599: on_web_view_load_failed: event=committed error=Load request cancelled ** Message: 18:39:04.599: Load finished <https://igalia.com/> ** Message: 18:39:04.599: Load started <https://igalia.com/> ** Message: 18:39:05.042: Load redirected <https://www.igalia.com/> ** Message: 18:39:05.297: Load committed <https://www.igalia.com/>
Carlos Garcia Campos
Comment 3 2019-08-29 03:34:02 PDT
I think this has been fixed by r249193. Could you confirm?
Adrian Perez
Comment 4 2019-09-03 03:26:13 PDT
(In reply to Carlos Garcia Campos from comment #3) > I think this has been fixed by r249193. Could you confirm? Yes, it has been fixed for the test program attached to the bug, and I can confirm that it also fixes the issue for the bigger program where I noticed this before. \o/
Adrian Perez
Comment 5 2019-09-03 03:26:53 PDT
*** This bug has been marked as a duplicate of bug 201176 ***
Note You need to log in before you can comment on or make changes to this bug.