WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 132460
132423
Calling createLinearGradient and createRadialGradient with non-finite data should generate a type error
https://bugs.webkit.org/show_bug.cgi?id=132423
Summary
Calling createLinearGradient and createRadialGradient with non-finite data sh...
Rik Cabanier
Reported
2014-05-01 00:51:44 PDT
Currently this generate a NOT_SUPPORTED_ERROR which is wrong per the WebIDL spec:
http://www.w3.org/TR/WebIDL/#es-double
This patch will make WK match Firefox.
Attachments
Patch
(83.55 KB, patch)
2014-05-01 00:57 PDT
,
Rik Cabanier
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Rik Cabanier
Comment 1
2014-05-01 00:57:14 PDT
Created
attachment 230572
[details]
Patch
Dirk Schulze
Comment 2
2014-05-01 01:17:52 PDT
(In reply to
comment #1
)
> Created an attachment (id=230572) [details] > Patch
Maybe you really should look into the code generation. It is not that bad actually even though it is written in Perl. It is in bindings/scripts
Andreas Kling
Comment 3
2014-05-01 12:24:04 PDT
Comment on
attachment 230572
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=230572&action=review
> Source/WebCore/ChangeLog:13 > + * canvas/philip/tests/2d.gradient.linear.nonfinite.html: > + * canvas/philip/tests/2d.gradient.radial.nonfinite.html:
This is an imported test suite; do your changes match upstream?
Rik Cabanier
Comment 4
2014-05-01 13:19:35 PDT
(In reply to
comment #3
)
> (From update of
attachment 230572
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=230572&action=review
> > > Source/WebCore/ChangeLog:13 > > + * canvas/philip/tests/2d.gradient.linear.nonfinite.html: > > + * canvas/philip/tests/2d.gradient.radial.nonfinite.html: > > This is an imported test suite; do your changes match upstream?
yes,this test suite is now maintained by the w3c and this particular test was already updated see
http://www.w3c-test.org/2dcontext/fill-and-stroke-styles/2d.gradient.linear.nonfinite.html
I'm looking over the cases where WK is not spec compliant
Rik Cabanier
Comment 5
2014-05-05 14:06:10 PDT
This was fixed by updating the IDL compiler *** This bug has been marked as a duplicate of
bug 132460
***
Csaba Osztrogonác
Comment 6
2014-06-04 00:55:10 PDT
Comment on
attachment 230572
[details]
Patch Cleared review? from
attachment 230572
[details]
so that this bug does not appear in
http://webkit.org/pending-review
. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug