{"action":"created","issue":{"url":"https://api.github.com/repos/m-khvoinitsky/dark-background-light-text-extension/issues/46","repository_url":"https://api.github.com/repos/m-khvoinitsky/dark-background-light-text-extension","labels_url":"https://api.github.com/repos/m-khvoinitsky/dark-background-light-text-extension/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/m-khvoinitsky/dark-background-light-text-extension/issues/46/comments","events_url":"https://api.github.com/repos/m-khvoinitsky/dark-background-light-text-extension/issues/46/events","html_url":"https://github.com/m-khvoinitsky/dark-background-light-text-extension/issues/46","id":187567439,"number":46,"title":"Add-on is broken on current Firefox for Android 50 beta (and aurora)","user":{"login":"m-khvoinitsky","id":16675892,"avatar_url":"https://avatars.githubusercontent.com/u/16675892?v=3","gravatar_id":"","url":"https://api.github.com/users/m-khvoinitsky","html_url":"https://github.com/m-khvoinitsky","followers_url":"https://api.github.com/users/m-khvoinitsky/followers","following_url":"https://api.github.com/users/m-khvoinitsky/following{/other_user}","gists_url":"https://api.github.com/users/m-khvoinitsky/gists{/gist_id}","starred_url":"https://api.github.com/users/m-khvoinitsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-khvoinitsky/subscriptions","organizations_url":"https://api.github.com/users/m-khvoinitsky/orgs","repos_url":"https://api.github.com/users/m-khvoinitsky/repos","events_url":"https://api.github.com/users/m-khvoinitsky/events{/privacy}","received_events_url":"https://api.github.com/users/m-khvoinitsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"m-khvoinitsky","id":16675892,"avatar_url":"https://avatars.githubusercontent.com/u/16675892?v=3","gravatar_id":"","url":"https://api.github.com/users/m-khvoinitsky","html_url":"https://github.com/m-khvoinitsky","followers_url":"https://api.github.com/users/m-khvoinitsky/followers","following_url":"https://api.github.com/users/m-khvoinitsky/following{/other_user}","gists_url":"https://api.github.com/users/m-khvoinitsky/gists{/gist_id}","starred_url":"https://api.github.com/users/m-khvoinitsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-khvoinitsky/subscriptions","organizations_url":"https://api.github.com/users/m-khvoinitsky/orgs","repos_url":"https://api.github.com/users/m-khvoinitsky/repos","events_url":"https://api.github.com/users/m-khvoinitsky/events{/privacy}","received_events_url":"https://api.github.com/users/m-khvoinitsky/received_events","type":"User","site_admin":false},"assignees":[{"login":"m-khvoinitsky","id":16675892,"avatar_url":"https://avatars.githubusercontent.com/u/16675892?v=3","gravatar_id":"","url":"https://api.github.com/users/m-khvoinitsky","html_url":"https://github.com/m-khvoinitsky","followers_url":"https://api.github.com/users/m-khvoinitsky/followers","following_url":"https://api.github.com/users/m-khvoinitsky/following{/other_user}","gists_url":"https://api.github.com/users/m-khvoinitsky/gists{/gist_id}","starred_url":"https://api.github.com/users/m-khvoinitsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-khvoinitsky/subscriptions","organizations_url":"https://api.github.com/users/m-khvoinitsky/orgs","repos_url":"https://api.github.com/users/m-khvoinitsky/repos","events_url":"https://api.github.com/users/m-khvoinitsky/events{/privacy}","received_events_url":"https://api.github.com/users/m-khvoinitsky/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-11-06T15:19:40Z","updated_at":"2016-11-07T22:17:52Z","closed_at":null,"body":"require() inside process-script causes:\r\n`resource://gre/modules/commonjs/toolkit/loader.js:244`\r\n`Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]`\r\n```\r\ngetZipFileContents@resource://gre/modules/commonjs/toolkit/loader.js:244:16\r\nurlCache.zipContentsCache<@resource://gre/modules/commonjs/toolkit/loader.js:268:14\r\nget@resource://gre/modules/commonjs/toolkit/loader.js:221:21\r\nexists@resource://gre/modules/commonjs/toolkit/loader.js:330:30\r\nresolveAsFile@resource://gre/modules/commonjs/toolkit/loader.js:596:7\r\nresolveRelative@resource://gre/modules/commonjs/toolkit/loader.js:627:23\r\nnodeResolve@resource://gre/modules/commonjs/toolkit/loader.js:673:23\r\n@resource://gre/modules/commonjs/toolkit/loader.js:989:25\r\ngetRequirements@resource://gre/modules/commonjs/toolkit/loader.js:865:23\r\n_require@resource://gre/modules/commonjs/toolkit/loader.js:761:32\r\nrequire@resource://gre/modules/commonjs/toolkit/loader.js:757:12\r\nmake/require@resource://gre/modules/commonjs/toolkit/require.js:13:8\r\n@chrome://dark-background-light-text/content/process-script.js:7:18\r\nexports.main@resource://gre/modules/commonjs/toolkit/loader.js ->\r\n resource://jid1-qofqdk4qzufgwq-at-jetpack/lib/index.js:435:5\r\nrun@resource://gre/modules/commonjs/toolkit/loader.js ->\r\n resource://gre/modules/commonjs/sdk/addon/runner.js:23:64\r\nstartup/</<@resource://gre/modules/commonjs/toolkit/loader.js ->\r\n resource://gre/modules/commonjs/sdk/addon/runner.js:7:91\r\nHandler.prototype.process@resource://gre/modules/Promise.jsm ->\r\n resource://gre/modules/Promise-backend.js:103:82\r\nthis.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm ->\r\n resource://gre/modules/Promise-backend.js:96:31\r\nthis.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm ->\r\n resource://gre/modules/Promise-backend.js:83:94\r\n```\r\n\r\nProblem code in `resource://gre/modules/commonjs/toolkit/loader.js`:\r\n```\r\n  getZipFileContents(uri, baseURL) {\r\n    // Make sure the path has a trailing slash, and strip off the leading\r\n    // slash, so that we can easily check whether it is a path prefix.\r\n    let basePath = addTrailingSlash(uri.JAREntry).slice(1);\r\n >>>let file = uri.JARFile.QueryInterface(Ci.nsIFileURL).file;\r\n\r\n    let enumerator = zipCache.getZip(file).findEntries(\"(*.js|*.json|*/)\");\r\n\r\n    let results = new Set();\r\n    for (let entry of XPCOMUtils.IterStringEnumerator(enumerator)) {\r\n      if (entry.startsWith(basePath)) {\r\n        let path = entry.slice(basePath.length);\r\n\r\n        results.add(baseURL + path);\r\n      }\r\n    }\r\n\r\n    return results;\r\n  },\r\n```\r\n\r\nWhile desktop developer edition version (with e10s enabled) only warns: `Use of nsIFile in content process is deprecated.` but still works.\r\n\r\nNothing about this was mentioned [here - Add-on Compatibility for Firefox 50](https://blog.mozilla.org/addons/2016/09/01/compatibility-for-firefox-50/)\r\n\r\nhttps://bugzil.la/1315547"},"comment":{"url":"https://api.github.com/repos/m-khvoinitsky/dark-background-light-text-extension/issues/comments/258981239","html_url":"https://github.com/m-khvoinitsky/dark-background-light-text-extension/issues/46#issuecomment-258981239","issue_url":"https://api.github.com/repos/m-khvoinitsky/dark-background-light-text-extension/issues/46","id":258981239,"user":{"login":"m-khvoinitsky","id":16675892,"avatar_url":"https://avatars.githubusercontent.com/u/16675892?v=3","gravatar_id":"","url":"https://api.github.com/users/m-khvoinitsky","html_url":"https://github.com/m-khvoinitsky","followers_url":"https://api.github.com/users/m-khvoinitsky/followers","following_url":"https://api.github.com/users/m-khvoinitsky/following{/other_user}","gists_url":"https://api.github.com/users/m-khvoinitsky/gists{/gist_id}","starred_url":"https://api.github.com/users/m-khvoinitsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-khvoinitsky/subscriptions","organizations_url":"https://api.github.com/users/m-khvoinitsky/orgs","repos_url":"https://api.github.com/users/m-khvoinitsky/repos","events_url":"https://api.github.com/users/m-khvoinitsky/events{/privacy}","received_events_url":"https://api.github.com/users/m-khvoinitsky/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T22:17:52Z","updated_at":"2016-11-07T22:17:52Z","body":"@the8472 thank you! For some reason I've missed this SDK module but it seems to be exactly what I need. I've just tested and the bug is not reproduced with remote/parent and, by the way, moving to remote/parent will also fix #36. Porting will not take much effort."}}
{"actor":{"display_login":"m-khvoinitsky"}}