Skip to content

Commit

Permalink
Backed out changeset 8307b8b0bc7c (bug 1710000) for causing mochitest…
Browse files Browse the repository at this point in the history
…s failures on browser_agent.js. CLOSED TREE
  • Loading branch information
Iulian Moraru committed May 7, 2021
1 parent 20a6dd5 commit 206dcb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion remote/components/RemoteAgent.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class RemoteAgentClass {
Services.obs.notifyObservers(
null,
"remote-listening",
`DevTools listening on ${mainTarget.wsDebuggerURL}`
mainTarget.wsDebuggerURL
);
} catch (e) {
await this.close();
Expand Down
4 changes: 2 additions & 2 deletions remote/components/rust/src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ impl RemoteAgentHandler {
}

"remote-listening" => {
let output = unsafe { wstring_to_cstring(data) }.map_err(|_| NS_ERROR_FAILURE)?;
eprintln!("{}", output.to_string_lossy());
let url = unsafe { wstring_to_cstring(data) }.map_err(|_| NS_ERROR_FAILURE)?;
eprintln!("DevTools listening on {}", url.to_string_lossy());
}

s => warn!("unknown system notification: {}", s),
Expand Down

0 comments on commit 206dcb6

Please sign in to comment.