devtools/src/session_route_provider.ts
Overrides the default SessionRouteProvider to add the devtools query parameter. This will ensure that when a new session is started in the context of the devtools, that the new session window stays in that devtools context.
When the default SessionRouteProvider is overridden by a custom implementation, and you wish to have to same effects as this SessionRouteProvider, then the provideRoutePath should return a path containing the query parameter 'devtools'.
internal_ConfiguredSessionRouteProvider
Methods |
provideRoutePath | ||||||||
provideRoutePath(sessionId: SessionId)
|
||||||||
Given the session id to load, the path string from the default
SessionRouteProvider.provideRoutePath
function is returned concatenated with the
Parameters :
Returns :
string
the route path to redirect to containing the query parameter |