Closed
Bug 725178
Opened 12 years ago
Closed 12 years ago
get rid ensureAccessibleTree of common.js
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla13
People
(Reporter: surkov, Assigned: Tobbi)
References
(Blocks 1 open bug)
Details
(Keywords: access, Whiteboard: [good first bug][mentor=surkov.alexander@gmail.com][lang=js])
Attachments
(1 file, 1 obsolete file)
2.91 KB,
patch
|
surkov
:
review+
|
Details | Diff | Splinter Review |
tree is created automatically and no way to force its creation so ensureAccessibleTree makes nothing (http://mxr.mozilla.org/mozilla-central/source/accessible/tests/mochitest/common.js).
Assignee | ||
Comment 1•12 years ago
|
||
patch v1
Assignee: nobody → tobbi.bugs
Status: NEW → ASSIGNED
Attachment #595410 -
Flags: review?(surkov.alexander)
Comment 2•12 years ago
|
||
Tobias, thanks for taking this! I looked over your patch, and saw that you didn't take into account yet the instances where this function is actually being called from test files. Grep tells me there are at least three of them that rely on the behavior here. They obviously need to be looked at and adjusted accordingly.
Assignee | ||
Comment 3•12 years ago
|
||
I'll get right on it. I relied on the function only being called in itself. Obviously, I was mistaken. Will use MXR to search through the tree.
Assignee | ||
Comment 4•12 years ago
|
||
Removing function as well as callers
Attachment #595410 -
Attachment is obsolete: true
Attachment #595410 -
Flags: review?(surkov.alexander)
Attachment #595463 -
Flags: review?(surkov.alexander)
Reporter | ||
Comment 5•12 years ago
|
||
Comment on attachment 595463 [details] [diff] [review] patch v2 Review of attachment 595463 [details] [diff] [review]: ----------------------------------------------------------------- r=me with comment fixed ::: accessible/tests/mochitest/events/test_text.html @@ -51,4 @@ > this.invoke = function removeChildSpan_invoke() > { > // remove HTML span, a first child of the node > - ensureAccessibleTree(this.DOMNode); it appears you didn't removed all instances (see removeChildren function)
Attachment #595463 -
Flags: review?(surkov.alexander) → review+
Comment 6•12 years ago
|
||
Comment on attachment 595463 [details] [diff] [review] patch v2 >diff --git a/accessible/tests/mochitest/events/test_tree.xul b/accessible/tests/mochitest/events/test_tree.xul >--- a/accessible/tests/mochitest/events/test_tree.xul >+++ b/accessible/tests/mochitest/events/test_tree.xul >@@ -129,11 +129,6 @@ > gTreeBox.view = gView; > } > >- this.finalCheck = function setTreeView_finalCheck(aEvent) >- { >- ensureAccessibleTree(gTree); >- } >- So this gets removed without adding something that actually *does* a real check on the result of this test? I don't think this is right.
Reporter | ||
Comment 7•12 years ago
|
||
(In reply to Marco Zehe (:MarcoZ) from comment #6) > Comment on attachment 595463 [details] [diff] [review] > patch v2 > > >diff --git a/accessible/tests/mochitest/events/test_tree.xul b/accessible/tests/mochitest/events/test_tree.xul > >--- a/accessible/tests/mochitest/events/test_tree.xul > >+++ b/accessible/tests/mochitest/events/test_tree.xul > >@@ -129,11 +129,6 @@ > > gTreeBox.view = gView; > > } > > > >- this.finalCheck = function setTreeView_finalCheck(aEvent) > >- { > >- ensureAccessibleTree(gTree); > >- } > >- > > So this gets removed without adding something that actually *does* a real > check on the result of this test? I don't think this is right. don't get confused by 'finalCheck' name, this invoker loads tree view, nothing else.
Reporter | ||
Comment 8•12 years ago
|
||
landed with minor fix in events/test_tree.xul to make mochitest pass https://hg.mozilla.org/integration/mozilla-inbound/rev/dfe18a0ece02
Reporter | ||
Comment 9•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dfe18a0ece02
Target Milestone: --- → mozilla13
Reporter | ||
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•