On Monday morning we (Mozilla) detected a very large crash spike affecting #Firefox users on Linux, specifically on an older version of a Debian-based distribution. It turned out to be an interesting bug involving the #Linux kernel and #Google JavaScript code so let me tell you about it. A thread 🧵

  • monobot@lemmy.ml
    link
    fedilink
    arrow-up
    4
    arrow-down
    12
    ·
    1 year ago

    I love Firefox and understand that making modern web browser is monumentally complex, but browser should not crash what ever some website does.

    That said, my Fennec is having problem with googlw images.

    • Spectacle8011@lemmy.comfysnug.space
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      1 year ago

      but browser should not crash what ever some website does.

      Sometimes crashing would be better than trying to beat wonky code into shape: https://samy.pl/myspace/tech.html

      1. Sweet! Now we can do javascript with single quotes. However, myspace strips out the word “javascript” from ANYWHERE. To get around this, some browsers will actually interpret “java\nscript” as “javascript” (that’s java<NEWLINE>script). Example: <div id=“mycode” expr=“alert(‘hah!’)” style=“background:url(‘java script:eval(document.all.mycode.expr)’)”>

      But on principle I agree. I can’t say whether Google Images works or not on my Firefox browser, because I’m using Mojeek.

      • monobot@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        True, sometimes it is unavoidable.

        But this looks like kernel issue, it is fixed in kernel 4.20.

    • Atemu@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      my Fennec is having problem with googlw images

      Interesting, mine isn’t. My FP4 is running 4.19, so it shouldn’t have the fix.

      I use nightly though, so perhaps the fix is already in FF?

      • monobot@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I just updated it and is working nicely againg, thanks for recommendation.