[M108 Migration][VD] Fix office 365 Word/Excel show empty blank pages issue 64/289064/3
authorfeifei08.liu <feifei08.liu@samsung.com>
Tue, 28 Feb 2023 05:37:00 +0000 (13:37 +0800)
committerBot Blink <blinkbot@samsung.com>
Thu, 9 Mar 2023 03:15:05 +0000 (03:15 +0000)
commitb04cfc174ef6715dc690816a715370bf20d2f689
tree99957f2c5a65094d2ca0864b5d6e9ba0eed9250e
parent6c3dbe3674f8aad76fba7bc76a9fb7b92192911d
[M108 Migration][VD] Fix office 365 Word/Excel show empty blank pages issue

1. Fix redirection issue in WebApp.

Now m85, exclude "file://" URLs frome default
SiteInstance.
So if webapp redirect url in file:///index.html.
It will create a new SiteInstance and RenderFrameHost
for the redirected url.

As WRT only get and store main frame once time (the first time
UIprocess communicated with RenderProcess).
So if frame changed, wrt cannot send message to the right frame.

So avoid this code that will not create new frame while redirection
in "file://" URLs.

2. [VD] Disable "OriginIsolationHeader" feature to fix office 365 Word/Excel
show empty blank pages issue.

"OriginIsolationHeader" enabled in M94 which is in development,
it will cause new webview created and
some information do not included in requests,
this feature disabled in M85, so we follow M85 logic disable this feature.

Reference:
- https://review.tizen.org/gerrit/286949/

Change-Id: Ic26c5a4ac80bfa246a3f1d205095093b503ae372
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
content/browser/site_instance_impl.cc
content/public/common/content_features.cc