Closed Bug 338759 Opened 20 years ago Closed 20 years ago

Remove dead key event/text input code from widget/src/mac following bug 337199

Categories

(Core Graveyard :: Widget: Mac, defect)

1.8 Branch
PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8.1beta1

People

(Reporter: mark, Assigned: mark)

References

Details

(Keywords: fixed1.8.1)

Attachments

(2 files, 1 obsolete file)

There's some unreachable code that needs to be killed. It wasn't killed in bug 337199 to keep the complexity down. This bug amounts to cleanup. Bug 337199 comment 22: > There will be a followup cleanup patch to get rid of dead code like > HandleKeyEvent and HandleUpdateInputArea.
Attached patch v1 (trunk) (obsolete) — — Splinter Review
Attachment #222895 - Flags: review?(joshmoz)
Attached patch v1 (branch) — — Splinter Review
Aside from context, this differs from the trunk patch in one significant way: the trunk patch eliminates a method from an interface, and this one doesn't, to avoid breaking the branch rules. Note, however, that this patch does make the implmentation of that method return "not supported." The interface is only used by embedders, and the now-deprecated method is a relic from the Classic OS days. An alternative method that accepts Unicode data is still available and supported, and it's what everyone should be using anyway. (Even our way-out-of-date-and-broken PPEmbed example uses the new method.)
Attachment #222897 - Flags: review?(joshmoz)
Attachment #222895 - Flags: review?(joshmoz) → review+
Attachment #222897 - Flags: review?(joshmoz) → review+
Attachment #222897 - Flags: approval-branch-1.8.1+
Checked in on trunk and MOZILLA_1_8_BRANCH for 1.8.1a3.
Status: NEW → RESOLVED
Closed: 20 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Attached patch v1 (trunk) — — Splinter Review
Attachment #222895 - Attachment is obsolete: true
Product: Core → Core Graveyard
Version: Trunk → 1.8 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: