Open Bug 1987855 Opened 11 months ago Updated 5 months ago

app.paper.design - Firefox is not supported

Categories

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

Desktop
Linux

Tracking

(Webcompat Priority:P2, Webcompat Score:5, firefox142 affected, firefox143 affected, firefox144 affected)

Webcompat Priority P2
Webcompat Score 5
Tracking Status
firefox142 --- affected
firefox143 --- affected
firefox144 --- affected

People

(Reporter: rbucata, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: webcompat:contact-in-progress, webcompat:platform-bug, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs][webcompat:diagnosis:platform-bug])

User Story

platform:windows,mac,linux,android
impact:blocked
configuration:general
affects:all
branch:release
diagnosis-team:webcompat
user-impact-score:200
outreach-assignee:ksenia
outreach-contact-date:2025-11-05
outreach-reference:https://github.com/webcompat/web-bugs/issues/176279#issuecomment-3493948522

Environment:
Operating system: Linux
Firefox version: Firefox 142.0

Steps to reproduce:

  1. Navigate to: https://app.paper.design/playground/heatmap
  2. Observe

Expected Behavior:
Page loads

Actual Behavior:
Browser unsupported message blocks access

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/176279

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: --- → P2
Webcompat Score: --- → 6
Priority: -- → P2
Webcompat Score: 6 → 5

I'm able to bypass the blocking screen when using UA string override, however the apple logo in the demo section is not rendered and I'm getting an error:

Unable to initialize the shader program: Uniform u_imageAspectRatio is not linkable between attached shaders.

This appears to be caused by the difference in u_imageAspectRatio uniform precision in vertex and fragment shaders.

Vertex:

XCe =  #version 300 es
precision mediump float;
...
uniform float u_imageAspectRatio;

Fragment:

R4e = #version 300 es
precision highp float;
....
uniform float u_imageAspectRatio;

When the same uniform name is declared in both shaders with no per-variable precision, it inherits the stage defaults and it must match in type and precision, but here the two are mismatched (mediump and highp), so the error makes sense.
It appears that while u_imageAspectRatio is defined in the fragment shader, it's not actually used. So the difference here is that Chrome seems to prune the unused fragment-side uniform and links successfully while Firefox won’t link even when the uniform is unused.

If I replace the u_imageAspectRatio precision with highp for both shaders, the logo loads and I'm able to use controls on the right to adjust animation parameters:

    const fixAspect = (src) =>
        src.replace(
            /\buniform\s+(?:(?:lowp|mediump|highp)\s+)?float\s+u_imageAspectRatio\b/g,
            `uniform highp float u_imageAspectRatio`
        );

    t = fixAspect(t);
    n = fixAspect(n);

The site could remove the declaration of u_imageAspectRatio from the fragment shader to fix the problem.
This won't be trivial to site patch and given the unsupported block there could be other issues, so the best course of action is to contact them.

I'll file a separate bug for the difference in Chrome and Firefox behaviour in case it worth further investigation.

I've filed bug1998542, but looks like the site has changed and the error is not reproducible anymore. I tried to use the app with the Chrome mask in Firefox and don't see any issues/ differences from Chrome. Will try to reach out to someone from https://github.com/paper-design on GitHub to see if there are any specific known problems preventing Firefox support.

Whiteboard: [webcompat-source:web-bugs] → [webcompat-source:web-bugs][webcompat:diagnosis:platform-bug]
You need to log in before you can comment on or make changes to this bug.