Skip to content

Commit

Permalink
chore: restore backend - no changes needed here
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsoftwaretyler committed Oct 31, 2024
1 parent 98b7342 commit 1ca02f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shells/webextension/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ function handshake(hook, contentScriptId) {
and vice versa:
1. Wait for `ping`
2. As soon as pinged, stop listening to `ping` send `pong`,
start waiting for `hello`/`connection-fail`
start waiting for `hello`/`connection-fail`
3. If received `hello`, the connection is established,
if recieved `connection-fail`, then content-script is already busy, return to paragraph 1
*/
if recieved `connection-fail`, then content-script is already busy, return to paragraph 1
*/

function waitForPing() {
function pingListener(evt) {
Expand Down

0 comments on commit 1ca02f8

Please sign in to comment.