{"action":"opened","issue":{"url":"https://api.github.com/repos/gracelang/grace-web-editor/issues/25","repository_url":"https://api.github.com/repos/gracelang/grace-web-editor","labels_url":"https://api.github.com/repos/gracelang/grace-web-editor/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/gracelang/grace-web-editor/issues/25/comments","events_url":"https://api.github.com/repos/gracelang/grace-web-editor/issues/25/events","html_url":"https://github.com/gracelang/grace-web-editor/issues/25","id":170486702,"number":25,"title":"Chrome browser issues with objectdraw","user":{"login":"KimBruce","id":1810938,"avatar_url":"https://avatars.githubusercontent.com/u/1810938?v=3","gravatar_id":"","url":"https://api.github.com/users/KimBruce","html_url":"https://github.com/KimBruce","followers_url":"https://api.github.com/users/KimBruce/followers","following_url":"https://api.github.com/users/KimBruce/following{/other_user}","gists_url":"https://api.github.com/users/KimBruce/gists{/gist_id}","starred_url":"https://api.github.com/users/KimBruce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KimBruce/subscriptions","organizations_url":"https://api.github.com/users/KimBruce/orgs","repos_url":"https://api.github.com/users/KimBruce/repos","events_url":"https://api.github.com/users/KimBruce/events{/privacy}","received_events_url":"https://api.github.com/users/KimBruce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-10T18:32:46Z","updated_at":"2016-08-10T18:32:46Z","closed_at":null,"body":"I am getting very different behavior on different browsers, with the most problems with Chrome.\r\n\r\nChrome:  Cannot run any objectdraw programs, even after clearing all caches.  On http://web.cecs.pdx.edu/~grace/ide/, run the following:\r\n\r\n```\r\ndialect \"objectdraw\"\r\n\r\ndef basketball: GraphicApplication = object {\r\n   inherits graphicApplicationSize (400 @ 400)\r\n\r\n   filledOvalAt (160 @ 50) \r\n                        size (100 @ 200) on (canvas)\r\n\r\n\r\n\r\n   // required to pop up window and start graphics\r\n   startGraphics\r\n}\r\n```\r\ngives output:\r\n```\r\nNoSuchMethod on line 1095 of objectdraw: no method 'document' on a noObject.\r\n  raised at noObject.document at line 1095 of objectdraw\r\n  called from basketball.startApplication at line 1310 of objectdraw\r\n  called from basketball.startGraphics at line 12 of objectdraw\r\n  called from execution environment.\r\n1094:             theWindow:= dom.window.open(\"\", \"\", \"width={theWidth},height={theHeight}\")\r\n1095:             theWindow.document.title:= theTitle\r\n1096:             theWindow.document.body.appendChild(element)\r\nStack frames:\r\n  test module\r\n    basketball = ‹undefined›\r\n```\r\n\r\nThis looks like a real problem resulting from issues with the dom in Javascript, but the code runs perfectly under Safari and Firefox at that location.\r\nI've tried clearing every available cache, but that doesn't seem to help."}}
{"actor":{"display_login":"KimBruce"}}