Closed
Bug 1177640
Opened 10 years ago
Closed 9 years ago
[Mac] Do not expose HTML table semantics for "layout" tables
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla44
People
(Reporter: fredw, Assigned: fredw)
References
Details
Attachments
(3 files, 3 obsolete files)
1.00 KB,
text/html
|
Details | |
3.99 KB,
text/html
|
Details | |
3.89 KB,
patch
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•9 years ago
|
||
Assignee: nobody → fred.wang
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 years ago
|
||
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8667313 -
Attachment is obsolete: true
Assignee | ||
Comment 4•9 years ago
|
||
Trying attachment 8667522 [details] with Yura, the layout tables are now indeed rendered with AXGroup objects.
However, this makes nighly crash in accessibilityAttributeValue with the "Attachments" of Bugzilla...
Assignee | ||
Comment 5•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Depends on: CVE-2015-7192
Assignee | ||
Updated•9 years ago
|
Group: core-security
Assignee | ||
Comment 6•9 years ago
|
||
> Group: core-security
Sorry, I didn't want to make this a security bug.
Assignee | ||
Comment 7•9 years ago
|
||
@Marco Can you please try that one:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/fred.wang@free.fr-b123129dfc3f/try-macosx64/firefox-44.0a1.en-US.mac.dmg
I verified that the crash no longer happens and that the table elements are now presented as AXGroups. However, I don't know if that's what you meant in bug 744790 comment 5.
Flags: needinfo?(mzehe)
Assignee | ||
Updated•9 years ago
|
Attachment #8667402 -
Flags: review?(surkov.alexander)
Comment 9•9 years ago
|
||
Comment on attachment 8667402 [details] [diff] [review]
Patch
Review of attachment 8667402 [details] [diff] [review]:
-----------------------------------------------------------------
::: accessible/mac/mozAccessible.mm
@@ +223,5 @@
>
> NS_OBJC_END_TRY_ABORT_BLOCK_RETURN(NO);
> }
>
> +- (BOOL)isComponentOfLayoutTable
nit: might be nice to name if isLayoutTablePart to make it sync with nsAccessibilityService names
@@ +241,5 @@
> + table = accWrap->AsTableCell()->Table();
> + }
> + if (table && table->IsProbablyLayoutTable()) {
> + return true;
> + }
nit: return false; and no else
@@ +939,5 @@
> }
>
> + if ([self isComponentOfLayoutTable]) {
> + return NSAccessibilityGroupRole;
> + }
I wish we had something nicer than checking table stuff for each role.
Attachment #8667402 -
Flags: review?(surkov.alexander) → review+
Assignee | ||
Comment 10•9 years ago
|
||
Attachment #8667402 -
Attachment is obsolete: true
Assignee | ||
Comment 11•9 years ago
|
||
Attachment #8668195 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Whiteboard: [please remove from security-sensitive group]
Assignee | ||
Comment 12•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=45bd8cd8985e
(In reply to alexander :surkov from comment #9)
> I wish we had something nicer than checking table stuff for each role.
This will be handled in bug 1178272.
Assignee | ||
Comment 13•9 years ago
|
||
Keywords: checkin-needed
Whiteboard: [please remove from security-sensitive group] → [please remove from security-sensitive group - see comment 6]
Updated•9 years ago
|
Group: core-security
Whiteboard: [please remove from security-sensitive group - see comment 6]
Comment 14•9 years ago
|
||
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•