WebKit2 clears the WebPageProxy's pendingAPIRequestURL when a provisional load starts, but does not clear it on an in-page anchor navigation. In-page anchor navigations never cause a provisional load to start, so the pendingAPIRequestURL is never cleared. This causes trouble for clients that test for a pendingAPIRequestURL later. In Radar as <rdar://problem/9420520>.
Created attachment 93130 [details] Patch to add a call to clearPendingAPIRequestURL for in-page anchor navigations
Attachment 93130 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1 Source/WebKit2/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 93130 [details] Patch to add a call to clearPendingAPIRequestURL for in-page anchor navigations Need to include the bugs.webkit.org bug number too.
Comment on attachment 93130 [details] Patch to add a call to clearPendingAPIRequestURL for in-page anchor navigations Bug URL, I mean.
Created attachment 93133 [details] Added bugzilla bug number to ChangeLog
Fixed in r86240.