WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.57k stars 4.22k forks source link

Inspect errors after adding multiple video embeds #12284

Closed paaljoachim closed 6 years ago

paaljoachim commented 6 years ago

Describe the bug I noticed that in the Inspect there are now 6 errors in relation to the 6 video embeds that I added.

tbvws-bulk-script.js:1 Uncaught DOMException: Blocked a frame with origin "https://www.youtube.com" from accessing a cross-origin frame.

Uncaught DOMException: Blocked a frame with origin "https://www.youtube.com" from accessing a cross-origin frame. at o (file:///Users/paaljoachimromdahl/Library/Application%20Support/Google/Chrome/Default/Extensions/lmjnegcaeklhafolokijcfjliaokphfk/7.3.5.0_0/content/tbvws-bulk-script.js:1:5115) at Object.375 (file:///Users/paaljoachimromdahl/Library/Application%20Support/Google/Chrome/Default/Extensions/lmjnegcaeklhafolokijcfjliaokphfk/7.3.5.0_0/content/tbvws-bulk-script.js:1:5262) at t (file:///Users/paaljoachimromdahl/Library/Application%20Support/Google/Chrome/Default/Extensions/lmjnegcaeklhafolokijcfjliaokphfk/7.3.5.0_0/content/tbvws-bulk-script.js:1:110) at Object.374 (file:///Users/paaljoachimromdahl/Library/Application%20Support/Google/Chrome/Default/Extensions/lmjnegcaeklhafolokijcfjliaokphfk/7.3.5.0_0/content/tbvws-bulk-script.js:1:4560) at t (file:///Users/paaljoachimromdahl/Library/Application%20Support/Google/Chrome/Default/Extensions/lmjnegcaeklhafolokijcfjliaokphfk/7.3.5.0_0/content/tbvws-bulk-script.js:1:110) at file:///Users/paaljoachimromdahl/Library/Application%20Support/Google/Chrome/Default/Extensions/lmjnegcaeklhafolokijcfjliaokphfk/7.3.5.0_0/content/tbvws-bulk-script.js:1:451 at file:///Users/paaljoachimromdahl/Library/Application%20Support/Google/Chrome/Default/Extensions/lmjnegcaeklhafolokijcfjliaokphfk/7.3.5.0_0/content/tbvws-bulk-script.js:1:462

screen shot 2018-11-25 at 10 34 44

To Reproduce Steps to reproduce the behavior:

  1. (Not sure) I added youtube video embeds. Worked on aligning them and noticed a sloweness in the auto save. I then checked Inspect and noticed the error.

Expected behavior No errors.

Desktop (please complete the following information):

designsimply commented 6 years ago

I tested with WordPress 4.9.8 and Gutenberg 4.5.1 using Chrome 70.0.3538.110 on macOS 10.13.6 and didn't see any errors in the console after adding a YouTube video embed.

screen shot 2018-11-26 at 8 21 02 pm

Seen at https://tan-otter.jurassic.ninja/wp-admin/post.php?post=115&action=edit running WordPress 4.9.8 and Gutenberg 4.5.1 using Chrome 70.0.3538.110 on macOS 10.13.6.

I also tested with a local dev environment running WordPress 4.9.8 and Gutenberg c33e91785 (>4.5.1) using Chrome 70.0.3538.110 on macOS 10.13.6 and found the same result.

I am not sure what I might be doing differently compared to you, so I will leave this open with a Needs More Info label in case you, or someone else, experiencing the issue can help clarify the steps to reproduce the problem. For example, does the problem happen if the video embed is the only one on the page? What other steps or content is included when on posts where you see these console errors show up?

paaljoachim commented 6 years ago

Btw here are some pages where one can also notice the errors: https://arnenaessproject.org/arne-naess/ https://arnenaessproject.org/eradicating-ecocide/ https://arnenaessproject.org/the-arne-naess-projects/sustainable-consumption/

I switched themes just to see if that would make a change but the error was stil there. I also turned off all plugins except Gutenberg Version 4.5.1.

If the above pages do not show an js Inspect error when anyone else checks it then it might have to do with the location I am at (I out in the wilderness so to speak taking care of 7 Greenland dogs and have satellite broadband) and not Gutenberg. I will be back home in Oslo in a few days and will check again then.

paaljoachim commented 6 years ago

I am back home in Oslo again. The youtube Inspect errors are still there.

paaljoachim commented 6 years ago

This is not a Gutenberg issue but a Chrome issue. As I looked at another of my sites that do not yet use Gutenberg and noticed the same youtube issue there.