{ "id": "130120", "key": "TIMOB-16928", "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": [ { "id": "16270", "description": "2014 Sprint 10", "name": "2014 Sprint 10", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "16272", "description": "2014 Sprint 10 Tooling", "name": "2014 Sprint 10 Tooling", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-05-13T00:38:58.000+0000", "created": "2014-05-07T17:41:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-03T21:32:54.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": "13719", "name": "Windows Hybrid", "description": "Windows Hybrid platform" } ], "description": "The first time you initialize a Microsoft.Browser object and set the isScriptEnabled: true, it does not load for the first page. Always renders on the 2nd instance or on the next reloading. ", "attachment": [ { "id": "47960", "filename": "csstester.zip", "author": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "created": "2014-05-09T21:24:10.000+0000", "size": 7510328, "mimeType": "application/zip" } ], "flagged": false, "summary": "Windows Hybrid: isScriptEnabled does not load on first Browser Instance", "creator": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 107, "state": "closed", "name": "2014 Sprint 10 Tooling", "startDate": "2014-05-12T16:00:00.000Z", "endDate": "2014-05-24T00:00:00.000Z", "completeDate": "2014-05-27T18:11:27.256Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "303843", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can you please provide a test case?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-07T17:43:41.000+0000", "updated": "2014-05-07T17:43:41.000+0000" }, { "id": "303858", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "How is this possible?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-07T18:27:20.000+0000", "updated": "2014-05-07T18:27:20.000+0000" }, { "id": "304266", "author": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "body": "added to the ticket ( the test case from client )", "updateAuthor": { "name": "jspain", "key": "jspain", "displayName": "Jamil Spain", "active": false, "timeZone": "America/New_York" }, "created": "2014-05-09T21:24:24.000+0000", "updated": "2014-05-09T21:24:24.000+0000" }, { "id": "304301", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The attached test case does not exhibit any sort of issue that the title describes. Perhaps the attachment was meant TIMOB-16933.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-10T07:29:11.000+0000", "updated": "2014-05-10T07:29:11.000+0000" }, { "id": "304412", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I cannot reproduce the problem here.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-12T18:11:49.000+0000", "updated": "2014-05-12T18:11:49.000+0000" }, { "id": "304504", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I was able to reproduce the problem. The problem stems from how they are using the WebBrowser object, specifically with injecting HTML into the WebBrowser object. To be clear, JavaScript is enabled, CSS is working, and I believe the actual behavior is the expected behavior.\r\n\r\nWhen injecting HTML into a WebBrowser instance, it appears that embedded script tags have limitations. For example, {{window.addEventListener()}} is not available. You must use {{window.attachEvent()}}. I believe this to be a bug with Windows Phone 8/Internet Explorer 9.\r\n\r\nThe limitation that is causing issues when an included script references {{document.domain}} to determine the domain of the parent window. The problem is when you inject HTML, there is no domain. Whenever you reference {{document.domain}}, all subsequent JavaScript in that script block or JS file fails execute. There are no errors thrown. You cannot override document.domain either. It's read only.\r\n\r\nYou can examine {{location.hostname}}, however in the parent document this is an empty string and in an included script it is \"about.blank\".\r\n\r\nIn short, you cannot reference {{document.domain}} period. You can try to reference {{location.hostname}}, but the value it returns depends on the context.\r\n\r\nThere are probably more limitations, but those are outside the scope of this ticket.\r\n\r\nResolving this ticket as invalid.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-13T00:38:58.000+0000", "updated": "2014-05-13T00:38:58.000+0000" }, { "id": "408927", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T21:32:54.000+0000", "updated": "2017-03-03T21:32:54.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }