Open Bug 1956760 Opened 1 year ago Updated 6 days ago

sandboxels.r74n.com - Glow effect does not work

Categories

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

Firefox 138
Desktop
Windows 10

Tracking

(Webcompat Priority:P3, Webcompat Score:1, firefox136 affected, firefox137 affected, firefox138 affected)

ASSIGNED
Webcompat Priority P3
Webcompat Score 1
Tracking Status
firefox136 --- affected
firefox137 --- affected
firefox138 --- affected

People

(Reporter: ctanase, Assigned: twisniewski)

References

()

Details

(4 keywords, Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success])

User Story

platform:windows,mac,linux,android
impact:unsupported-feature
configuration:general
affects:some
branch:release
diagnosis-team:graphics
user-impact-score:0
autowebcompat-repro-status:success
autowebcompat-repro-chrome-mask-fixed:true
autowebcompat-repro-channels:nightly,stable,esr
autowebcompat-repro-report-os:all
autowebcompat-intervention-status:success

Attachments

(3 files, 1 external file)

Environment:
Operating system: Windows 10
Firefox version: Firefox 136.0/138

Steps to reproduce:

  1. Go to https://sandboxels.r74n.com/
  2. Click on "MODS".
  3. Type glow.js in the input box and hit Enter.
  4. Click "OK" and refresh the page.
  5. Click on "SPECIAL" and select "MidasTouch".
  6. Click on the canvas to use the selected effect.
  7. Observe the behavior.

Expected Behavior:
The painted pixels are glowing.

Actual Behavior:
The painted pixels are not glowing.

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

Attached video FF vs Chrome.mp4 —
Version: unspecified → Firefox 138

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

Webcompat Score: --- → 1

That's all a giant <canvas>, so this is going to be fun.

Severity: -- → S3
User Story: (updated)
Webcompat Priority: --- → P3
Webcompat Score: 1 → 3
Priority: -- → P3
Whiteboard: [webcompat-source:web-bugs] → [webcompat-source:web-bugs][autowebcompat:processed]
User Story: (updated)
Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success]

With the glow.js mod enabled, painting MidasTouch pixels in Sandboxels produces a bright blurred halo around them in Chrome. In Firefox the same pixels are drawn flat with no halo at all — the glow effect is entirely absent. The mod gates itself on window.chrome and logs "Error: glow.js only works on Chrome or Chromium-based browsers." in Firefox, so none of its glow rendering is installed.

User Story: (updated)
Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:intervention]
Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:intervention] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:intervention-in-progress]

The optional glow.js Sandboxels mod (mods.r74n.com/mods/glow.js) only enables itself if window.chrome is defined, so the glow effect never renders in Firefox. The game, sandboxels.r74n.com, is now served from neal.fun/sandboxels/.

This adds a small bug-specific script. It defines window.chrome = {} only while the glow.js <script> element the game injects is loading and running, and removes it again on load/error. That way the rest of the page, including neal.fun's Cloudflare bot check, never sees a fake window.chrome.

User Story: (updated)
Whiteboard: [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success][autowebcompat:intervention-in-progress] → [webcompat-source:web-bugs][autowebcompat:processed][autowebcompat:repro-success]
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Attachment #9670421 - Attachment description: Bug 1956760 - Add webcompat intervention for sandboxels.r74n.com → Bug 1956760 - Add webcompat intervention for sandboxels.r74n.com; r?ksenia
User Story: (updated)
Keywords: leave-open
User Story: (updated)
Webcompat Score: 3 → 1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: