Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share button doesn't work in Amazon Kindle embed #13589

Closed
jasmussen opened this issue Jan 30, 2019 · 2 comments
Closed

Share button doesn't work in Amazon Kindle embed #13589

jasmussen opened this issue Jan 30, 2019 · 2 comments
Labels
[Block] Embed Affects the Embed Block [Type] Bug An existing feature does not function as intended

Comments

@jasmussen
Copy link
Contributor

When you embed an Amazon book, there are three buttons. The Share button doesn't work.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new post
  2. Paste in https://www.amazon.com/Dune-Frank-Herbert/dp/0441172717 in an empty paragraph
  3. Preview post, then click "Share"
  4. See error in console

Expected behavior
Share button should work, but appears blocked on some CORS issues.

Error from console:

ClientSideMetricsAUIJavascript@jserrorsForester.10f2559e93ec589d92509318a7e2acbac74c343a._V2_.js:4 Error logged with the Track&Report JS errors API(http://tiny/1covqr6l8/wamazindeClieUserJava): {"m":"Failed to read the 'localStorage' property from 'Window': Access is denied for this document.","name":"SecurityError","csm":"v5 ueLogError stack","logLevel":"WARN","attribution":"adb","pageURL":"https://read.amazon.com/kp/card?preview=inline&linkCode=kpd&ref_=k4w_oembed_UIRvkASYnAkbMr&asin=B00XB1P4RE&tag=kpembed-20","f":"https://read.amazon.com/kp/card?preview=inline&linkCode=kpd&ref_=k4w_oembed_UIRvkASYnAkbMr&asin=B00XB1P4RE&tag=kpembed-20","l":"251","s":["Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.","at https://read.amazon.com/kp/card?preview=inline&linkCode=kpd&ref_=k4w_oembed_UIRvkASYnAkbMr&asin=B00XB1P4RE&tag=kpembed-20:251:226","at https://read.amazon.com/kp/card?preview=inline&linkCode=kpd&ref_=k4w_oembed_UIRvkASYnAkbMr&asin=B00XB1P4RE&tag=kpembed-20:13:375","at https://read.amazon.com/kp/card?preview=inline&linkCode=kpd&ref_=k4w_oembed_UIRvkASYnAkbMr&asin=B00XB1P4RE&tag=kpembed-20:251:459"],"t":838} {m: "Failed to read the 'localStorage' property from 'Window': Access is denied for this document.", name: "SecurityError", type: undefined, csm: "v5 ueLogError stack", logLevel: "WARN", …}
@jasmussen jasmussen added [Type] Bug An existing feature does not function as intended [Block] Embed Affects the Embed Block labels Jan 30, 2019
@jasmussen
Copy link
Contributor Author

Related: #13510

@jorgefilipecosta
Copy link
Member

Hi @jasmussen, thank you for reporting this issue! I'm not able to reproduce this issue anymore, the share button works fine when I preview the post using the embed you provided, It may have been some temporary issue that Amazon WordPress meanwhile solved. If you are still able to reproduce the problem, feel free to comment/reopen the issue and we will debug further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Embed Affects the Embed Block [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants