Closed
Bug 728905
Opened 11 years ago
Closed 11 years ago
telemetry ZoomText, YouDao Dictionary and Kazaguru
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: surkov, Assigned: capella)
References
Details
(Whiteboard: [good first bug][mentor=trev.saunders@gmail.com][lang=c++])
Attachments
(1 file, 2 obsolete files)
2.82 KB,
patch
|
surkov
:
feedback+
|
Details | Diff | Splinter Review |
ZoomText dll is WebFinderRemote.dll 1) Add new constant for this dll (http://mxr.mozilla.org/mozilla-central/source/accessible/src/msaa/Compatibility.h#103) 1) Check new consumer in Compatibility::Init() 2) Fix TelemetryHistograms.h (http://mxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/TelemetryHistograms.h#59) Trevor, would be nice if you can steal mentoring.
Reporter | ||
Updated•11 years ago
|
OS: All → Windows 7
Reporter | ||
Comment 1•11 years ago
|
||
making Trevor a mentor per irc
Whiteboard: [good first bug][mentor=surkov.alexander@gmail.com][lang=c++] → [good first bug][mentor=trev.saunders@gmail.com][lang=c++]
Assignee | ||
Comment 2•11 years ago
|
||
At first glance, it looks like we add / change the following code snips: compatibility.h: /** * List of detected consumers of a11y (used for statistics/telemetry) */ enum { NVDA = 0, JAWS = 1, OLDJAWS = 2, WE = 3, DOLPHIN = 4, SEROTEK = 5, COBRA = 6, ZOOMHOOK = 7 }; telemetryhistograms.h: HISTOGRAM(A11Y_CONSUMERS, 1, 7, 8, LINEAR, "Accessibility client by enum id") compatibility.cpp if (::GetModuleHandleW(L"WebFinderRemote")) statistics::A11yConsumers(ZOOMTEXT); The last part is where my questions are... I'm assuming no special sMode, nor new tab switching code as with JAWS / WE / DOLPHIN. Also assuming that the handle is the name of the DLL. How is the packaging of the code done, that is, where do the DLL's reside? Local to the client or remote at MOZILLA or DLL provider perhaps?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•11 years ago
|
||
Added mentor to the cc list ...
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Mark Capella [:capella] from comment #2) > The last part is where my questions are... I'm assuming no special sMode, > nor new tab switching code as with JAWS / WE / DOLPHIN. yes > Also assuming that > the handle is the name of the DLL. not sure what you mean > How is the packaging of the code done, that is, where do the DLL's reside? > Local to the client or remote at MOZILLA or DLL provider perhaps? locally, this dll is a part of 3d party application - zoom text (http://www.aisquared.com/zoomtext). If the user installed it and running it together with Firefox then this code triggers and we collect this data.
Comment 5•11 years ago
|
||
> > Also assuming that
> > the handle is the name of the DLL.
>
> not sure what you mean
I think he wanted to make sure the dll's name was the thing to pass to GetModuleHandleW() which I believe is correct.
Reporter | ||
Comment 6•11 years ago
|
||
(In reply to Trevor Saunders (:tbsaunde) from comment #5) > > > Also assuming that > > > the handle is the name of the DLL. > > > > not sure what you mean > > I think he wanted to make sure the dll's name was the thing to pass to > GetModuleHandleW() which I believe is correct. Ah, yes, that's right. GetModuleHandle takes dll file name.
Assignee | ||
Comment 7•11 years ago
|
||
Code changes effect a clean local clobber build. How to test soon becomes relevent ...
Attachment #600660 -
Flags: review?(trev.saunders)
Comment 8•11 years ago
|
||
Comment on attachment 600660 [details] [diff] [review] Patch (v1) canceling review for bug 730198 comment 3
Attachment #600660 -
Flags: review?(trev.saunders)
Assignee | ||
Comment 9•11 years ago
|
||
Rolled patch for bug73198 and bug728905 into this one ...
Attachment #600660 -
Attachment is obsolete: true
Attachment #600671 -
Flags: review?(trev.saunders)
Assignee | ||
Comment 10•11 years ago
|
||
Sorry ... rolled in bug730198
Updated•11 years ago
|
Attachment #600671 -
Flags: review?(trev.saunders)
Attachment #600671 -
Flags: review+
Attachment #600671 -
Flags: feedback?(surkov.alexander)
Reporter | ||
Updated•11 years ago
|
Summary: telemetry ZoomText → telemetry ZoomText, YouDao Dictionary and Kazaguru
Reporter | ||
Comment 12•11 years ago
|
||
Comment on attachment 600671 [details] [diff] [review] Patch (v2) Review of attachment 600671 [details] [diff] [review]: ----------------------------------------------------------------- f=me with comment addressed ::: accessible/src/msaa/Compatibility.h @@ +109,5 @@ > SEROTEK = 5, > + COBRA = 6, > + ZOOMTEXT = 7, > + KAZAHOOK = 8, > + TEXTEXTRACTOR = 9 I'd prefer application names, that's better for readability
Attachment #600671 -
Flags: feedback?(surkov.alexander) → feedback+
Assignee | ||
Comment 13•11 years ago
|
||
Attachment #600671 -
Attachment is obsolete: true
Attachment #600683 -
Flags: feedback?(surkov.alexander)
Reporter | ||
Comment 14•11 years ago
|
||
Comment on attachment 600683 [details] [diff] [review] Patch (v3) Review of attachment 600683 [details] [diff] [review]: ----------------------------------------------------------------- ::: accessible/src/msaa/Compatibility.cpp @@ +123,5 @@ > + if (::GetModuleHandleW(L"Kazahook")) > + statistics::A11yConsumers(KAZAGURU); > + > + if ((::GetModuleHandleW(L"TextExtractorImpl32")) || > + (::GetModuleHandleW(L"TextExtractorImpl64"))) I'm curious why do you wrap the method call by braces, otherwise is fine, f+, again :)
Attachment #600683 -
Flags: feedback?(surkov.alexander) → feedback+
Assignee | ||
Comment 15•11 years ago
|
||
Oh.... hmmm... cut 'n paste overkill :-( Do I need to re-ask for review+ to move forward? Since I don't have L1 I usually have to get a review+ then I can AUTOLAND to TRY, when that passes I can CHECKIN-NEEDED ... (On our last bug728904 together, you did alot of this for me.)
Reporter | ||
Comment 16•11 years ago
|
||
I'll land it, don't worry. I do that for a11y patches.
Reporter | ||
Comment 17•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a32cc7faa71a
Comment 18•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a32cc7faa71a
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in
before you can comment on or make changes to this bug.
Description
•