Open Bug 1621980 Opened 5 years ago Updated 2 months ago

Unable to view the page on 1boon.daum.net when ETP - Strict is enabled

Categories

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

Unspecified
Android

Tracking

(firefox87 affected)

Tracking Status
firefox87 --- affected

People

(Reporter: oanaarbuzov, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [tp-yellowlist-active][tp-site-unusable][tp-embedded-media][tp-shim-content])

Attachments

(1 file)

Attached image StandardVSStrict.jpg

Environment:
Browser / Version: Firefox Preview Nightly 200311 (🦎:76.0a1-20200310094445)
Operating System: Huawei P20 Lite (Android 8.0.0) - 1080 x 2280 pixels, 19:9 ratio (~432 ppi density)

Steps to Reproduce:

  1. Navigate https://1boon.daum.net/goodjob/5e660446cca99512707d2e30?_=1583871639556
  2. Observe the page.

Expected Behavior:
The page is displayed with no errors.

Actual Behavior:
An error page is displayed.

Note:

  1. With "Standard" protection the page fully loads.
  2. Screenshot attached.

The page scripts rely on Instagram loading up:

TypeError: "can't access property "Embeds", window.instgrm is undefined"
    NextJS 59
commons.793fa8db9d6539699f54.js:1:390817

If I whitelist www.instagram.com,platform.instagram.com, it works.

The site loads https://platform.instagram.com/en_US/embeds.js, which redirects to https://www.instagram.com/embed.js, which finally redirects to https://www.instagram.com/static/bundles/es6/EmbedSDK.js.

If I rewrite the response from that with a shim, the page at least loads:

(function() {
  if (window.instgrm) return;
  window.instgrm = {
    Embeds: {},
  }; 
}());

Of course the Twitter embed isn't showing up correctly, but the embed is ultimately loaded by scripts as an iframe:

<iframe class="instagram-media instagram-media-rendered" id="instagram-embed-0" src="https://www.instagram.com/p/B1EmFWIJBza/embed/?cr=1&amp;wp=996&amp;rd=https%3A%2F%2F1boon.daum.net&amp;rp=%2Fgoodjob%2F5e660446cca99512707d2e30%3F_%3D1583871639556#%7B%22ci%22%3A0%2C%22os%22%3A2017%7D" allowtransparency="true" allowfullscreen="true" data-instgrm-payload-id="instagram-media-payload-0" scrolling="no" style="max-width: 500px; width: 100%; background: white none repeat scroll 0% 0%; box-sizing: border-box; border-radius: 3px; border: 1px solid rgb(219, 219, 219); box-shadow: none; display: block; margin: 0px 0px 12px; min-width: 326px; padding: 0px;" height="704" frameborder="0"></iframe>

This iframe seems to work fine with sandbox="allow-scripts" (and even at least shows the first image in the gallery with sandbox="") so it looks possible that we could effectively isolate the frame. Or we could provide our own replacement UI allowing the user to click-to-show the embed, or perhaps just proxy the iframe.

Blocks: tp-yellowlist
No longer blocks: tp-breakage
Whiteboard: [tp-yellowlist-passive][tp-site-ephemeral]
Whiteboard: [tp-yellowlist-passive][tp-site-ephemeral] → [tp-yellowlist-active][tp-site-unusable][tp-embedded-media][tp-shim-content]

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3

The issue still occurs, with ETP - Strict, error page is displayed.
https://prnt.sc/yesiyc

Tested with:
Browser / Version: Firefox Nightly 210204 (🦎 87.0a1-20210203093146)
Operating System: Huawei P20 Lite (Android 8.0.0) - 1080 x 2280 pixels, 19:9 ratio (~432 ppi density), Samsung Galaxy S6 Edge (Android 7.0) - 1440 x 2560 pixels (~577 ppi pixel density)

Blocks: tp-instagram
No longer blocks: tp-yellowlist
Webcompat Priority: --- → ?
Webcompat Priority: ? → ---
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

Created:
Updated:
Size: