{ "id": "128627", "key": "TIMOB-16821", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "2014-04-03T11:44:35.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "querystring", "webview" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:10.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": [], "description": "If you load a local file into a webview like this:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nwin.add(Ti.UI.createWebView({\r\n url: 'index.html?foo=bar'\r\n}));\r\nwin.open();\r\n{code}\r\n\r\nThe following {{index.html}} results in the attached screenshot, showing the query string is not found in {{window.location.search}}:\r\n\r\n{code}\r\n\r\n
\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nThis is unfortunate since I'd like to use the query string to pass parameters to the static HTML. I know I can wait for the WebView's {{load}} event and then {{evalJS}}, but my benchmarks show I loose a lot of valuable time this way.", "attachment": [ { "id": "47047", "filename": "iOS-simulatorschermafbeelding 3 apr. 2014 13.39.18.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-04-03T11:44:35.000+0000", "size": 53262, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS/Android : Support window.location.search for local files in WebView", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 3.2.GA\r\nAndroid + iOS", "comment": { "comments": [ { "id": "300066", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this enhancement request to Engineering for further evaluation and prioritization.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-07T17:27:29.000+0000", "updated": "2014-04-07T17:27:29.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }