Open Bug 1786268 Opened 2 years ago Updated 5 months ago

Page is broken on giacngo.vn with ETP set to Strict

Categories

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

Firefox 105
Desktop
Windows 10

Tracking

(Not tracked)

People

(Reporter: ctanase, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Attached image giacngo.vn.png

Environment:
Operating system: Windows 10
Firefox version: Nightly 105.0a1 (2022-08-21)

Preconditions:
• ETP set to STRICT
• Clean profile

Steps to reproduce:

  1. Go to https://giacngo.vn
  2. Observe the page.

Expected Behaviour:
The page loads correctly.

Actual Behaviour:
The page is broken due to CSS issues.

Notes:

  1. Screenshot provided
  2. Reproducible with both Standard and Strict ETP in Private.
  3. Not reproducible with Standard ETP in Normal window.
Severity: -- → S3

I see this error in the console:

Uncaught ReferenceError: PRINT_OPTS is not defined
    <anonymous> https://giacngo.vn/:2536
giacngo.vn:2536:1

If I disable ETP, PRINT_OPTS is in this script: https://static-cms-giacngo.zadn.vn/web/js/amlich-hnd.js?v=1

And since this is how they load it, if that script is blocked or fails to load due to a networking hiccup, it will break their entire site:

<script src="https://static-cms-giacngo.zadn.vn/web/js/amlich-hnd.js?v=1"></script>
<script type="text/javascript">
PRINT_OPTS.container = 'lunarcalendar';
printSelectedMonth(0, 0);
</script>

Predictably, that script is being blocked by ETP as a tracker.

It doesn't look like a good idea to shim this script as it's specific to this site. So I think proxying the request or letting the user opt into the tracking might be the only way forward for now.

Blocks: 1446243
No longer blocks: tp-breakage
Component: Privacy: Anti-Tracking → Privacy: Site Reports
Product: Core → Web Compatibility
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: