{"action":"opened","issue":{"url":"https://api.github.com/repos/jquery/qunitjs.com/issues/104","labels_url":"https://api.github.com/repos/jquery/qunitjs.com/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/jquery/qunitjs.com/issues/104/comments","events_url":"https://api.github.com/repos/jquery/qunitjs.com/issues/104/events","html_url":"https://github.com/jquery/qunitjs.com/issues/104","id":102521301,"number":104,"title":"Infinite loop when triggering click using jQuery in test function","user":{"login":"htung","id":13491810,"avatar_url":"https://avatars.githubusercontent.com/u/13491810?v=3","gravatar_id":"","url":"https://api.github.com/users/htung","html_url":"https://github.com/htung","followers_url":"https://api.github.com/users/htung/followers","following_url":"https://api.github.com/users/htung/following{/other_user}","gists_url":"https://api.github.com/users/htung/gists{/gist_id}","starred_url":"https://api.github.com/users/htung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htung/subscriptions","organizations_url":"https://api.github.com/users/htung/orgs","repos_url":"https://api.github.com/users/htung/repos","events_url":"https://api.github.com/users/htung/events{/privacy}","received_events_url":"https://api.github.com/users/htung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-22T09:42:24Z","updated_at":"2015-08-22T09:42:24Z","closed_at":null,"body":"Test function (tests.js):\r\n``` javascript\r\ntest(\"errors should be hidden on click\", function() {\r\n    $('input').click();\r\n    equal($('.has-error').is(':visible'), false);\r\n})\r\n```\r\n\r\nHTML page (tests.html):\r\n``` html\r\n<html>\r\n<head>\r\n  <meta charset=\"utf-8\">\r\n  <title>Javascript tests</title>\r\n  <link rel=\"stylesheet\" href=\"qunit.css\">\r\n</head>\r\n<body>\r\n  <div id=\"qunit\"></div>\r\n  <div id=\"qunit-fixture\">\r\n    <form>\r\n      <input name=\"text\">\r\n      <div class=\"has-error\">Error text</div>\r\n    </form>  \r\n  </div>\r\n  <script src=\"https://code.jquery.com/jquery-2.1.4.min.js\"></script>\r\n  <script src=\"qunit.js\"></script>\r\n  <script src=\"tests.js\"></script>\r\n</body>\r\n</html>\r\n```\r\n\r\nI'm using QUnit v1.18.0, Chrome 44.0.2403.130 (64-bit) and jQuery 2.1.4. When I open tests.html, the browser enters into an infinite loop. Is this is a bug on QUnit or on my code? Thanks."}}