Two Inspect Element errors

188 views
Skip to first unread message

Kenneth fa

unread,
Jun 21, 2016, 7:21:15 AM6/21/16
to Chromium-discuss
Refused to display 'https://portal.office.com/SuiteServiceProxy.aspx?upn=kenneth.farrell%40frananklinu.sharepoint.com%2Fsites%2Fbpa%2Ffw%2FSitePages%2FHome.aspx&Silent=1' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://portal.office.com') does not match the recipient window's origin ('null').

What does this mean and how do I fix it?

Rajiv Chokshi

unread,
Nov 8, 2016, 1:53:28 AM11/8/16
to Chromium-discuss
Did you find a fix or workaround for this? I have the same issue when using Chrome on a MAC to access SharePoint online.

Thanks

PhistucK

unread,
Nov 8, 2016, 3:57:01 AM11/8/16
to rajiv....@gmail.com, Chromium-discuss
​Does it work in Internet Explorer 11 (or Edge)?
Those are pretty standard warnings/errors​ that should happen there as well (unless different code is served to them).

Anyway, this is not the right place for such questions. You can ask this as stackoverflow.com, or find a web developer that can help you, as this is probably a code related issue.


PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.

Rajiv Chokshi

unread,
Nov 8, 2016, 7:45:35 AM11/8/16
to PhistucK, Chromium-discuss
Yes, it does work in IE11, Safari. It works ever on Chrome in Windows. 

Issue is specific to Chrome on Mac.

Thanks

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

PhistucK

unread,
Nov 8, 2016, 8:38:35 AM11/8/16
to Rajiv Chokshi, Chromium-discuss
​Sounds pretty weird. Do you have a URL to share so I can try and reproduce it?​


PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.


Rajiv Chokshi

unread,
Nov 8, 2016, 8:53:52 AM11/8/16
to PhistucK, Chromium-discuss
Sure, here you go. 


I sent you an invite to phis...@gmail.com


On this page if you click the SharePoint logo you should see the errors on page using F12 in Chrome on Mac OS.

Thanks 

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.


PhistucK

unread,
Nov 8, 2016, 9:03:16 AM11/8/16
to Rajiv Chokshi, Chromium-discuss
Beside the error - is anything wrong with the page?

On Windows (no macOS here, sorry), I get a different exception -
Home.aspx:743 Uncaught TypeError: Cannot set property 'href' of null


PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.



PhistucK

unread,
Nov 8, 2016, 9:04:51 AM11/8/16
to Rajiv Chokshi, Chromium-discuss
Also, on Windows, I do not see any request that goes to portal.office.com. It might be user-specific.


PhistucK

Rajiv Chokshi

unread,
Nov 8, 2016, 9:16:53 AM11/8/16
to PhistucK, Chromium-discuss
your access works differently since i allowed anonymous access for your gmail account. 

for users that authenticate to portal.office.com using a work/school account they would see that traffic.

The SharePoint site URL ends in sharepoint.com

The CDN referenced could also be an issue apart from portal.office.com.

Seems to be a CORS issue for Chrome on Mac. What do you think?

Refused to display 'https://portal.office.com/SuiteServiceProxy.aspx?upn=xxxxxxxxxxxx.sharepoint.com%2Fsites%2Fxxxxxxxx%2Fhr%2FSitePages%2FHome.aspx&Silent=1' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

prod.msocdn.com/16.00.1489.009/en-US/JSC/O365ShellG2Plus.js:4 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://portal.office.com') does not match the recipient window's origin ('null').O365SuiteServiceProxy.RequestExecutor.sendPostMessage @ prod.msocdn.com/16.00.1489.009/en-US/JSC/O365ShellG2Plus.js:4

nC���A��



PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.




PhistucK

unread,
Nov 8, 2016, 9:23:07 AM11/8/16
to Rajiv Chokshi, Chromium-discuss
The warnings/errors are pretty clear to me, yes. Without reproducing (so I need the right account), it is impossible for me to tell whether this is a browser issue or a website issue (though I lean much towards the latter).

