Closed
Bug 1278294
Opened 9 years ago
Closed 9 years ago
tree logging improvements
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla50
| Tracking | Status | |
|---|---|---|
| firefox50 | --- | fixed |
People
(Reporter: surkov, Assigned: surkov)
Details
Attachments
(7 files)
|
2.26 KB,
patch
|
yzen
:
review+
|
Details | Diff | Splinter Review |
|
2.30 KB,
patch
|
yzen
:
review+
|
Details | Diff | Splinter Review |
|
2.40 KB,
patch
|
yzen
:
review+
|
Details | Diff | Splinter Review |
|
2.55 KB,
patch
|
yzen
:
review+
|
Details | Diff | Splinter Review |
|
1.53 KB,
patch
|
yzen
:
review+
|
Details | Diff | Splinter Review |
|
8.10 KB,
patch
|
yzen
:
review+
|
Details | Diff | Splinter Review |
|
2.35 KB,
patch
|
yzen
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #8760331 -
Flags: review?(yzenevich)
| Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8760334 -
Flags: review?(yzenevich)
Updated•9 years ago
|
Attachment #8760331 -
Flags: review?(yzenevich) → review+
Updated•9 years ago
|
Attachment #8760334 -
Flags: review?(yzenevich) → review+
| Assignee | ||
Comment 2•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2b197e09ce5b50e40d153ac6ae3dfaadb9fd9346
Bug 1278294 - make TreeInfo to log document address, r=yzen
| Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/452617569aebabeb6da039064460347114a7ba00
Bug 1278294 - UpdateTreeOnRemoval should use logging::TreeInfo, part2, r=yzen
This caused build bustage like https://treeherder.mozilla.org/logviewer.html#?job_id=29725823&repo=mozilla-inbound
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/acc2acfacebd
Flags: needinfo?(surkov.alexander)
Comment 5•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
| Assignee | ||
Comment 6•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1a4ecd8c393b2239e959742925f70ceb3ef165a6
Bug 1278294 - UpdateTreeOnRemoval should use logging::TreeInfo, part2, r=yzen
| Assignee | ||
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Flags: needinfo?(surkov.alexander)
Keywords: leave-open
Resolution: FIXED → ---
| Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8761160 -
Flags: review?(yzenevich)
Updated•9 years ago
|
Attachment #8761160 -
Flags: review?(yzenevich) → review+
| Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8761254 -
Flags: review?(yzenevich)
| Assignee | ||
Comment 9•9 years ago
|
||
Attachment #8761264 -
Flags: review?(yzenevich)
| Assignee | ||
Comment 10•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f0006e4f551ead7f84b1ba79ec7f39e5c39a6e61
Bug 1278294 - text logging should log document address, part3, r=yzen
Updated•9 years ago
|
Attachment #8761254 -
Flags: review?(yzenevich) → review+
Comment 11•9 years ago
|
||
Comment on attachment 8761264 [details] [diff] [review]
part5: tree logging for single insertions
Review of attachment 8761264 [details] [diff] [review]:
-----------------------------------------------------------------
thanks
::: accessible/generic/DocAccessible.cpp
@@ +1819,5 @@
> + aContainer);
> +#endif
> +
> +#ifdef A11Y_LOG
> + logging::TreeInfo("traversing an inserted node", logging::eVerbose,
nit: indentation.
Attachment #8761264 -
Flags: review?(yzenevich) → review+
| Assignee | ||
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b1f370d930d5d4347c38bb99a5def3bee6d91bd5
Bug 1278294 - make all other tree loggings to log document address, part4, r=yzen
| Assignee | ||
Comment 13•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e9cd625ccf89aafd0c9fa5ac292160c43587c55b
Bug 1278294 - add tree logging for single content insertion, part5, r=yzen
| Assignee | ||
Comment 14•9 years ago
|
||
Assignee: nobody → surkov.alexander
Attachment #8761315 -
Flags: review?(yzenevich)
Comment 15•9 years ago
|
||
| bugherder | ||
Comment 16•9 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 17•9 years ago
|
||
I found it useful to add in the code when needed for debugging proposes.
Attachment #8762142 -
Flags: review?(yzenevich)
Comment 18•9 years ago
|
||
Comment on attachment 8761315 [details] [diff] [review]
part6: isolate tree dumping into separate method for easier reuse
Review of attachment 8761315 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good , thanks
Attachment #8761315 -
Flags: review?(yzenevich) → review+
Comment 19•9 years ago
|
||
Comment on attachment 8762142 [details] [diff] [review]
part7: DOM tree logging
Review of attachment 8762142 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good. Just a quick question: does it make sense to assign root->Get...() calls to a variable to avoid calling the method twice? Or it doesn't really affect performance?
Attachment #8762142 -
Flags: review?(yzenevich) → review+
| Assignee | ||
Comment 20•9 years ago
|
||
(In reply to Yura Zenevich [:yzen] from comment #19)
> Comment on attachment 8762142 [details] [diff] [review]
> part7: DOM tree logging
>
> Review of attachment 8762142 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Looks good. Just a quick question: does it make sense to assign
> root->Get...() calls to a variable to avoid calling the method twice? Or it
> doesn't really affect performance?
if you call that logging function at all that will hurt your performance :) the logging is not about performance in general. Anyway those Get methods has to be inline methods, and it may be even faster to call them directly, as you don't have to create a local variable.
Comment 21•9 years ago
|
||
gotcha
| Assignee | ||
Comment 22•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ac276f95b75118731e3ef913f2786858e7c7d206
Bug 1278294 - move accessible tree logging into separate method, part=6, r=yzen
Comment 23•9 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 24•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/46178702a3cae1d9f18228c4d7a0af99a0b0ebcc
Bug 1278294 - add DOM tree logging, part=7, r=yzen
| Assignee | ||
Updated•9 years ago
|
Keywords: leave-open
Comment 25•9 years ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•