/irc-logs / mozilla / #accessibility / 2013-05-11 / end
Options:
- # Session Start: Sat May 11 00:00:00 2013
- # Session Ident: #accessibility
- # [00:03] <yzen> eeejay: hey :)
- # [00:04] * Quits: scott_gonzalez (scott_gonz@moz-91C81A39.hrbgpa.fios.verizon.net) (Quit: scott_gonzalez)
- # [00:05] <yzen> eeejay: thanks for your comments, i just wanted to confirm one thing
- # [00:06] <@eeejay> yzen, yeah?
- # [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?
- # [00:07] <yzen> eeejay: i hate it at the same time though
- # [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
- # [00:07] <yzen> :)
- # [00:08] <@eeejay> yzen, oh, i didn't understand your q
- # [00:08] <yzen> eeejay: ya , let me try again :)
- # [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
- # [00:10] <@eeejay> yzen, the event manager is stopped, so you do removeListener() on AEO
- # [00:10] <yzen> eeejay: well that's the thing it will not be stopped, would it?
- # [00:10] <@eeejay> yzen, if it is successfully removed, decrease counter
- # [00:11] <yzen> eeejay: when the tab is closed that is
- # [00:11] <@eeejay> ooh
- # [00:11] <yzen> eeejay: AccessFu:stop will not get to content anymore
- # [00:11] <@eeejay> yzen, there must be a way
- # [00:11] <@eeejay> to have some code run in the content-script.py
- # [00:14] <yzen> |this| for the content-script will be dead though (the error in console), afaik so i assumed it was unloaded
- # [00:15] <yzen> ^ that is after the tab is closed
- # [00:15] <@eeejay> yzen, i bet there is some event you could listen to before it is unloaded
- # [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
- # [00:17] <yzen> eeejay: could not find another one unfortunately , perhaps you or someone else might know then it would solve the issue ?
- # [00:19] <@eeejay> yzen, so TabClose is too late?
- # [00:19] <yzen> yes
- # [00:19] <yzen> that was the first thing i tried
- # [00:19] * Joins: Jesse (jruderman@moz-BE33DA21.fw1.sfo1.mozilla.net)
- # [00:20] <yzen> you can see my listener it does everything except for sending Accessfu:Stop exactly because of that
- # [00:20] <yzen> i thought because it's async message but not the case
- # [00:21] <@eeejay> yzen, https://developer.mozilla.org/en-US/docs/Observer_Notifications
- # [00:22] <@eeejay> maybe one of those notifications are relevant?
- # [00:22] <@eeejay> yzen, if you can't find anything, you are right.. we don't need to worry about stopping AEO
- # [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?
- # [00:40] <@eeejay> yzen, yeah, sounds good. sorry for misunderstanding earlier
- # [00:41] <yzen> eeejay: cool, thanks :)
- # [00:46] * Quits: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP) (Quit: Leaving.)
- # [00:50] * Quits: Jesse (jruderman@moz-BE33DA21.fw1.sfo1.mozilla.net) (Quit: Jesse)
- # [01:10] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
- # [01:33] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
- # [01:42] * khuey is now known as khuey|away
- # [01:44] * Quits: logbot (logbot@moz-58CB32ED.glob.com.au) (Ping timeout)
- # [01:49] * khuey|away is now known as khuey
- # [01:55] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
- # [02:07] * Joins: logbot (logbot@moz-58CB32ED.glob.com.au)
- # [02:32] * khuey is now known as khuey|away
- # [02:35] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
- # [02:43] * khuey|away is now known as khuey
- # [02:50] * Quits: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP) (Quit: Leaving.)
- # [02:53] * Quits: rsilveira (rsilveira@moz-A4DDFB67.hsd1.wa.comcast.net) (Quit: Leaving.)
- # [02:55] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
- # [03:15] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
- # [03:20] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
- # [03:21] * Quits: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP) (Quit: Leaving.)
- # [03:23] * Joins: rednaks (rednaks@24067163.74C6FD40.360EF119.IP)
- # [03:35] * Quits: rednaks (rednaks@24067163.74C6FD40.360EF119.IP) (Ping timeout)
- # [03:51] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
- # [03:55] * Quits: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP) (Ping timeout)
- # [04:04] * khuey is now known as khuey|away
- # [04:51] * Joins: Jesse (jruderman@moz-537BCF9.hsd1.ca.comcast.net)
- # [05:05] * Joins: rednaks (rednaks@9E1582D5.77B180FD.6D8B4AB5.IP)
- # [05:18] * Joins: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP)
- # [05:33] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
- # [05:53] * Quits: rednaks (rednaks@9E1582D5.77B180FD.6D8B4AB5.IP) (Ping timeout)
- # [06:11] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
- # [06:22] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
- # [06:29] * Joins: rednaks (rednaks@9E1582D5.77B180FD.6D8B4AB5.IP)
- # [07:16] * Quits: peteb-away (ptbrunet@moz-B51E1692.austin.res.rr.com) (Client exited)
- # [08:00] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
- # [08:03] * Quits: rednaks (rednaks@9E1582D5.77B180FD.6D8B4AB5.IP) (Ping timeout)
- # [08:06] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
- # [08:34] * Joins: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com)
- # [08:43] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
- # [09:38] * Joins: rednaks (rednaks@24067163.74C6FD40.360EF119.IP)
- # [09:43] * Quits: rednaks (rednaks@24067163.74C6FD40.360EF119.IP) (Ping timeout)
- # [10:36] * Quits: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com) (Ping timeout)
- # [11:26] * Joins: rednaks (rednaks@24067163.74C6FD40.360EF119.IP)
- # [11:31] * Quits: victorporof (victorporo@B86E46F.1B500F07.6A4F8DA2.IP) (Quit: victorporof)
- # [12:15] * Quits: fxa90id (fxa90id@moz-1BD95BEC.dsl.dynamic.t-mobile.pl) (Quit: Wychodzi)
- # [13:19] * Quits: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP) (Quit: Leaving.)
- # [13:34] * Quits: rednaks (rednaks@24067163.74C6FD40.360EF119.IP) (Ping timeout)
- # [14:16] * Joins: rednaks (rednaks@24067163.74C6FD40.360EF119.IP)
- # [14:18] * Quits: rednaks (rednaks@24067163.74C6FD40.360EF119.IP) (Ping timeout)
- # [14:26] * Joins: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP)
- # [15:13] * Joins: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com)
- # [15:21] * Quits: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP) (Ping timeout)
- # [15:21] * Joins: yzen (Adium@7E943D50.9944E312.AD635EB3.IP)
- # [15:23] * Quits: yzen (Adium@7E943D50.9944E312.AD635EB3.IP) (Ping timeout)
- # [15:23] * Joins: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP)
- # [15:27] * Quits: ivan (ivan@moz-531C3EC9.members.linode.com) (Ping timeout)
- # [15:28] * Joins: ivan (ivan@moz-531C3EC9.members.linode.com)
- # [15:32] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
- # [15:55] * Joins: peteb-away (ptbrunet@moz-B51E1692.austin.res.rr.com)
- # [16:28] * Quits: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP) (Quit: Leaving.)
- # [16:55] * Quits: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com) (Ping timeout)
- # [17:10] * Joins: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com)
- # [17:19] * Quits: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com) (Ping timeout)
- # [17:59] * Joins: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net)
- # [18:00] * Quits: lizzard (ehenry@moz-5A4BE8E8.dsl.static.sonic.net) (Quit: lizzard)
- # [18:15] * Quits: brambles (xymox@moz-969AAE9B.barwen.ch) (Ping timeout)
- # [18:16] * Joins: brambles (xymox@moz-969AAE9B.barwen.ch)
- # [20:03] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
- # [21:00] * Quits: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP) (Quit: Leaving.)
- # [21:18] * Quits: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP) (Quit: Leaving.)
- # [21:47] * Joins: maxli (maxli@C03F2759.C70D537E.2FA4EA88.IP)
- # [22:02] * Joins: yzen (Adium@AA2C085E.10C8AEF8.9A8C35B4.IP)
- # [23:57] * Joins: SteveF (chatzilla@moz-3F778890.cable.virginmedia.com)
- # Session Close: Sun May 12 00:00:00 2013
The end :)