{ "id": "88397", "key": "TIMOB-8164", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-03-21T14:45:45.000+0000", "created": "2012-03-21T13:40:51.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "mw-list" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-01-28T23:48:59.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "Affects latest CI as of this writing: 2.0.0.v20120321134756\r\n\r\nh2. Problem\r\n\r\nFirefox 10.0.2 will throw an exception whenever you attempt to access a local file with {{Ti.Network.HTTPClient}}. This was not the case a week ago in the CI. Also, Chrome and Safari work fine with local files. The error is the one below:\r\n\r\n{code}\r\nA parameter or an operation is not supported by the underlying object\r\n[Break On This Error] \t\r\n\r\nthis._xhr.withCredentials = this.withCredentials\r\n{code}\r\n\r\nh2. Test Case\r\n\r\nThis test case will run as expected in Chrome and Safari, but will throw the above error in Firefix\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff',\r\n\tfullscreen: false,\r\n\texitOnClose: true\r\n});\r\n\r\nvar xhr = Titanium.Network.createHTTPClient();\t\r\nxhr.open('GET', '/app.js');\r\nxhr.onload = function(e) {\r\n\talert('onload');\r\n};\r\nxhr.onerror = function(e) {\r\n\talert('onerror');\r\n};\r\nxhr.send();\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Mobileweb: FF 10.0.2 throws exception when attempting to access local file with HTTPClient", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.7.3\r\nTiStudio 2.0.1\r\nFF 10.0.2\r\nChrome \r\nSafari 5.1.4", "comment": { "comments": [ { "id": "187819", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixing in TIMOB-7151", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-21T14:45:45.000+0000", "updated": "2012-03-21T14:45:45.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }