Closed
Bug 476404
Opened 16 years ago
Closed 16 years ago
[SeaMonkey] New a11y test_relations.xul fails: "... not a target of relation of 'embeds' type ..."
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.9.2a1
People
(Reporter: sgautherie, Assigned: surkov)
References
(Blocks 2 open bugs)
Details
(Keywords: fixed1.9.1)
Attachments
(1 file, 1 obsolete file)
1.04 KB,
patch
|
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20090129 SeaMonkey/2.0a3pre] (experimental/_m-c_, home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/01c42e286b4c +http://hg.mozilla.org/comm-central/rev/dcb38165108d) [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20090201 SeaMonkey/2.0a3pre] (experimental/_m-c_, home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/3d2cbfcf9217 +http://hg.mozilla.org/comm-central/rev/a62cac409cf7) { ... 1100 ERROR TEST-UNEXPECTED-FAIL | chrome://mochikit/content/a11y/accessible/test_relations.html | [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument, nsIAccessNode)] is not a target of relation of 'embeds' type for [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument, nsIAccessNode)]. - got null, expected [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument, nsIAccessNode)] ... 1121 ERROR TEST-UNEXPECTED-FAIL | chrome://mochikit/content/a11y/accessible/test_relations.xul | [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument, nsIAccessNode)] is not a target of relation of 'embeds' type for [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument, nsIAccessNode)]. - got null, expected [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument, nsIAccessNode)] ... }
Reporter | ||
Updated•16 years ago
|
Blocks: SmTestFail
Assignee | ||
Comment 1•16 years ago
|
||
Ok, some investigations. The problem is root accessible (seamonkey window) doesn't expose EMBEDS relation and it may be a problem for screen readers. Code lines: 1) get docshell tree item and get content tree item http://mxr.mozilla.org/mozilla-central/source/accessible/src/base/nsRootAccessible.cpp#1041 2) get accessible of content tree item 2.1) get DOM node for content tree item http://mxr.mozilla.org/mozilla-central/source/accessible/src/base/nsAccessNode.cpp#692 2.2) get pres shell for DOM node - http://mxr.mozilla.org/mozilla-central/source/accessible/src/base/nsAccessibilityService.cpp#1153 Obtained pres shell is null so we don't create accessible for content tree item.
Assignee | ||
Comment 2•16 years ago
|
||
Neil's catch.
Assignee: nobody → surkov.alexander
Status: NEW → ASSIGNED
Attachment #362718 -
Flags: superreview?(neil)
Attachment #362718 -
Flags: review?(david.bolter)
Assignee | ||
Comment 3•16 years ago
|
||
Comment on attachment 362718 [details] [diff] [review] patch Marco, could you test AT who rely on embeds relation of root accessible?
Attachment #362718 -
Flags: review?(marco.zehe)
Comment 4•16 years ago
|
||
Comment on attachment 362718 [details] [diff] [review] patch This makes embed show up in DOM Inspector.
Attachment #362718 -
Flags: superreview?(neil) → superreview+
Comment 5•16 years ago
|
||
Comment on attachment 362718 [details] [diff] [review] patch Patch looks safe. If Marco says it fixes the bug r=me :)
Attachment #362718 -
Flags: review?(david.bolter) → review+
Assignee | ||
Comment 6•16 years ago
|
||
Marco, friendly ping.
Comment 7•16 years ago
|
||
Comment on attachment 362718 [details] [diff] [review] patch >+ // Hidden documents don't have accessibles (like seamonekey's sidebar), Nit: One e too much in "SeaMonkey's". >+ // they are no of interest for a11y. Nit: "They are of no interest...", swap "of" and "no". I tested with all Windows screen readers, and they all pass.
Attachment #362718 -
Flags: review?(marco.zehe) → review+
Comment 8•16 years ago
|
||
Comment on attachment 362718 [details] [diff] [review] patch Needed for SeaMonkey 2.
Attachment #362718 -
Flags: approval1.9.1?
Assignee | ||
Comment 9•16 years ago
|
||
with Marco's comments
Attachment #362718 -
Attachment is obsolete: true
Attachment #364481 -
Flags: approval1.9.1?
Attachment #362718 -
Flags: approval1.9.1?
Assignee | ||
Comment 10•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/ef19ac0459fd
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Reporter | ||
Comment 11•16 years ago
|
||
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20090228 SeaMonkey/2.0b1pre] (experimental/_m-c_, home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/f7f62131998d +http://hg.mozilla.org/comm-central/rev/7ea34ef19dc4) V.Fixed
Status: RESOLVED → VERIFIED
Target Milestone: --- → mozilla1.9.2a1
Comment 12•15 years ago
|
||
Comment on attachment 364481 [details] [diff] [review] patch2 a191=beltzner
Attachment #364481 -
Flags: approval1.9.1? → approval1.9.1+
Comment 13•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/9d4ccf97e7cb
Keywords: fixed1.9.1
Reporter | ||
Updated•15 years ago
|
Blocks: a11ytestdev
You need to log in
before you can comment on or make changes to this bug.
Description
•