Bug 247514 - Fix MaxCoefficient static variable value in Decimal.cpp
Summary: Fix MaxCoefficient static variable value in Decimal.cpp
Status: RESOLVED DUPLICATE of bug 248784
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-04 17:51 PDT by Ahmad Saleem
Modified: 2024-01-23 16:52 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-11-04 17:51:05 PDT
Hi Team,

Just going through Blink Commits, came across following commit:

Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=174294

and Webkit is still using wrong one, I think matching would be fine rather than updating comment to reflect current value.

https://github.com/WebKit/WebKit/blob/06829a72816b3507674af7be8a740a4964ae3518/Source/WebCore/platform/Decimal.cpp#L51

I am just creating this bug to do PR and merge above commit.

Let me know if someone want me to just update comment.

Thanks!
Comment 1 Alexey Proskuryakov 2022-11-09 10:09:43 PST
ch.dumez@samsung.com! Sadly, no test modified in the commit.
Comment 2 Ahmad Saleem 2022-11-09 10:32:37 PST
(In reply to Alexey Proskuryakov from comment #1)
> ch.dumez@samsung.com! Sadly, no test modified in the commit.

https://github.com/WebKit/WebKit/pull/6160
Comment 3 Ahmad Saleem 2022-11-09 10:33:50 PST
(In reply to Ahmad Saleem from comment #2)
> (In reply to Alexey Proskuryakov from comment #1)
> > ch.dumez@samsung.com! Sadly, no test modified in the commit.
> 
> https://github.com/WebKit/WebKit/pull/6160

Latest position is that whether there is std:decimal to replace our use case or whether we just add 'DecmialTest.cpp' API for testing similar to Chrome.
Comment 4 Chris Dumez 2022-11-09 10:56:39 PST
(In reply to Alexey Proskuryakov from comment #1)
> ch.dumez@samsung.com! Sadly, no test modified in the commit.

There were tests modified in MY commit :)
Comment 5 Radar WebKit Bug Importer 2022-11-11 16:52:17 PST
<rdar://problem/102261978>
Comment 6 Ahmad Saleem 2022-12-20 08:41:30 PST
Will fix via https://github.com/WebKit/WebKit/pull/7908 in one go with test-case as well.
Comment 7 Brent Fulgham 2024-01-23 16:52:16 PST

*** This bug has been marked as a duplicate of bug 248784 ***