{ "id": "91897", "key": "ALOY-17", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "14036", "description": "2012 Sprint 14", "name": "2012 Sprint 14", "archived": true, "released": true, "releaseDate": "2012-07-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-19T11:52:04.000+0000", "created": "2012-05-16T06:43:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14036", "description": "2012 Sprint 14", "name": "2012 Sprint 14", "archived": true, "released": true, "releaseDate": "2012-07-19" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-19T11:52:04.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": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" } ], "description": "Tasks:\r\n\r\n* It appears to be this call that is failing in sizzle.js\r\n{code:javascript}\r\nArray.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType;\r\n\r\n// this fails also\r\n// Array.prototype.slice.call( document.documentElement.childNodes._nodes, 0 )[0].nodeType;\r\n{code}\r\n* We should attempt to solve the problem without editing sizzle.js. If possible, the changes should be made to the XML DOM parsing code which we have full control over. The XML DOM parsing code is no longer updated, while sizzle.js is updated on a regular basis. ", "attachment": [], "flagged": false, "summary": "sizzle.js: only id selectors work", "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": null, "comment": { "comments": [ { "id": "194978", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The {{Array.prototype.slice}} check was failing because no elements, aside from the document element, are loaded into the DOM at the point when this check is made. By specifying the XML load like this:\r\n\r\n{code:javascript}\r\nloadXML('');\r\n{code}\r\n\r\nThe check passes and we can now traverse elements by tag name. Apprpriate changes have been made to the DOM generation code to account for the BODY tag.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-16T08:02:08.000+0000", "updated": "2012-05-16T08:02:08.000+0000" }, { "id": "194982", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "fix details here: [https://github.com/appcelerator/ZipTi/commit/42ca5d42e5341975827c2c7b1bbf95e8aaf0be4e|https://github.com/appcelerator/ZipTi/commit/42ca5d42e5341975827c2c7b1bbf95e8aaf0be4e]", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-16T08:11:44.000+0000", "updated": "2012-05-16T08:11:44.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }