# Strange Runtime Errors

**URL:** https://community.w2g.tv/t/strange-runtime-errors/71161
**Category:** Uncategorized
**Created:** [December 22, 2019, 2:30pm UTC](https://community.w2g.tv/t/strange-runtime-errors/71161 "2019-12-22T14:30:30Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![user\_d870fa4970a9258](https://w2g-community.b-cdn.net/user_avatar/community.w2g.tv/user_d870fa4970a9258/32/35359_2.png) [@user\_d870fa4970a9258](https://community.w2g.tv/u/user_d870fa4970a9258)
#### Post date: [December 22, 2019, 2:30pm UTC](https://community.w2g.tv/t/strange-runtime-errors/71161/1 "2019-12-22T14:30:30Z")

</div>

Whenever I…

- Click on the X icon to remove an item from the playlist
- Attempt to add a YouTube video to the playlist

I see strange JavaScript runtime errors in the console:

 ![](https://w2g-community.b-cdn.net/uploads/default/original/3X/4/7/47e7dc27143ad7482d179e205a766ca6d1ad4585.png)

---

<div class="post-metadata">

### Author: ![user\_d870fa4970a9258](https://w2g-community.b-cdn.net/user_avatar/community.w2g.tv/user_d870fa4970a9258/32/35359_2.png) [@user\_d870fa4970a9258](https://community.w2g.tv/u/user_d870fa4970a9258)
#### Post date: [December 22, 2019, 2:31pm UTC](https://community.w2g.tv/t/strange-runtime-errors/71161/2 "2019-12-22T14:31:01Z")

</div>

If only this service used TypeScript and was open-source…

---

<div class="post-metadata">

### Author: ![user\_95f53b7185f71fb](https://w2g-community.b-cdn.net/user_avatar/community.w2g.tv/user_95f53b7185f71fb/32/74577_2.png) [@user\_95f53b7185f71fb](https://community.w2g.tv/u/user_95f53b7185f71fb)
#### Post date: [December 22, 2019, 10:00pm UTC](https://community.w2g.tv/t/strange-runtime-errors/71161/3 "2019-12-22T22:00:16Z")

</div>

I can not really reproduce this. Does the add / remove to the playlist actually work? Do you see the same error when you create a new empty playlist? Which browser are you using?

---

<div class="post-metadata">

### Author: ![user\_d870fa4970a9258](https://w2g-community.b-cdn.net/user_avatar/community.w2g.tv/user_d870fa4970a9258/32/35359_2.png) [@user\_d870fa4970a9258](https://community.w2g.tv/u/user_d870fa4970a9258)
#### Post date: [December 23, 2019, 1:13pm UTC](https://community.w2g.tv/t/strange-runtime-errors/71161/4 "2019-12-23T13:13:10Z")

</div>

I’m not sure what browser you’re using, but these error occur in Firefox 70, and (unGoogled) Chromium 71. Currently, your service seems to be very broken.

This also happens when sending a chat message, when a user joins / leaves a room, and when changing a playlist, which leads to me to believe that this is an error with the common code. I’d offer to take a look, but I couldn’t find your service on GitHub.

---

<div class="post-metadata">

### Author: ![user\_d870fa4970a9258](https://w2g-community.b-cdn.net/user_avatar/community.w2g.tv/user_d870fa4970a9258/32/35359_2.png) [@user\_d870fa4970a9258](https://community.w2g.tv/u/user_d870fa4970a9258)
#### Post date: [December 23, 2019, 1:13pm UTC](https://community.w2g.tv/t/strange-runtime-errors/71161/5 "2019-12-23T13:13:43Z")

</div>

Oh, I got another one:

```auto
TypeError: this.listener.close is not a function

```

---

<div class="post-metadata">

### Author: ![user\_d870fa4970a9258](https://w2g-community.b-cdn.net/user_avatar/community.w2g.tv/user_d870fa4970a9258/32/35359_2.png) [@user\_d870fa4970a9258](https://community.w2g.tv/u/user_d870fa4970a9258)
#### Post date: [December 23, 2019, 1:15pm UTC](https://community.w2g.tv/t/strange-runtime-errors/71161/6 "2019-12-23T13:15:07Z")

</div>

There does seem to be a line number available to me too.

 ![](https://w2g-community.b-cdn.net/uploads/default/original/3X/2/3/23fb1753e47131c6b9422901e1a25dab17347255.png)

Hope this helps and this service is fixed. It’s currently _very_ broken for me, which includes not being able to view YouTube videos when loading into a room.

Many thanks,  
Will

---

<div class="post-metadata">

### Author: ![user\_95f53b7185f71fb](https://w2g-community.b-cdn.net/user_avatar/community.w2g.tv/user_95f53b7185f71fb/32/74577_2.png) [@user\_95f53b7185f71fb](https://community.w2g.tv/u/user_95f53b7185f71fb)
#### Post date: [December 23, 2019, 7:22pm UTC](https://community.w2g.tv/t/strange-runtime-errors/71161/7 "2019-12-23T19:22:17Z")

</div>

Thanks a lot for the info. I can assure you that Watch2Gether is generally running fine with the browsers you mentioned. Often these kind of bugs are caused by browser extensions that modify, block or somehow alter or interact with the loaded page. Can you please try to disable your extensions one by one and check if the error messages go away?

---

<div class="post-metadata">

### Author: ![user\_d870fa4970a9258](https://w2g-community.b-cdn.net/user_avatar/community.w2g.tv/user_d870fa4970a9258/32/35359_2.png) [@user\_d870fa4970a9258](https://community.w2g.tv/u/user_d870fa4970a9258)
#### Post date: [December 28, 2019, 1:21am UTC](https://community.w2g.tv/t/strange-runtime-errors/71161/8 "2019-12-28T01:21:46Z")

</div>

What the fu - It was a browser extension. I might get down to fixing that…

Thanks, Florian, and apologies for not checking thoroughly before reporting this \<3

---

<div class="post-metadata">

### Author: ![user\_95f53b7185f71fb](https://w2g-community.b-cdn.net/user_avatar/community.w2g.tv/user_95f53b7185f71fb/32/74577_2.png) [@user\_95f53b7185f71fb](https://community.w2g.tv/u/user_95f53b7185f71fb)
#### Post date: [December 28, 2019, 2:29pm UTC](https://community.w2g.tv/t/strange-runtime-errors/71161/9 "2019-12-28T14:29:06Z")

</div>

Thanks for that feedback! Would mind telling me which extension it was? Could be helpful for other users.

---

<div class="post-metadata">

### Author: ![user\_d870fa4970a9258](https://w2g-community.b-cdn.net/user_avatar/community.w2g.tv/user_d870fa4970a9258/32/35359_2.png) [@user\_d870fa4970a9258](https://community.w2g.tv/u/user_d870fa4970a9258)
#### Post date: [December 30, 2019, 11:16am UTC](https://community.w2g.tv/t/strange-runtime-errors/71161/10 "2019-12-30T11:16:00Z")

</div>

Steer clear of [this](https://addons.mozilla.org/en-GB/firefox/addon/websocketsniff/).
