From 44d0bb1369f35793ed7ab8bf587c21898b3e003c Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Fri, 11 Oct 2024 10:37:10 +0200 Subject: [PATCH] spot: remove debug logs, 1.0.10 --- spot/entrypoints/background.ts | 1 - spot/entrypoints/content/index.tsx | 1 - spot/entrypoints/offscreen/main.js | 3 --- 3 files changed, 5 deletions(-) diff --git a/spot/entrypoints/background.ts b/spot/entrypoints/background.ts index 0261ec9b9..833c7cfea 100644 --- a/spot/entrypoints/background.ts +++ b/spot/entrypoints/background.ts @@ -667,7 +667,6 @@ export default defineBackground(() => { if (recordingState.recording === REC_STATE.stopped) { return console.error('Calling stopped recording?') } - console.log('calling stop') browser.runtime .sendMessage({ type: messages.offscreen.to.stopRecording, diff --git a/spot/entrypoints/content/index.tsx b/spot/entrypoints/content/index.tsx index f3c93e34c..b72f7a849 100644 --- a/spot/entrypoints/content/index.tsx +++ b/spot/entrypoints/content/index.tsx @@ -125,7 +125,6 @@ export default defineContentScript({ stopClickRecording(); stopLocationRecording(); const result = await browser.runtime.sendMessage({ type: "ort:stop" }); - console.log('Spot getting video:', result) if (result.status === "full") { chunksReady = true; data = result; diff --git a/spot/entrypoints/offscreen/main.js b/spot/entrypoints/offscreen/main.js index fa82993af..8a1cb3a39 100644 --- a/spot/entrypoints/offscreen/main.js +++ b/spot/entrypoints/offscreen/main.js @@ -127,7 +127,6 @@ class ScreenRecorder { this.mRecorder.start(); this.isRecording = true; this.trackDuration(); - console.log('started recording inside startRecording'); } stop() { @@ -320,7 +319,6 @@ browser.runtime.onMessage.addListener((message, _, respond) => { message.audioId, ) .then(() => { - console.log('started recording'); respond({ success: true, time: Date.now() }); }) .catch(e => { @@ -345,7 +343,6 @@ browser.runtime.onMessage.addListener((message, _, respond) => { recorder.stop(); const duration = recorder.duration; recorder.getVideoData().then((data) => { - console.log(data) if (!data.blob) { respond({ status: "empty" }); }