/irc-logs / mozilla / #accessibility / 2013-05-11 / end

Options:

  1. # Session Start: Sat May 11 00:00:00 2013
  2. # Session Ident: #accessibility
  3. # [00:03] <yzen> eeejay: hey :)
  4. # [00:04] * Quits: scott_gonzalez (scott_gonz@moz-91C81A39.hrbgpa.fios.verizon.net) (Quit: scott_gonzalez)
  5. # [00:05] <yzen> eeejay: thanks for your comments, i just wanted to confirm one thing
  6. # [00:06] <@eeejay> yzen, yeah?
  7. # [00:06] <yzen> eeejay: the whole reason the size was so complicated is because if at least one tab is closed the size will not be correct would it?
  8. # [00:07] <yzen> eeejay: i hate it at the same time though
  9. # [00:07] <@eeejay> yzen, because you add it to a list, which increases the count by one, and you add it to a map, which increases the count *only* if the key was not there earlier
  10. # [00:07] <yzen> :)
  11. # [00:08] <@eeejay> yzen, oh, i didn't understand your q
  12. # [00:08] <yzen> eeejay: ya , let me try again :)
  13. # [00:09] <yzen> eeejay: so assuming i we track all eventManagers with just a number; the user closes the tab. im not sure, at ttat point there's a way to update the size
  14. # [00:10] <@eeejay> yzen, the event manager is stopped, so you do removeListener() on AEO
  15. # [00:10] <yzen> eeejay: well that's the thing it will not be stopped, would it?
  16. # [00:10] <@eeejay> yzen, if it is successfully removed, decrease counter
  17. # [00:11] <yzen> eeejay: when the tab is closed that is
  18. # [00:11] <@eeejay> ooh
  19. # [00:11] <yzen> eeejay: AccessFu:stop will not get to content anymore
  20. # [00:11] <@eeejay> yzen, there must be a way
  21. # [00:11] <@eeejay> to have some code run in the content-script.py
  22. # [00:14] <yzen> |this| for the content-script will be dead though (the error in console), afaik so i assumed it was unloaded
  23. # [00:15] <yzen> ^ that is after the tab is closed
  24. # [00:15] <@eeejay> yzen, i bet there is some event you could listen to before it is unloaded
  25. # [00:16] <yzen> i hoped so to, so i had that TabClose which happens after, i tried messaging Accessfu:Stop on that event but that's too late
  26. # [00:17] <yzen> eeejay: could not find another one unfortunately , perhaps you or someone else might know then it would solve the issue ?
  27. # [00:19] <@eeejay> yzen, so TabClose is too late?
  28. # [00:19] <yzen> yes
  29. # [00:19] <yzen> that was the first thing i tried
  30. # [00:19] * Joins: Jesse (jruderman@moz-BE33DA21.fw1.sfo1.mozilla.net)
  31. # [00:20] <yzen> you can see my listener it does everything except for sending Accessfu:Stop exactly because of that
  32. # [00:20] <yzen> i thought because it's async message but not the case
  33. # [00:21] <@eeejay> yzen, https://developer.mozilla.org/en-US/docs/Observer_Notifications
  34. # [00:22] <@eeejay> maybe one of those notifications are relevant?
  35. # [00:22] <@eeejay> yzen, if you can't find anything, you are right.. we don't need to worry about stopping AEO
  36. # [00:24] <yzen> eeejay: i think i checked that doc too, i can try digging a little more, if not ill get rid of the complexity there , perhaps then i can open another bug for the counter?
  37. # [00:40] <@eeejay> yzen, yeah, sounds good. sorry for misunderstanding earlier
  38. # [00:41] <yzen> eeejay: cool, thanks :)
  39. # [00:46] * Quits: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP) (Quit: Leaving.)
  40. # [00:50] * Quits: Jesse (jruderman@moz-BE33DA21.fw1.sfo1.mozilla.net) (Quit: Jesse)
  41. # [01:10] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
  42. # [01:33] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
  43. # [01:42] * khuey is now known as khuey|away
  44. # [01:44] * Quits: logbot (logbot@moz-58CB32ED.glob.com.au) (Ping timeout)
  45. # [01:49] * khuey|away is now known as khuey
  46. # [01:55] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
  47. # [02:07] * Joins: logbot (logbot@moz-58CB32ED.glob.com.au)
  48. # [02:32] * khuey is now known as khuey|away
  49. # [02:35] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
  50. # [02:43] * khuey|away is now known as khuey
  51. # [02:50] * Quits: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP) (Quit: Leaving.)
  52. # [02:53] * Quits: rsilveira (rsilveira@moz-A4DDFB67.hsd1.wa.comcast.net) (Quit: Leaving.)
  53. # [02:55] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
  54. # [03:15] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
  55. # [03:20] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
  56. # [03:21] * Quits: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP) (Quit: Leaving.)
  57. # [03:23] * Joins: rednaks (rednaks@24067163.74C6FD40.360EF119.IP)
  58. # [03:35] * Quits: rednaks (rednaks@24067163.74C6FD40.360EF119.IP) (Ping timeout)
  59. # [03:51] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
  60. # [03:55] * Quits: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP) (Ping timeout)
  61. # [04:04] * khuey is now known as khuey|away
  62. # [04:51] * Joins: Jesse (jruderman@moz-537BCF9.hsd1.ca.comcast.net)
  63. # [05:05] * Joins: rednaks (rednaks@9E1582D5.77B180FD.6D8B4AB5.IP)
  64. # [05:18] * Joins: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP)
  65. # [05:33] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
  66. # [05:53] * Quits: rednaks (rednaks@9E1582D5.77B180FD.6D8B4AB5.IP) (Ping timeout)
  67. # [06:11] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
  68. # [06:22] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
  69. # [06:29] * Joins: rednaks (rednaks@9E1582D5.77B180FD.6D8B4AB5.IP)
  70. # [07:16] * Quits: peteb-away (ptbrunet@moz-B51E1692.austin.res.rr.com) (Client exited)
  71. # [08:00] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
  72. # [08:03] * Quits: rednaks (rednaks@9E1582D5.77B180FD.6D8B4AB5.IP) (Ping timeout)
  73. # [08:06] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
  74. # [08:34] * Joins: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com)
  75. # [08:43] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
  76. # [09:38] * Joins: rednaks (rednaks@24067163.74C6FD40.360EF119.IP)
  77. # [09:43] * Quits: rednaks (rednaks@24067163.74C6FD40.360EF119.IP) (Ping timeout)
  78. # [10:36] * Quits: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com) (Ping timeout)
  79. # [11:26] * Joins: rednaks (rednaks@24067163.74C6FD40.360EF119.IP)
  80. # [11:31] * Quits: victorporof (victorporo@B86E46F.1B500F07.6A4F8DA2.IP) (Quit: victorporof)
  81. # [12:15] * Quits: fxa90id (fxa90id@moz-1BD95BEC.dsl.dynamic.t-mobile.pl) (Quit: Wychodzi)
  82. # [13:19] * Quits: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP) (Quit: Leaving.)
  83. # [13:34] * Quits: rednaks (rednaks@24067163.74C6FD40.360EF119.IP) (Ping timeout)
  84. # [14:16] * Joins: rednaks (rednaks@24067163.74C6FD40.360EF119.IP)
  85. # [14:18] * Quits: rednaks (rednaks@24067163.74C6FD40.360EF119.IP) (Ping timeout)
  86. # [14:26] * Joins: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP)
  87. # [15:13] * Joins: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com)
  88. # [15:21] * Quits: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP) (Ping timeout)
  89. # [15:21] * Joins: yzen (Adium@7E943D50.9944E312.AD635EB3.IP)
  90. # [15:23] * Quits: yzen (Adium@7E943D50.9944E312.AD635EB3.IP) (Ping timeout)
  91. # [15:23] * Joins: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP)
  92. # [15:27] * Quits: ivan (ivan@moz-531C3EC9.members.linode.com) (Ping timeout)
  93. # [15:28] * Joins: ivan (ivan@moz-531C3EC9.members.linode.com)
  94. # [15:32] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
  95. # [15:55] * Joins: peteb-away (ptbrunet@moz-B51E1692.austin.res.rr.com)
  96. # [16:28] * Quits: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP) (Quit: Leaving.)
  97. # [16:55] * Quits: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com) (Ping timeout)
  98. # [17:10] * Joins: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com)
  99. # [17:19] * Quits: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com) (Ping timeout)
  100. # [17:59] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
  101. # [18:00] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
  102. # [18:15] * Quits: brambles (xymox@moz-969AAE9B.barwen.ch) (Ping timeout)
  103. # [18:16] * Joins: brambles (xymox@moz-969AAE9B.barwen.ch)
  104. # [20:03] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
  105. # [21:00] * Quits: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP) (Quit: Leaving.)
  106. # [21:18] * Quits: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP) (Quit: Leaving.)
  107. # [21:47] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
  108. # [22:02] * Joins: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP)
  109. # [23:57] * Joins: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com)
  110. # Session Close: Sun May 12 00:00:00 2013

The end :)