[Webkit-unassigned] [Bug 229058] [ Mac wk1 ] imported/w3c/web-platform-tests/FileAPI/url/url-in-tags.window.html is flaky failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 13 16:37:32 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=229058

--- Comment #6 from Chris Dumez <cdumez at apple.com> ---
(In reply to Chris Dumez from comment #5)
> I see, before r280824, this subtest was timing out. In r280824, it stopped
> timing out for me so I rebaselined the test. However, it seems the subtest
> is still flakily timing out for WK1.

What this subtest does it trying to load a Blob URL with a fragment identifier in an iframe and check that we're getting a scroll event (because we should have scrolled to the element with the identifier matching the fragment).

The test was reliably timing out before r280824 because we would create a new Blob URL and the new Blob URL would be missing the fragment.

After r280824, we stopped loosing the fragment of the Blob URL since we keep using the original Blob URL. The test started passing for WK2 at least (and flakily for WK1).

However, the WK1 flakiness doesn't seem related to blob support.
I added some logging and when the test times out, I see that:
- frame document URL is: blob:http://localhost:8800/35d0da6b-c699-4906-9a9a-8eed3fdb876b#block2 (which is correct and has the fragment).
- frame.contentDocument.documentElement.innerHTML is:
```
<head><meta charset="utf-8">
<style>body { margin: 0; } .block { height: 5000px; }</style>
</head><body>
<a id="block1"></a><div class="block"></div>
<a id="block2"></a><div class="block"></div></body>
```
so the blob properly loaded in the iframe.

However, frame.contentWindow.scrollY is 0, meaning that WK1 does not reliably scroll in this test even though the content is correct and the URL contains the fragment.

Seems like a WK1 scrolling issue, not a Blob issue and not really a regression from r280824. r280824 merely enabled the subtest to run by fixing the Blob URL bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210813/6fd9a961/attachment-0001.htm>


More information about the webkit-unassigned mailing list