'Static link 3, text/javascript'

def test_sl_3(self, *args):

    body = 'function    {    ws_url    ="wss://www.example.com/socketserver:8080";wslink    =    new    WebSocket(url);    return    wslink}    '
    url = URL('https://www.w3af.com/')
    headers = Headers([('content-type', 'text/javascript')])
    response = HTTPResponse(200, body, headers, url, url, _id=1)
    request = FuzzableRequest(url, method='GET')
    self.plugin.grep(request, response)
    self.assertEqual(len(kb.kb.get('websockets_links', 'websockets_links')), 1)
