Bug 260016 - Navigation to fragment can interrupts another load
Summary: Navigation to fragment can interrupts another load
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-10 00:22 PDT by Jakub Gocoł
Modified: 2023-08-17 00:23 PDT (History)
1 user (show)

See Also:


Attachments
testcase reproducing the issue (214 bytes, text/html)
2023-08-10 00:22 PDT, Jakub Gocoł
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Gocoł 2023-08-10 00:22:05 PDT
Created attachment 467236 [details]
testcase reproducing the issue

Since this commit (https://github.com/WebKit/WebKit/commit/69e20d2d802478463e4550fc6408156c6ee8aa81#diff-d607936f085c93e3e1113e2c988f664830ab21dbe8351cfc08744a8b5112d473) fragment navigation can interrupt another load, triggered eg from url bar. It's surprising, because now url bar doesn't work 100% reliably. It's the same for WPE webkit, where I originally found this issue, where url is changed through API. Now that api can fail, depending what exactly webpage is doing. 

Reproduction steps:
1. Open navigation_test.html in the browser
2. Switch url to google.com

Expected:
URL will always change to google.com

Actual:
switch to google.com was cancelled. 

Reproduced on WPE webkit 2.38 and on epiphany 44.6-1
Comment 1 Radar WebKit Bug Importer 2023-08-17 00:23:29 PDT
<rdar://problem/114012263>