webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
735 stars 63 forks source link

live.bilibili.com - Unable to scroll for more videos #128835

Open webcompat-bot opened 10 months ago

webcompat-bot commented 10 months ago

URL: https://live.bilibili.com/all

Browser / Version: Firefox 119.0 Operating System: Linux Tested Another Browser: Yes Chrome

Problem type: Design is broken Description: Items not fully visible 项目不完全可见 Steps to Reproduce: When sliding down, it will no longer load. Clicking on "Popular Live" will not be visible

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

sv-calin commented 10 months ago

Thank you for reporting this issue, I was able to reproduce it.

https://github.com/webcompat/web-bugs/assets/107036654/37dddd0e-a05a-47de-b931-dd1740546d9c

Tested on: • Browser / Version: Firefox Nightly 121.0a1 (2023-10-24) / Firefox Release 119 / Chrome 118.0.5993.71 • Operating System: Windows 10 / Ubuntu 22.04 LTS

Notes:

  1. Reproducible on both Firefox Release and Nightly
  2. Sometimes, on Linux I was able to scroll after disabling or setting the ETP to Standard
  3. Not reproducible on Chrome

Moving to Needsdiagnosis.

[qa_43/2023]

denschub commented 10 months ago

This looks like a timing issue. They're depending on a function that is loaded from //s1.hdslb.com/bfs/static/blive/live-region/libs/all-special-area-recommend/@blink-common/component.bfs-utils_2.2.11.js, and they've built their own script loader. Their script loader just calls document.createElement to add a script tag, and it attaches an onload handler to continue execution once that fires (but of course onload doesn't mean the JS is parsed/executed).

I noticed they're trying to preload that JS file, because there's an

<link as="script" href="//s1.hdslb.com/bfs/static/blive/live-region/libs/all-special-area-recommend/@blink-common/component.bfs-utils_2.2.11.js" rel="preload">

in the HTML. I'm not sure if/when we preload those, so I'll have to dig more into that.