-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Fixup JS #21922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixup JS #21922
Conversation
@@ -13,8 +13,8 @@ export const internalFunctions = { | |||
listenForNavigationEvents, | |||
enableNavigationInterception, | |||
navigateTo, | |||
getBaseURI: () => BINDING.js_string_to_mono_string(document.baseURI), | |||
getLocationHref: () => BINDING.js_string_to_mono_string(location.href), | |||
getBaseURI: () => document.baseURI, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is common to the Server and WebAssembly, so we cannot do this here. Moving this to Boot.WebAssembly. Let me know if there's a better way to do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why didn't we use document.baseURI in the past? Doesn't this change any expectation wherever this is used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We did use document.baseURI
in the past - see the old line 16.
@@ -2,7 +2,7 @@ import '../src/GlobalExports'; | |||
import { UserSpecifiedDisplay } from '../src/Platform/Circuits/UserSpecifiedDisplay'; | |||
import { DefaultReconnectionHandler } from '../src/Platform/Circuits/DefaultReconnectionHandler'; | |||
import { NullLogger} from '../src/Platform/Logging/Loggers'; | |||
import { resolveOptions, ReconnectionOptions } from "../src/Platform/Circuits/BlazorOptions"; | |||
import { resolveOptions, ReconnectionOptions } from "../src/Platform/Circuits/CircuitStartOptions"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Old rename that had left this test broken
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a suggestion, but this is straightforward enough just to approve. I'm sure @pranavkm can make a sensible choice about how to tidy away the final details :)
No description provided.