Bug 191284 - [iOS] REGRESSION: Fragment navigation inside cross-origin frameset frame does not work
Summary: [iOS] REGRESSION: Fragment navigation inside cross-origin frameset frame does...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad iOS 12
: P2 Normal
Assignee: Nobody
URL: http://www.microconcepts.com.au/italk...
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2018-11-05 15:04 PST by Daniel Bates
Modified: 2018-11-05 23:28 PST (History)
4 users (show)

See Also:


Attachments
LayoutTest (2.50 KB, patch)
2018-11-05 17:15 PST, Daniel Bates
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2018-11-05 15:04:40 PST
Seen on iOS 12.

Perform the following:

1. Visit <http://www.microconcepts.com.au/italkaussie/data/italkaussiehelp-en.htm>.
2. Click one of the list item hyperlinks at the top of the page, e.g. Sounds.

Then nothing happens. But the page should have scrolled to section Sounds.
Comment 1 Daniel Bates 2018-11-05 15:04:48 PST
<rdar://problem/12344117>
Comment 2 Daniel Bates 2018-11-05 15:07:07 PST
Notice that the web page with the hyperlinks is in a frame loaded in a frames. If you visit the page directly <http://users.tpg.com.au/mpinnuck/iTalkAussie/Data/iTalkAussieHelp-en.htm> and click one of the hyperlinks then we scroll to the section as expected. So, we do not seem to scroll to anchors in a framed page. And this behavior is consistent with the failure of  test http/tests/navigation/anchor-frames-same-origin.html on iOS.
Comment 3 Daniel Bates 2018-11-05 15:09:28 PST
This regressed in iOS 6.
Comment 4 Daniel Bates 2018-11-05 16:04:42 PST
(In reply to Daniel Bates from comment #2)
> Notice that the web page with the hyperlinks is in a frame loaded in a
> frames.[...]

*frameset

> And this behavior
> is consistent with the failure of  test
> http/tests/navigation/anchor-frames-same-origin.html on iOS.

Disregard this remark.
Comment 5 Daniel Bates 2018-11-05 17:15:36 PST
Created attachment 353931 [details]
LayoutTest
Comment 6 Simon Fraser (smfr) 2018-11-05 22:00:58 PST
Pretty sure this is about the "if (delegatesScrolling())" checks in coordinate conversion methods. See bug 164512, bug 176451 etc.
Comment 7 Daniel Bates 2018-11-05 23:28:47 PST
Comment on attachment 353931 [details]
LayoutTest

View in context: https://bugs.webkit.org/attachment.cgi?id=353931&action=review

> LayoutTests/http/tests/navigation/frameset-cross-origin-frame-scrolls-to-anchor.html:13
> +<frame src="http://127.0.0.1:8000/navigation/resources/frameset-scroll-to-anchor.html">

127.0.0.1 should be localhost