Files
2012-02-21 01:15:00 -05:00

1 line
2.9 KiB
JSON

[{"user_id": 30494, "stars": [], "topic_id": 45437, "date_created": 1316263121.7241631, "message": "I tested cross domain XMLHttpRequests when running in KBX mode. I was happy to see that they are supported on Chrome KBX. However on Firefox I get errors .", "group_id": 236, "id": 2149430}, {"user_id": 30494, "stars": [], "topic_id": 45437, "date_created": 1316263168.9376199, "message": "I tested the code on Firefox KBX 1.85", "group_id": 236, "id": 2149432}, {"user_id": 30494, "stars": [], "topic_id": 45437, "date_created": 1316263141.787246, "message": "Error: 14:34:02 ERROR general Closure Executed with error a1135x137 - 13162628397673266236639443846 {\n QueryInterface: function QueryInterface() {\n [native code]\n },\n message: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send],\n result: 2147500037,\n name: NS_ERROR_FAILURE,\n filename: resource://jid0-njkmo4quo4rc8p9kcuemahnyiku-at-jetpack-api-utils-lib/securable-module.js -> resource://jid0-njkmo4quo4rc8p9kcuemahnyiku-at-jetpack-api-utils-lib/content/content-proxy.js,\n lineNumber: 92,\n columnNumber: 0,\n location: Error formatting property. Details: Exception: Permission denied for <https://convore.com> to create wrapper for object of class UnnamedClass on line number 1027 in file page_interaction.js,\n inner: null,\n data: null,\n initialize: function initialize() {\n [native code]\n }\n}\n ", "group_id": 236, "id": 2149431}, {"user_id": 30494, "stars": [], "topic_id": 45437, "date_created": 1316264048.3541651, "message": "I was wondering if this is a bug in the Firefox KBX or if it is a coincidence that XMLHttpRequest are working with the Chrome KBX ? ", "group_id": 236, "id": 2149462}, {"user_id": 30494, "stars": [], "topic_id": 45437, "date_created": 1316265592.8477311, "message": "I just remembered that KBX runs greasemonkey scripts and the greasemonkey API has a GM_xmlhttpRequest function", "group_id": 236, "id": 2149583}, {"user_id": 30494, "stars": [], "topic_id": 45437, "date_created": 1316266534.3309619, "message": "in the meantime we can already use the GM_xmlhttpRequest function ( I remember that GM_xmlhttpRequest won't work though in standalone extensions because the greasemonkey functions are not shipped inside the generated xpi or crx files )", "group_id": 236, "id": 2149644}, {"user_id": 30494, "stars": [], "topic_id": 45437, "date_created": 1316265892.5087259, "message": "I tested an old app of mine that was a port of a greasemonkey script that uses GM_xmlhttpRequest and the cross domain request gets executed succesfully on Firefox", "group_id": 236, "id": 2149609}, {"user_id": 30494, "stars": [], "topic_id": 45437, "date_created": 1316266382.159126, "message": "so we could have cross domain requests working on both Firefox and Chrome maybe not as a native call to the XMLHttpRequest object but through a public function that KBX would expose .", "group_id": 236, "id": 2149637}]