{"action":"opened","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1768","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1768/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1768/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/1768/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/1768","id":139431400,"number":1768,"title":"IDE: alert() fails in a modified test case","user":{"login":"peter-kehl","id":4270240,"avatar_url":"https://avatars.githubusercontent.com/u/4270240?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-kehl","html_url":"https://github.com/peter-kehl","followers_url":"https://api.github.com/users/peter-kehl/followers","following_url":"https://api.github.com/users/peter-kehl/following{/other_user}","gists_url":"https://api.github.com/users/peter-kehl/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-kehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-kehl/subscriptions","organizations_url":"https://api.github.com/users/peter-kehl/orgs","repos_url":"https://api.github.com/users/peter-kehl/repos","events_url":"https://api.github.com/users/peter-kehl/events{/privacy}","received_events_url":"https://api.github.com/users/peter-kehl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-09T00:00:31Z","updated_at":"2016-03-09T00:00:31Z","closed_at":null,"body":"Open and modify an existing test case, or create a new test case, with one following Selenese command. (Do not open a saved test case with the following command. If you do, then modify the test case - e.g. by adding whitespace - before running it.)\r\n\r\ngetEval | alert('hi')\r\n\r\nRun by 'Play current test case' button. As expected, the alert shows up (saying 'hi'). However, the test case fails.\r\n\r\nThe problem only happens when you have a new test case, or you modify a test case (regardless of whether you then save it or not), and if it calls getEval | alert(...). However, if you load such a test case and you run it without any modification, then the problem doesn't show up.\r\n\r\nRuns: 1\r\nFailures: 1\r\n\r\nLog:\r\n```\r\n[info] Playing test case Untitled\r\n[info] Executing: |getEval | alert('h') | |\r\n[info] script is: alert('h')\r\n[error] Threw an exception: \r\n[info] Test case failed \r\n```\r\n----\r\nTest with a blank Firefox profile, Selenium IDE 2.9.1 and following versions of Firefox:\r\n\r\nFirefox 44.0\r\n\"E:\\SW\\Mozilla Firefox 45.0\\firefox.exe\" -no-remote -P alert\r\n\"C:\\Program Files\\Mozilla Firefox 46.0b1\\firefox.exe\" -no-remote -P alert\r\n\"E:\\SW\\Mozilla Firefox Nightly 2016-03-07\\firefox.exe\"  -no-remote -P alert\r\n(e10s Multiprocessing turned off)"}}