Open Bug 1595433 Opened 6 years ago Updated 10 months ago

bug1027510.js test fails with -0.5

Categories

(Core :: JavaScript Engine: JIT, defect, P5)

defect

Tracking

()

Tracking Status
firefox72 --- affected

People

(Reporter: deian, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: sec-other)

Attachments

(1 file)

Group: core-security → javascript-core-security
Keywords: sec-other
Flags: needinfo?(nicolas.b.pierron)
Priority: -- → P1

My understanding, as the attached patch indicates, is that this is only a test case issue.

Group: javascript-core-security

Nicolas, what are the next steps in resolving this bug if necessary. I am moving to P2 for now.

Priority: P1 → P2

(In reply to Nicolas B. Pierron [:nbp] from comment #3)

My understanding, as the attached patch indicates, is that this is only a test case issue.

Patching test cases to match the correct function behavior is nice, but not mandatory, as we certainly have other hard-coded test cases to check for -0.5.

I will add that the current patch is probably not the approach to be followed, as the likelyhood on ceil being implemented as floor or sharing some code with it is high, in which case this test case would become a no-op, and no longer catch any issues.

Flags: needinfo?(nicolas.b.pierron)
Priority: P2 → P5

The ceil bug seems to have been around for ~5 years, but totally deferring to you

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: