{ "id": "97833", "key": "TIMOB-10101", "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": null, "resolutiondate": null, "created": "2012-07-23T16:59:07.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "parity" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:07.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Android's clearInterval and clearTimeout both accept interval and timeout timers.\r\n\r\nExample:\r\n\r\n{code:javascript}\r\nvar timeout = setTimeout(function() { }, 1000);\r\nvar interval = setInterval(function() { }, 1000);\r\n\r\n// All of these clear() calls work on Android.\r\nclearTimeout(interval);\r\nclearTimeout(timeout);\r\n\r\nclearInterval(interval);\r\nclearInterval(timeout);\r\n{code}\r\n\r\nShould define the correct behavior for all platforms (do we allow any timer type?).\r\nIf we don't allow canceling any timer type, how should we error out?\r\n", "attachment": [], "flagged": false, "summary": "Android: clearTimeout and clearInterval accept any timer type.", "creator": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }