web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

chii.liriliri.io - site is not usable

Open easrng opened this issue 2 years ago • 1 comments

URL: https://chii.liriliri.io/front_end/chii_app.html

Browser / Version: Firefox 105.0 Operating System: Windows 10 Tested Another Browser: Yes Chrome

Problem type: Site is not usable Description: Page not loading correctly Steps to Reproduce: On Firefox the page fails to load because it's trying to parse a chrome:// url and Firefox appears to have a stricter definition for what makes a chrome:// url valid than Chrome does.

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

easrng avatar Oct 17 '22 15:10 easrng

It actually also uses some other APIs not implemented in Firefox. This JS will get it like 80% working though:

HTMLElement.prototype.scrollIntoViewIfNeeded=function (){this.scrollIntoView()}
const realURL = URL;
window.URL = class extends realURL {
  constructor(...a){
    a=a.map(url => url.startsWith("chrome:")?"x"+url:url)
    super(...a)
  }
}

easrng avatar Oct 17 '22 15:10 easrng

Thanks for the report, I was able to reproduce the issue. image

Tested with: Browser / Version: Firefox Nightly 108.0a1 (2022-10-17), Firefox Release 105.0.3 Operating System: Windows 10 Pro

Moving to Needsdiagnosis for further investigation.

[qa_42/2022]

softvision-oana-arbuzov avatar Oct 18 '22 08:10 softvision-oana-arbuzov

Funny enough, this page is loading fine for me in today's nightly Firefox build, but not in Firefox 107. Indeed, manually parsing the chrome://newtab URL in the devtools works now. Mozregression tells me it starting working when this bug 1783497 landed, which is going to make it into Firefox 108 in mid-December at this rate.

wisniewskit avatar Nov 17 '22 21:11 wisniewskit