{"action":"created","issue":{"url":"https://api.github.com/repos/jgraham/wires/issues/15","labels_url":"https://api.github.com/repos/jgraham/wires/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/jgraham/wires/issues/15/comments","events_url":"https://api.github.com/repos/jgraham/wires/issues/15/events","html_url":"https://github.com/jgraham/wires/issues/15","id":103083844,"number":15,"title":"Marionette Error: Error: Permission denied to access property [name]","user":{"login":"vladikoff","id":128755,"avatar_url":"https://avatars.githubusercontent.com/u/128755?v=3","gravatar_id":"","url":"https://api.github.com/users/vladikoff","html_url":"https://github.com/vladikoff","followers_url":"https://api.github.com/users/vladikoff/followers","following_url":"https://api.github.com/users/vladikoff/following{/other_user}","gists_url":"https://api.github.com/users/vladikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/vladikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladikoff/subscriptions","organizations_url":"https://api.github.com/users/vladikoff/orgs","repos_url":"https://api.github.com/users/vladikoff/repos","events_url":"https://api.github.com/users/vladikoff/events{/privacy}","received_events_url":"https://api.github.com/users/vladikoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-25T18:06:05Z","updated_at":"2015-08-26T17:45:39Z","closed_at":null,"body":"### STR\r\n\r\nLoad up the proxy and run the test project below:\r\n```\r\ngit clone https://github.com/vladikoff/intern-quick-test.git -b m-reload\r\ncd intern-quick-test \r\nnpm i\r\nnpm test\r\n```\r\n\r\n(You can target custom firefox builds using this command example:\r\n```\r\nnpm test firefoxBinary=/<path>/gecko-dev/obj-x86_64-apple-darwin14.4.0/dist/Nightly.app/Contents/MacOS/firefox-bin\r\n```\r\n)\r\n\r\n### Actual\r\n\r\n```\r\n{\"script\":\"location.reload();\",\"args\":[]}] Marionette Error: Error: Permission denied to access property \"reload\"\r\n```\r\n\r\nFull log:\r\n\r\n```\r\n× firefox on any platform - suite1 - testTrue (2.014s)\r\nJavaScriptError: [POST http://localhost:4444/session/71f8589c-6dc0-8c44-bf54-2a8e144e8686/execute / {\"script\":\"location.reload();\",\"args\":[]}] Marionette Error: Error: Permission denied to access property \"reload\"\r\n  at ProxiedSession._post  <node_modules/intern/node_modules/leadfoot/Session.js:59:30>\r\n  at ProxiedSession.Session.execute  <node_modules/intern/node_modules/leadfoot/Session.js:583:15>\r\n  at Command.<anonymous>  <node_modules/intern/node_modules/leadfoot/Command.js:635:19>\r\n  at <node_modules/intern/node_modules/dojo/Promise.ts:393:15>\r\n  at Object.run [as _onImmediate]  <node_modules/intern/node_modules/dojo/Promise.ts:237:7>\r\n  at processImmediate [as _immediateCallback]  <timers.js:354:15>\r\n  at Command.target.(anonymous function) [as execute]  <node_modules/intern/node_modules/leadfoot/Command.js:610:11>\r\n  at Test.registerSuite.testTrue [as test]  <testfunc1.js:12:10>\r\n  at start.then.finally.self.timeElapsed  <node_modules/intern/lib/Test.js:211:24>\r\n  at <node_modules/intern/node_modules/dojo/Promise.ts:393:15>\r\n  at runCallbacks  <node_modules/intern/node_modules/dojo/Promise.ts:11:11>\r\n  at <node_modules/intern/node_modules/dojo/Promise.ts:317:4>\r\n  at Object.run [as _onImmediate]  <node_modules/intern/node_modules/dojo/Promise.ts:237:7>\r\n  at processImmediate [as _immediateCallback]  <timers.js:354:15>\r\n```\r\n\r\n### Expected\r\n\r\n.execute should reload the page. \r\n\r\n### Test Code\r\n\r\n```javascript\r\n testTrue: function () {\r\n      return this.remote // get remote browser\r\n        .get(require.toUrl('http://mozilla.org')) // load a page into the browser\r\n        .execute('location.reload();'); // use selenium execute to reload the page.\r\n    }\r\n```\r\n\r\n( P.S. I know there is a Selenium refresh command but this error happens with any .execute command accessing window objects )\r\n\r\n \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jgraham/wires/issues/comments/135120879","html_url":"https://github.com/jgraham/wires/issues/15#issuecomment-135120879","issue_url":"https://api.github.com/repos/jgraham/wires/issues/15","id":135120879,"user":{"login":"vladikoff","id":128755,"avatar_url":"https://avatars.githubusercontent.com/u/128755?v=3","gravatar_id":"","url":"https://api.github.com/users/vladikoff","html_url":"https://github.com/vladikoff","followers_url":"https://api.github.com/users/vladikoff/followers","following_url":"https://api.github.com/users/vladikoff/following{/other_user}","gists_url":"https://api.github.com/users/vladikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/vladikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladikoff/subscriptions","organizations_url":"https://api.github.com/users/vladikoff/orgs","repos_url":"https://api.github.com/users/vladikoff/repos","events_url":"https://api.github.com/users/vladikoff/events{/privacy}","received_events_url":"https://api.github.com/users/vladikoff/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T17:45:38Z","updated_at":"2015-08-26T17:45:38Z","body":"> This is a marionette issue. Specifically it's https://bugzilla.mozilla.org/show_bug.cgi?id=1123506 (please ignore the patch in that bug it's for an unrelated issue).\r\n\r\nAhhhhh, hopefully it won't be a lot of work to support that "}}