Rémi BOURGAREL
Rémi BOURGAREL
Can you show me which method call displays this message ? Or send a repro. I guess it's because this script browsing object tree and is not allowed to read...
Same problem as #110 , we browse the object tree in order to pass window information to c#, I'll try to find a way to avoid those
Can you send a repro ? Which method are you using ?
Do you use the position watcher? https://stackoverflow.com/a/47598837/277067 https://remibou.github.io/Track-GPS-with-Blazor-BrowserInterop/
From what I've read Chrome prefers when you get it from the watcher, you can have a look at my blog post
@drma-dev yes the first error is just a warning because BrowserInterop browse the whole object tree in order to serialize it and send it to C#, I'll have a look...
@ddtmachado did you had a chance to revisit this ? Would you accept a PR that introduces a setting for this behaviour (keep it enabled by default if you prefer).
does it work with api calls ?
If you send the head "X-Requested-With: XMLHttpRequest" the redirection is not done and only 401 is send cf https://github.com/aspnet/AspNetCore/blob/master/src/Security/Authentication/Cookies/src/CookieAuthenticationEvents.cs. I tried it with a Blazor client-side app and it is...
Why do you think the headers won't change the CORS preflight ?