)]}' { "commit": "9ff52fea6974e67e8a88d81cfdc99fe0c01210e7", "tree": "7f01d90ce1f2cc9b663b2a51a35caf9213952bbd", "parents": [ "fd18d735a7a8b61e4bbb339b456bb828f8c1a52f" ], "author": { "name": "Adrià Vilanova Martínez", "email": "me@avm99963.com", "time": "Thu Sep 15 12:27:49 2022 +0200" }, "committer": { "name": "Adrià Vilanova Martínez", "email": "me@avm99963.com", "time": "Mon Nov 14 20:21:12 2022 +0100" }, "message": "[MV2] Temporary fix for the unique tab feature\n\nThe unique tab feature doesn\u0027t work correctly in the MV2 variant of the\nextension.\n\nThis CL fixes this by changing how the data managed by the\nsessionStorage class is stored in the MV2 variant:\n\n- Before, it was saved in the window object, which was erased each time\n the background script was turned inactive by the browser. This\n behavior was fine for most data, but not for the \"translatorTab\" data,\n which is why there was this bug.\n- Now, it\u0027s saved in the persisted \"local\" storage area. For more\n information about this behavior, read the comment added to the\n //src/common/sessionStorage_mv2.js file.\n\nFixed: twpowertools:18\nChange-Id: Ie3979937f4bd0699b57506666beace3ffe00172a\n", "tree_diff": [ { "type": "modify", "old_id": "b0af7de0f6d114f89f41e1999c399d4ad2896056", "old_mode": 33188, "old_path": "src/background.ts", "new_id": "2db72b94e7a612dd934570defeb612d195aa7b83", "new_mode": 33188, "new_path": "src/background.ts" }, { "type": "modify", "old_id": "dda0ae129815b680a7f3596d34abf4c636622fd4", "old_mode": 33188, "old_path": "src/common/sessionStorage_mv2.ts", "new_id": "55990f3347ca3a0d522eaf1e671bf4c7a4a2b511", "new_mode": 33188, "new_path": "src/common/sessionStorage_mv2.ts" } ] }