[REGRESSION][WPE] requestAnimationFrame stops before script initiated navigation is committed
https://bugs.webkit.org/show_bug.cgi?id=255682
Summary [REGRESSION][WPE] requestAnimationFrame stops before script initiated navigat...
Yury Semikhatsky
Reported 2023-04-19 14:31:58 PDT
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.
Attachments
Yury Semikhatsky
Comment 1 2023-04-19 20:41:58 PDT
It seems that it regressed somewhere between wpebackend-fdo 1.8.0 (good) and 1.8.4 (broken).
Yury Semikhatsky
Comment 2 2023-04-20 10:19:07 PDT
Note You need to log in before you can comment on or make changes to this bug.