Status

()

Core
JavaScript Engine
--
enhancement
RESOLVED FIXED
11 years ago
6 years ago

People

(Reporter: Igor Bukanov, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
[This is a spin-off of bug 346450 comment 14 , 15 , 16]

Currently many users of JS_SetPrivate check for possible failure of JS_SetPrivate. But this function is infallible so such checks are unnecessary. We should remove such checks and either fix JS_SetPrivate so it would return void or at least document that the function always returns true if backward compatibility issues can not be addressed with preprocessor hacks or something.

Comment 1

6 years ago
Already done.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.