My Oracle Support Banner

Web Edit Mode Not Working When Setting Xcelerate.previewhost to a Host Other Than Sites (Doc ID 2331410.1)

Last updated on NOVEMBER 04, 2022

Applies to:

Oracle WebCenter Sites - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Web edit mode not working due to "Uncaught DOMException: Blocked a frame with origin "{host-name}" from accessing a cross-origin frame.

When attempting to load an asset in Web edit mode, the following behavior is observed:

 - In green bar under the Edit bar: "You seem to have navigated to an external site. Refresh the current tab to go back to..."
 - In the web browser console: "Uncaught DOMException: Blocked a frame with origin "{host-name}" from accessing a cross-origin frame.
  at Object.connectToWindow ({host-name}/sites/js/fw/fw_ui.js:2:944545)
  at Object. ({host-name}/sites/js/fw/fw_ui.js:2:945038)
  at HTMLIFrameElement. ({host-name}/sites/js/dojo/dojo.js:15:111069)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.