Closed
Bug 557768
Opened 16 years ago
Closed 15 years ago
A11y should use nsImageMapUtils
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla5
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
|
2.14 KB,
patch
|
Details | Diff | Splinter Review |
A11y should use nsImageMapUtils::FindImageMap to find image maps, to avoid duplicating code. Fix attached.
Attachment #437524 -
Flags: review?(surkov.alexander)
Comment 1•16 years ago
|
||
Comment on attachment 437524 [details] [diff] [review]
Fix
r=me, thanks
Attachment #437524 -
Flags: review?(surkov.alexander) → review+
| Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 2•16 years ago
|
||
landed on 1.9.3 0 - http://hg.mozilla.org/mozilla-central/rev/e88d2327e25d
Comment 3•16 years ago
|
||
backed out - http://hg.mozilla.org/mozilla-central/rev/85454945336e
Thunderbird compilation errors (http://tinderbox.mozilla.org/showlog.cgi?log=Thunderbird/1270732140.1270733069.6613.gz):
../src/base/libaccessibility_base_s.a(nsAccessibilityService.o): In function `nsAccessibilityService::CreateHTMLImageAccessible(nsIFrame*, nsIAccessible**)':
/buildbot/comm-central-trunk-bloat-linux/build/mozilla/accessible/src/base/nsAccessibilityService.cpp:663: undefined reference to `nsImageMapUtils::FindImageMap(nsIDocument*, nsAString_internal const&)'
/usr/bin/ld: libaccessibility.so: hidden symbol `nsImageMapUtils::FindImageMap(nsIDocument*, nsAString_internal const&)' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 4•16 years ago
|
||
I think the bustage would affect any non-shared, non-libxul build.
I think the issue is the nsImageMapUtils::FindImageMap obviously has hidden visibility. For libxul and static builds this doesn't matter because accessibility gets linked in with content and layout into one big shared library.
For non-libxul builds (which afaik FF developers still frequently use as well as TB tinderboxes) accessibility is a different shared library, and hence can't access the hidden function.
| Assignee | ||
Updated•15 years ago
|
Depends on: require-libxul
| Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs landing]
Comment 5•15 years ago
|
||
Isn't this still going to break non-libxul builds?
Comment 6•15 years ago
|
||
Do we need a FindImageMapExternal here?
| Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #5)
> Isn't this still going to break non-libxul builds?
Yes, hence the dependency on the bug to kill --disable-libxul. Maybe I should have used [waiting for branch] instead...
| Assignee | ||
Comment 8•15 years ago
|
||
Attachment #437524 -
Attachment is obsolete: true
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Whiteboard: [needs landing]
Comment 9•15 years ago
|
||
Ms2ger, the patch in comment 8 doesn't seem to apply to m-c...
Whiteboard: not-ready-for-cedar
| Assignee | ||
Comment 10•15 years ago
|
||
Did it have bug 581644 at that point?
Status: REOPENED → ASSIGNED
Whiteboard: not-ready-for-cedar
Comment 11•15 years ago
|
||
Hmm. Probably not. I'll try again tonight.
Comment 12•15 years ago
|
||
Ugh. I missed the fact that this last attachment had a checkin comment but no From line. Sorry about that.... :(
Comment 13•15 years ago
|
||
Flags: in-testsuite-
Whiteboard: fixed-in-cedar
Comment 14•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago → 15 years ago
No longer depends on: post2.0
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: fixed-in-cedar
Target Milestone: --- → mozilla2.2
You need to log in
before you can comment on or make changes to this bug.
Description
•