Describe the bug
Native creative are unable to render using the rendererUrl custom renderer scenario via the Prebid Universal Creative as a third-party banner creative in GAM when Serve into a SafeFrame is enabled.
The following SecurityError is thrown from native.js it tries to call renderAd:
Uncaught SecurityError: Failed to read a named property 'document' from 'Window': Blocked a frame with origin x from accessing a cross-origin frame.

To Reproduce
- Test page: https://codesandbox.io/p/sandbox/972753
- Set
ENABLE_SAFEFRAME to 1 to target a PUC with Serve into a SafeFrame enabled
- Set
ENABLE_SAFEFRAME to 0 to target a PUC with Serve into a SafeFrame disabled
The expectation is that the creative renders in the same way regardless of the SafeFrame
Describe the bug
Native creative are unable to render using the
rendererUrlcustom renderer scenario via the Prebid Universal Creative as a third-party banner creative in GAM when Serve into a SafeFrame is enabled.The following
SecurityErroris thrown fromnative.jsit tries to callrenderAd:To Reproduce
ENABLE_SAFEFRAMEto1to target a PUC with Serve into a SafeFrame enabledENABLE_SAFEFRAMEto0to target a PUC with Serve into a SafeFrame disabledThe expectation is that the creative renders in the same way regardless of the SafeFrame