Closed Bug 1980791 Opened 2 months ago Closed 2 months ago

EventUtils JSDoc types reference nil instead of null

Categories

(Testing :: Mochitest, defect)

Firefox 142
defect

Tracking

(firefox143 fixed)

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: robert, Assigned: robert)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:142.0) Gecko/20100101 Firefox/142.0

Steps to reproduce:

Noticed that the JS Doc types reference Selection|nil instead of Selection|null as nil is not a builtin TS type.

https://searchfox.org/mozilla-central/rev/b8b93b11fda5fcb1f5225df7fa1e4bd261f44fea/testing/mochitest/tests/SimpleTest/EventUtils.js#3535

The Bugbug bot thinks this bug should belong to the 'Core::JavaScript Engine' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → JavaScript Engine
Product: Firefox → Core

I don't think that categorisation is right, looks like it should be Product = Testing & Component = Mochitest?

Component: JavaScript Engine → Mochitest
Product: Core → Testing
Assignee: nobody → robert
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: