Skip to content

Accessing Patterns via the Command Pallete While Writing a Post in Calypso Causes "Refused to display (..) 'X-Frame-Options' to 'sameorigin'" error #92634

Closed

Description

Quick summary

If you are editing a post via Calypso using Firefox, attempting to visit Patterns via the Command Palette causes an error.

This is ONLY happening with Firefox. In the case of Chrome, if you try to visit https://wordpress.com/post/example.com , you get redirected to https://example.com/wp-admin/post-new.php?post_type=post&calypsoify=1 and will work correctly

Watch video:

Kapture.2024-07-12.at.13.00.21.mp4

This error seems to be directly related to

Steps to reproduce

  1. Visit https://wordpress.com/posts using Firefox
  2. Write a new post
  3. Look up "Patterns" in the Command Palette and click on it

What you expected to happen

It should work

What actually happened

It crashses and shows this error:

The loading of “https://mrfoxfreesite.wordpress.com/wp-admin/site-editor.php?postType=wp_block” in a frame is denied by “X-Frame-Options“ directive set to “sameorigin“.site-editor.php

Impact

All

Available workarounds?

Yes, difficult to implement

Platform (Simple and/or Atomic)

Simple, Atomic

Logs or notes

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

GroundskeepingIssues handled through Dotcom Groundskeeping rotationsIssues handled through Dotcom Groundskeeping rotationsTriagedTo be used when issues have been triaged.To be used when issues have been triaged.[Feature Group] Editor ExperienceFeatures related to Gutenberg integration on WordPress.com.Features related to Gutenberg integration on WordPress.com.[Feature] Post/Page EditorThe editor for editing posts and pages.The editor for editing posts and pages.[Pri] High[Product] WordPress.comAll features accessible on and related to WordPress.com.All features accessible on and related to WordPress.com.[Status] Priority Review TriggeredQuality squad has been notified of this issue in #dotcom-triage-alertsQuality squad has been notified of this issue in #dotcom-triage-alerts[Type] Bug

Type

No type

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions