[Webkit-unassigned] [Bug 255682] New: [WPE] requestAnimationFrame stops before script initiated navigation is committed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 19 14:31:58 PDT 2023


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

            Bug ID: 255682
           Summary: [WPE] requestAnimationFrame stops before script
                    initiated navigation is committed
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: yurys at chromium.org
                CC: bugs-noreply at webkitgtk.org

Steps to reproduce:


1. Bring up a web servert that would just hang on requests to http://127.0.0.1/slow.html
2. Navigate to a page with the following content:

```
<body>
<script>
  let i = 1;
  const print = () => {
    document.body.textContent = ('raf #' + i);
    console.log('raf #' + i);
    i++;
    if (i === 5) {
      location.href = 'http://127.0.0.1/slow.html';
    }
    requestAnimationFrame(print);
  }
  print();
</script>
</body>
```

Expected: page keeps running rAF's before new navigation is committed.
Actual: rAF's stop soon after provisional navigation is started.


Note: this has to do with libwpe/wpebackend-fdo. It worked with libwpe-1.8.0/wpebackend-fdo-1.8.0 and stopped working after switching the deps to libwpe-1.14.0/wpebackend-fdo-1.14.0.

-- 
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/20230419/9a519547/attachment.htm>


More information about the webkit-unassigned mailing list