Open Bug 2034355 Opened 27 days ago Updated 6 days ago

rok.lilith.com - The page is blank

Categories

(Web Compatibility :: Site Reports, defect, P3)

Desktop
Windows 10

Tracking

(Webcompat Priority:P3, Webcompat Score:1, firefox150 affected, firefox151 affected, firefox152 affected)

ASSIGNED
Webcompat Priority P3
Webcompat Score 1
Tracking Status
firefox150 --- affected
firefox151 --- affected
firefox152 --- affected

People

(Reporter: rbucata, Assigned: twisniewski)

References

()

Details

(4 keywords, Whiteboard: [webcompat-source:web-bugs])

User Story

user-impact-score:0
platform:windows,mac,linux
impact:site-broken
configuration:general
affects:all
branch:release
diagnosis-team:webcompat

Attachments

(1 file)

Environment:
Operating system: Windows 10
Firefox version: /Firefox 150 / Floorp 12.12.1@149.0.3

Steps to reproduce:

  1. Navigate to: https://rok.lilith.com/
  2. Observe

Expected Behavior:
The page loads

Actual Behavior:
Blank page

Notes:

  • Reproduces regardless of the status of ETP
  • Reproduces in firefox-nightly, and firefox-release
  • Does not reproduce in chrome

Created from https://github.com/webcompat/web-bugs/issues/217349

Chrome mask loads the page

User Story: (updated)
Webcompat Priority: --- → P3
Webcompat Score: --- → 1

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Severity: -- → S2
User Story: (updated)
Webcompat Priority: P3 → P2
Webcompat Score: 1 → 6
Priority: -- → P2
Webcompat Score: 6 → 5

The page appears if I open the debugger or resize the window, so something weird is going on here. Indeed, if I call window.onresize, the page's content appears. I think we should find out why, even if I figure out a good intervention. This is the related code:

$(document).ready(function () {
    const isFirefox = navigator.userAgent.indexOf("Firefox") != -1;
    function resize () {
        const ww = document.documentElement.clientWidth || window.innerWidth;
        let zoom = ww / 1920;
        if (isFirefox) {
            const mlr = (1920 - (zoom * 1920)) / 2;
            $('.mod-responsive').css({
                '-webkit-transform': 'scale(' + zoom + ')',
                '-mod-transform': 'scale(' + zoom + ')',
                'transform': 'scale(' + zoom + ')',
                '-webkit-transform-origin': 'top center',
                '-mod-transform-origin': 'top center',
                'transform-origin': 'top center',
                margin: `-${0}px -${ mlr }px`
            });
            setTimeout(() => {
                const modH = $('.mod-responsive').height() * zoom;
                $('.view').css({'height': `${modH}px`});
            }, 100);
        } else {
            zoom = document.body.clientWidth / 1920;
            $('.mod-responsive').css({ zoom: zoom });
        }
    }
    resize();
    window.onresize = resize;
})

It looks like it ought to be working...

Keywords: leave-open

The problem isn't happening on Android (they don't even have an onresize method there). So I will make this a desktop-only intervention for now.

User Story: (updated)
Webcompat Priority: P2 → P3
Priority: P2 → P3
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Pushed by twisniewski@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/02f2e7bbee65 https://hg.mozilla.org/integration/autoland/rev/fbe2575e3b3b add a desktop-only webcompat intervention for rok.lilith.com; r=ksenia,webcompat-reviewers
Webcompat Priority: P3 → P2
Webcompat Score: 5 → 4
User Story: (updated)
Webcompat Priority: P2 → P3
Webcompat Score: 4 → 1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: