← Back to Eat at Joe’s the customer-facing demo storefront

CSM Embed Test Harness

Internal engineering fixture for PT-00443 — the raw cross-origin checks, without the styling. For the customer-facing version see Eat at Joe’s, the demo storefront on this same domain.

1. Does the embed work at all, cross-origin over HTTPS?

The player requires a secure context. This is the real-world path that localhost testing cannot exercise.

checking…

2. Can this page read the player's DOM?

If it could, it could delete the branding element outright. The same-origin policy is the load-bearing protection in the whole feature.

checking…

3. Can this page inject CSS into the player?

A single display:none rule would be enough to hide the message.

checking…

4. Can this page crop the branding off the bottom?

It can — but the branding sits on the video, so cropping the message also crops the picture. Compare the two frames: that visible cost is the deterrent.
This frame and the next use a second, offline camera on purpose — they are demonstrating cropping and overlay, and the branding renders in every state including offline.

Visual check — the bottom of the picture is gone along with the message.

5. Can this page cover the branding with its own element?

Yes, and it always will be able to. Nothing served to a browser can stop a host page from positioning something on top of an iframe. This is a known and documented limit: the answer is detection and revoking the share key, not engineering.

THIS PAGE'S OWN OVERLAY — known limitation

6. Does the domain allowlist actually block a disallowed site?

When the share key is locked to specific domains, this page should be refused and the browser should block the frame outright via frame-ancestors. Point the key at a different domain in the Share Center, reload, and this frame should fail to render.

Manual step — see the note above.