RESOLVED FIXED230129
Add wpts for sin,cos,tan
https://bugs.webkit.org/show_bug.cgi?id=230129
Summary Add wpts for sin,cos,tan
Nikos Mouchtaris
Reported 2021-09-09 15:56:40 PDT
Add wpts for sin,cos,tan
Attachments
Patch (23.21 KB, patch)
2021-09-09 16:05 PDT, Nikos Mouchtaris
simon.fraser: review+
sin,cos,tan wpts (20.19 KB, patch)
2021-09-14 00:03 PDT, Nikos Mouchtaris
ews-feeder: commit-queue-
sin,cos,tan wpts (20.19 KB, patch)
2021-09-14 09:47 PDT, Nikos Mouchtaris
no flags
Nikos Mouchtaris
Comment 1 2021-09-09 16:05:23 PDT
EWS Watchlist
Comment 2 2021-09-09 16:06:43 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Simon Fraser (smfr)
Comment 3 2021-09-09 16:39:42 PDT
Comment on attachment 437797 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=437797&action=review r+ on the tests > Source/WebCore/css/calc/CSSCalcOperationNode.cpp:648 > + if (calcOperationNode.isTrigNode() && depth) This should be done separately. > LayoutTests/imported/w3c/web-platform-tests/css/css-values/sin-cos-tan-computed.html:5 > +<link rel="author" title="Nikos Mouchtaris" href="mailto:nmouchtaris@apple.com"> You don't have to give your email. I think we can just say "Apple Inc" as the author. > LayoutTests/imported/w3c/web-platform-tests/css/css-values/sin-cos-tan-invalid.html:5 > +<link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh@chromium.org"> That's not you!
Tim Nguyen (:ntim)
Comment 4 2021-09-10 03:01:57 PDT
Comment on attachment 437797 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=437797&action=review > LayoutTests/imported/w3c/web-platform-tests/css/support/numeric-testcommon.js:106 > + msg = `${testString} should be ${stage}-value-equivalent to ${expectedString} ssss`; unintentional change? > LayoutTests/imported/w3c/web-platform-tests/css/support/numeric-testcommon.js:129 > + }, msg || `${testString} should be ${stage}-value-equivalent sss to ${expectedString}`); same here > LayoutTests/imported/w3c/web-platform-tests/css/support/numeric-testcommon.js:190 > + let parsedUsed = usedValue.split('(')[1].split(')')[0].split(',').map(parseFloat); > + let parsedExpected = expectedValue.split('(')[1].split(')')[0].split(',').map(parseFloat); A regex + string.prototype.match() -> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match might be cleaner IMO. I usually use this site to figure them out: https://regexr.com
Nikos Mouchtaris
Comment 5 2021-09-14 00:03:59 PDT
Created attachment 438107 [details] sin,cos,tan wpts
Nikos Mouchtaris
Comment 6 2021-09-14 09:47:32 PDT
Created attachment 438151 [details] sin,cos,tan wpts
EWS
Comment 7 2021-09-14 12:53:53 PDT
Committed r282402 (241663@main): <https://commits.webkit.org/241663@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438151 [details].
Radar WebKit Bug Importer
Comment 8 2021-09-14 12:54:17 PDT
Note You need to log in before you can comment on or make changes to this bug.