зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1864389 - [remote] Fix truncation of URLs in NavigationListenerChild. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D193424
This commit is contained in:
Родитель
e767d83d2f
Коммит
7b821c3a9c
|
@ -104,8 +104,8 @@ export class NavigationListenerChild extends JSWindowActorChild {
|
|||
const context = progress.browsingContext;
|
||||
|
||||
lazy.logger.trace(
|
||||
lazy.truncate`[${context.id}] NavigationListener onLocationChange,` +
|
||||
` location: ${location.spec}`
|
||||
`[${context.id}] NavigationListener onLocationChange,` +
|
||||
lazy.truncate` location: ${location.spec}`
|
||||
);
|
||||
|
||||
this.sendAsyncMessage("NavigationListenerChild:locationChanged", {
|
||||
|
@ -128,10 +128,11 @@ export class NavigationListenerChild extends JSWindowActorChild {
|
|||
stateFlags & Ci.nsIWebProgressListener.STATE_IS_NETWORK
|
||||
);
|
||||
lazy.logger.trace(
|
||||
lazy.truncate`[${context.id}] NavigationListener onStateChange,` +
|
||||
`[${context.id}] NavigationListener onStateChange,` +
|
||||
` stateFlags: ${stateFlags}, status: ${status}, isStart: ${isStart},` +
|
||||
` isStop: ${isStop}, isNetwork: ${isNetwork},` +
|
||||
` isBindingAborted: ${isBindingAborted}, targetURI: ${targetURI?.spec}`
|
||||
` isBindingAborted: ${isBindingAborted},` +
|
||||
lazy.truncate` targetURI: ${targetURI?.spec}`
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче