Closed Bug 1583203 Opened 1 year ago Closed 1 year ago

Annotate nsINode::OwnerDoc as returning non-null.

Categories

(Core :: DOM: CSS Object Model, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

No description provided.

People keep adding useless null-checks and it was not clear what the consensus
was from bug 1441165, but this should be unobjectionable I guess.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3e3eebe862e5
Annotate nsINode::OwnerDoc() as MOZ_NONNULL_RETURN. r=smaug
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/8bc17415ff25
followup: Remove some silly null-checks.
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/ca89485fedf8
followup: Remove another silly null-check.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/46de0744bc95
Annotate nsINode::OwnerDoc() as MOZ_NONNULL_RETURN. r=smaug
Flags: needinfo?(emilio)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.