Created
September 23, 2020 20:00
-
-
Save jasonLaster/1b6e9f57ffc3d87cc98a6c60ebf01777 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/devtools/startup/DevToolsStartup.jsm b/devtools/startup/DevToolsStartup.jsm | |
| index 830b9ae1f7c6..18ab511339db 100644 | |
| --- a/devtools/startup/DevToolsStartup.jsm | |
| +++ b/devtools/startup/DevToolsStartup.jsm | |
| @@ -713,8 +713,12 @@ DevToolsStartup.prototype = { | |
| const channel = new WebChannel("record-replay", urlForWebChannel); | |
| channel.listen((id, message) => { | |
| - const { user } = message; | |
| - saveRecordingUser(user); | |
| + if (message.type == "update-user") { | |
| + const { user } = message; | |
| + saveRecordingUser(user); | |
| + } | |
| + if (message.type == "record-url") { | |
| + } | |
| }); | |
| } | |
| }, | |
| @@ -1649,6 +1653,8 @@ function setNextRecordingURLCallback(callback) { | |
| function reloadAndRecordTab(gBrowser) { | |
| let url = gBrowser.currentURI.spec; | |
| + // this is all here | |
| + | |
| if (gNextRecordingURLCallback) { | |
| gNextRecordingURLCallback(url); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment