Closed
Bug 850408
Opened 13 years ago
Closed 13 years ago
Remove some Snow Leopard OS version checks
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: cpeterson, Assigned: cpeterson)
Details
Attachments
(2 files)
|
2.40 KB,
patch
|
jaas
:
review+
|
Details | Diff | Splinter Review |
|
2.18 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
Neither Firefox nor SeaMonkey support versions of Mac OS X before 10.6 (Snow Leopard).
Attachment #724133 -
Flags: review?(joshmoz)
| Assignee | ||
Comment 1•13 years ago
|
||
Now that neither Firefox nor SeaMonkey support versions of Mac OS X before 10.6 (Snow Leopard):
1. Remove nsStackWalk check for Leopard returning incorrect symbol "pthread_cond_wait$UNIX2003" instead of "new_sem_from_pool" (bug 696376).
2. Wrap #ifdef DEBUG because OnLionOrLater() is only called within a MOZ_ASSERT().
Would you prefer to keep these checks in the code to preserve this hard-earned knowledge about Leopard's quirks? Can the following gCriticalAddress.mAddr check be simplified if we know we won't hit two "pthread_cond_wait$UNIX2003" frames because we only run on 10.6+?
https://hg.mozilla.org/mozilla-central/annotate/c9a74f4ee1f7/xpcom/base/nsStackWalk.cpp#l77
Attachment #724140 -
Flags: review?(benjamin)
Attachment #724140 -
Flags: feedback?(respindola)
Attachment #724133 -
Flags: review?(joshmoz) → review+
| Assignee | ||
Comment 2•13 years ago
|
||
(In reply to Chris Peterson (:cpeterson) from comment #1)
> Created attachment 724140 [details] [diff] [review]
> part-2-snow-leopard-nsStackWalk.patch
>
> Now that neither Firefox nor SeaMonkey support versions of Mac OS X before
> 10.6 (Snow Leopard):
>
> 1. Remove nsStackWalk check for Leopard returning incorrect symbol
> "pthread_cond_wait$UNIX2003" instead of "new_sem_from_pool" (bug 696376).
>
> 2. Wrap #ifdef DEBUG because OnLionOrLater() is only called within a
> MOZ_ASSERT().
>
> Would you prefer to keep these checks in the code to preserve this
> hard-earned knowledge about Leopard's quirks?
A better compromise to removing the code might be to leave the Leopard comment but remove the code.
| Assignee | ||
Comment 3•13 years ago
|
||
Landed part 1 of 2:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0531bbbb0ee1
status-firefox21:
--- → wontfix
Whiteboard: [keep open]
Comment 4•13 years ago
|
||
Updated•13 years ago
|
Attachment #724140 -
Flags: review?(benjamin)
Attachment #724140 -
Flags: review+
Attachment #724140 -
Flags: feedback?(respindola)
| Assignee | ||
Comment 5•13 years ago
|
||
Landed part 2 of 2:
https://hg.mozilla.org/integration/mozilla-inbound/rev/31fdc925c310
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•