Closed Bug 1868093 Opened 2 years ago Closed 2 months ago

Remove DeadKeyTable class from KeyboardLayout

Categories

(Core :: Widget: Win32, task)

task

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: jstutte, Assigned: mathew.hodson)

Details

Attachments

(1 file)

The return value of KeyboardLayout::GetDeadKeyCombinations is always the same value, we can just remove it and its use.

Edit: I am not sure I read this right at the time of filing the bug, but I am glad you are increasing readability here with that change.

Assignee: nobody → mathew.hodson
Status: NEW → ASSIGNED
Severity: -- → S4
Attachment #9477135 - Attachment description: Bug 1868093 - Remove return value from GetDeadKeyCombinations → Bug 1868093 - Remove DeadKeyTable class from KeyboardLayout
Flags: needinfo?(jstutte)
Summary: Remove unneeded return value from KeyboardLayout::GetDeadKeyCombinations → Remove DeadKeyTable class from KeyboardLayout

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:mathew.hodson, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(mathew.hodson)
Flags: needinfo?(davidp99)
Flags: needinfo?(mathew.hodson)
Flags: needinfo?(davidp99)
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/ca837da136a0 Remove DeadKeyTable class from KeyboardLayout r=win-reviewers,handyman
Pushed by sstanca@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/12bf09dd0be4 Revert "Bug 1868093 - Remove DeadKeyTable class from KeyboardLayout r=win-reviewers,handyman" for causing mochitests crashes.

Backed out for causing mochitests crashes.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: PROCESS-CRASH | application crashed [@ nsTArray_Impl<mozilla::widget::DeadKeyEntry,nsTArrayInfallibleAllocator>::ClearAndRetainStorage] | widget/tests/test_keycodes.xhtml
Flags: needinfo?(mathew.hodson)

That test doesn't crash for me when I run it locally. I will investigate.

Flags: needinfo?(mathew.hodson)
Attachment #9477135 - Flags: approval-mozilla-beta?
Attachment #9477135 - Flags: approval-mozilla-beta?

(In reply to David Parks [:handyman] from comment #8)

Doesn't need uplift.

The reason Phabricator started associating this with beta is because of bug 1963406. I fixed the repo on Phab so it is still fine to land.

:handyman, can you land this for me?

Flags: needinfo?(davidp99)
Flags: needinfo?(davidp99)
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: