{ "id": "174996", "key": "TIMOB-27887", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-11-20T16:15:13.000+0000", "created": "2020-05-07T15:43:56.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [ { "id": "58583", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "175164", "key": "TIMOB-27970", "fields": { "summary": "Android: Update V8 runtime to 8.4", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-11-20T16:15:13.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "I tried to use protobufjs npm package, and found on a simulator session that it crashed when trying to load WebAssembly baked into the long.js code here:\r\nhttps://github.com/dcodeIO/long.js/blob/master/src/long.js#L16\r\n\r\nHere's the output:\r\n{code}\r\n[ERROR] v8:\r\n[ERROR] v8:\r\n[ERROR] v8: #\r\n[ERROR] v8: # Fatal error in , line 0\r\n[ERROR] v8: #\r\n[ERROR] v8: WebAssembly is not supported in no-embed builds. no-embed builds are deprecated. See\r\n[ERROR] v8: - https://groups.google.com/d/msg/v8-users/9F53xqBjpkI/9WmKSbcWBAAJ\r\n[ERROR] v8: - https://crbug.com/v8/8519\r\n[ERROR] v8: - https://crbug.com/v8/8531\r\n[ERROR] v8:\r\n[ERROR] v8: #\r\n[ERROR] v8: #\r\n[ERROR] v8: #\r\n[ERROR] v8: #FailureMessage Object: 0xffd4aea0\r\n[INFO] v8: # 00xc6501835\r\n[INFO] v8: # 10xc64f856a\r\n[INFO] v8: # 20xc6a805fa\r\n[INFO] v8: # 30xc6a82ec1\r\n[INFO] v8: # 40xc6a8abd3\r\n[INFO] v8: # 50xc6a8ab3b\r\n[INFO] v8: # 60xc6a5e7ba\r\n[INFO] v8: # 70xc6a8853b\r\n[INFO] v8: # 80xc6ab0bb6\r\n[INFO] v8: # 90xc65819cf\r\n[INFO] v8: #100xc6580b8c\r\n[INFO] v8: #110xc6580500\r\n[INFO] v8: #120xc6580221\r\n[INFO] v8: #130xc5e02add\r\n[INFO] v8:\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Support WebAssembly in V8", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 1201, "state": "closed", "name": "2020 Sprint 14", "startDate": "2020-07-06T15:40:00.000Z", "endDate": "2020-07-17T15:40:00.000Z", "completeDate": "2020-07-20T22:16:28.367Z", "originBoardId": 114 }, { "id": 1202, "state": "closed", "name": "2020 Sprint 15", "startDate": "2020-07-20T22:16:05.601Z", "endDate": "2020-07-31T22:16:00.000Z", "completeDate": "2020-08-03T20:27:12.585Z", "originBoardId": 114 }, { "id": 1203, "state": "closed", "name": "2020 Sprint 16", "startDate": "2020-08-03T20:57:55.114Z", "endDate": "2020-08-14T20:57:00.000Z", "completeDate": "2020-08-14T15:19:51.647Z", "originBoardId": 114 }, { "id": 1204, "state": "closed", "name": "2020 Sprint 17", "startDate": "2020-08-17T15:48:00.000Z", "endDate": "2020-08-28T15:48:00.000Z", "completeDate": "2020-08-31T15:36:28.040Z", "originBoardId": 114 }, { "id": 1205, "state": "closed", "name": "2020 Sprint 18", "startDate": "2020-08-31T15:45:10.220Z", "endDate": "2020-09-11T15:45:00.000Z", "completeDate": "2020-09-11T19:56:20.674Z", "originBoardId": 114 }, { "id": 1206, "state": "closed", "name": "2020 Sprint 19", "startDate": "2020-09-14T20:01:00.000Z", "endDate": "2020-09-25T20:01:00.000Z", "completeDate": "2020-09-28T15:30:19.875Z", "originBoardId": 114 }, { "id": 1196, "state": "closed", "name": "2020 Sprint 11", "startDate": "2020-05-26T15:56:00.000Z", "endDate": "2020-06-05T15:56:00.000Z", "completeDate": "2020-06-08T21:05:50.356Z", "originBoardId": 114 }, { "id": 1198, "state": "closed", "name": "2020 Sprint 12", "startDate": "2020-06-08T21:06:41.849Z", "endDate": "2020-06-19T21:06:00.000Z", "completeDate": "2020-06-19T15:54:38.493Z", "originBoardId": 114 }, { "id": 1199, "state": "closed", "name": "2020 Sprint 13", "startDate": "2020-06-19T16:41:04.099Z", "endDate": "2020-07-02T16:41:00.000Z", "completeDate": "2020-07-02T15:37:12.455Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "455400", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I should note that even if we can't support WebAssembly, we should not crash, but throw an Error so that the fallback code could run.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-05-07T15:45:58.000+0000", "updated": "2020-05-07T15:45:58.000+0000" }, { "id": "455517", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews], I think the solution is to build V8 with the following command line argument...\r\n{code}\r\nv8_enable_embedded_builtins=true\r\n{code}\r\n\r\n...in our shell script below. This script currently sets this argument to {{false}}.\r\nhttps://github.com/appcelerator/v8_titanium/blob/master/build_v8.sh\r\n\r\nThis is based on the info I've read here...\r\nhttps://groups.google.com/forum/#!msg/v8-users/9F53xqBjpkI/9WmKSbcWBAAJ\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-05-20T00:56:30.000+0000", "updated": "2020-05-20T00:56:52.000+0000" }, { "id": "455559", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "v8_titanium: https://github.com/appcelerator/v8_titanium/pull/52\r\nv8_snapshot: https://github.com/appcelerator/v8_snapshot/commit/47a7b0ede1c548b24b8efb6aff4e562cb5f5c1a7\r\ntitanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/11736", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-05-27T00:21:03.000+0000", "updated": "2020-05-27T00:21:03.000+0000" }, { "id": "456262", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/11849", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-28T23:35:01.000+0000", "updated": "2020-07-28T23:35:01.000+0000" }, { "id": "456484", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to 9_3_X for 9.3.0 target", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-08-17T16:51:38.000+0000", "updated": "2020-08-17T16:51:38.000+0000" }, { "id": "456983", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, Tested using the test cases from: https://github.com/appcelerator/titanium_mobile/pull/11849.\r\n\r\n*Test Environment*\r\n{code:java}\r\nMacOS Big Sur: 11.0 Beta 7\r\nJava Version: 1.8.0_242\r\nAndroid NDK: 21.3.6528147\r\nNode.js: 12.18.1\r\n\"\"NPM\":\"5.0.0\",\"CLI\":\"8.1.1\"\"\r\nPixel Xl (10){code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-22T14:44:42.000+0000", "updated": "2020-09-22T14:44:42.000+0000" }, { "id": "457661", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*. New Feature verified in SDK version {{9.3.0.v20201119063936}}.\r\n\r\nTest and other information can be found at:\r\nhttps://github.com/appcelerator/titanium_mobile/pull/11849", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-11-20T16:15:07.000+0000", "updated": "2020-11-20T16:15:07.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }