My Oracle Support Banner

E-PIA: Chrome/Edge Browsers Deprecating “Document.Domain” How Does This Affect PeopleSoft? (Doc ID 2874480.1)

Last updated on AUGUST 25, 2022

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.54 and later
Information in this document applies to any platform.

Goal

Chrome has mentioned that as of version 106 they will be deprecating “Document.Domain” around September 2022.

Chrome Browser Warning:

When you navigate to a Classic page, or to some Fluid page, Chrome will display this warning (as an Issue) in the Developer's Toolbar:

Relaxing the same-origin policy by setting "document.domain" is deprecated, and will be disabled by default in M106 , around September 2022. To continue using this feature, please opt-out of origin-keyed agent clusters by sending an  Origin-Agent-Cluster: ?0  header along with the HTTP response for the document and frames. See  https://developer.chrome.com/blog/immutable-document-domain/   for more details.

Microsoft Edge is also planning to disable document.domain (Starting in version 106) - https://docs.microsoft.com/en-us/deployedge/edge-learnmore-origin-keyed-agent-cluster

PeopleSoft's usage of document.domain

document.domain is set to allow cross-frame communication which is commonly needed in Classic pages and sizing modals. This is required to access top.window and the target(iframe) content's contentWindow or contentDocument properties. Failure to set document.domain will cause javascript error that will throw permission denied error when trying to access another frame's property. This is very important when one frame is from site A and another frame is at site B. This setup is common in a cluster environment where the portal header is running Interaction Hub at site A and the target content is running in site B.

This behavior can also affect Fluid as well where the content within an iframe is located from another origin.  This includes Master/Detail and Activity Guide Wrappers (including Nav Collection), Interactive Grouplets/Tiles, and Modeless context.  Fluid is not immune to this problem. 



 


 

Solution

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
Goal
  
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.