You will need to debug the code and see if it goes through the same code path on Windows and on macOS (and where the values differ).


PhistucK



PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.





PhistucK

unread,
Nov 8, 2016, 9:31:04 AM11/8/16
to Rajiv Chokshi, Chromium-discuss
One thing that comes to mind -
Perhaps you designated some hosts as "local intranet" or via group policy on Windows, which makes Chrome authenticate to them automatically (when asked) using NTLM/Kerberos.
If you did not enable that in Chrome for macOS (I believe the only way to do it is via group policy), Chrome will not authenticate and perhaps those hosts return different responses to unauthenticated users.


PhistucK

PhistucK

unread,
Nov 8, 2016, 10:19:51 AM11/8/16
to Rajiv Chokshi, Chromium-discuss
(Back to the public group, I removed the credentials you mentioned)
You never answered my question - is anything actually broken, or do you just do not like seeing errors?

I get the following errors on Windows -
Home.aspx:743 Uncaught TypeError: Cannot set property 'href' of null(…)
_cUpdconetidProjectPropertyTitleGraphic @ Home.aspx:743
_cUpdonetidProjectPropertyTitleGraphic @ Home.aspx:743
(anonymous function) @ VM314:1
ProcessOnLoadFunctionNames @ init.js:1
ProcessDefaultOnLoad @ init.js:1
NotifyEventAndExecuteWaitingJobs @ init.js:1
NotifyScriptLoadedAndExecuteWaitingJobs @ init.js:1
$_global_core @ core.js:1
(anonymous function) @ core.js:1
O365ShellG2Plus.js:4 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://portal.office.com') does not match the recipient window's origin ('https://login.microsoftonline.com').
O365SuiteServiceProxy.RequestExecutor.sendPostMessage @ O365ShellG2Plus.js:4
O365SuiteServiceProxy.RequestExecutor.internalProcessIFrameOnload @ O365ShellG2Plus.js:4
(anonymous function) @ O365ShellG2Plus.js:4i @ O365ShellG2Plus.js:4
clientlog.portal.office.com/:1 GET https://clientlog.portal.office.com/l.l/?d={m:[{t:413339,l:1,ct:14786180628…22,%22sid%22,%2242c796e7-a4a2-451f-8ee4-94385d04e161%22]}&cb=1478618081383 404 (Not Found)


PhistucK

On Tue, Nov 8, 2016 at 4:57 PM, Rajiv Chokshi <rajiv....@gmail.com> wrote:
Here is the account for testing.

Select Microsoft Work account.

...snipped...

Site URL 

Test on Chrome on Mac OS.

Thanks 


On Tue, Nov 8, 2016 at 9:31 AM Rajiv Chokshi <rajiv....@gmail.com> wrote:
It is not a website issue since it renders fine in all browsers on Windows OS and Safari on Mac. 

Errors are seen on the page only in Chrome on Mac OS.

Let me get you an account. 

Thanks

Rajiv Chokshi

unread,
Nov 8, 2016, 11:42:19 AM11/8/16
to PhistucK, Chromium-discuss
The page shows a red spinning wheel and errors with Chrome on Mac OS.

See attached.
image-error-chrome-mac.jpg

Thanks 




PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.





PhistucK

unread,
Nov 8, 2016, 11:52:21 AM11/8/16
to Rajiv Chokshi, Chromium-discuss
Well, I do not have macOS, so I cannot help you further here.
You can use crbug.com to report it.


PhistucK

Thanks 




PhistucK

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.






Rajiv Chokshi

unread,
Nov 8, 2016, 2:25:15 PM11/8/16
to PhistucK, Chromium-discuss
Ok, thank you. 

Rajiv Chokshi

unread,
Nov 9, 2016, 6:14:46 PM11/9/16
to PhistucK, Chromium-discuss

This issue is resolved and was not a bug. It was some Java script issue.

Thanks
Reply all
Reply to author
Forward
0 new messages