Closed Bug 1199288 Opened 9 years ago Closed 9 years ago

rename mApplyUserSelectStyle to something more appropriate

Categories

(Core :: DOM: Selection, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(1 file)

As of bug 571294, that variable is also used to determine whether a selection event is triggered by a user or the document for the purposes of firing the `selectstart` event, which means that the variable's name is no longer really accurate.
Comment on attachment 8664852 [details] [diff] [review]
Rename mApplyUserSelectStyle to mUserInitiated

mUserInitiated sounds a bit odd, but I don't really have much better ideas.
mUserInitiatedSelection is a bit more descriptive, but given that we're in
Selection already, perhaps that is repetitive.
So fine.
Attachment #8664852 - Flags: review?(bugs) → review+
Yeah, I really don't like the name either... I just couldn't come up with a better one.
I'm not sure why pulsebot didn't catch this, but I did push this patch to inbound a while ago: https://hg.mozilla.org/integration/mozilla-inbound/rev/ba9e4910ae21
https://hg.mozilla.org/mozilla-central/rev/ba9e4910ae21
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Blocks: 571294
No longer depends on: 571294
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: