Open Bug 1717139 Opened 5 years ago Updated 4 years ago

Stop using `UINT32_MAX`, `INT32_MAX`, `LONG_MAX`, and `-1` if they mean "no composition" in IME handling

Categories

(Core :: DOM: UI Events & Focus Handling, task, P3)

task

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

Details

(Keywords: inputmethod)

+++ This bug was initially created as a clone of Bug #1678553 +++

We're storing offset and length of composition with magic number to indicate that there is no composition. But this requires to check how to consider it (i.e., which magic number is used). Instead, we should use Maybe.

This is a clone bug for remaining work which should be done after we get new test framework for native IME handler.

You need to log in before you can comment on or make changes to this bug.