Summary: | Replace FLT_MAX with std::numeric_limits | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Patrick R. Gansterer <paroga> | ||||||||
Component: | WebCore Misc. | Assignee: | Patrick R. Gansterer <paroga> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | commit-queue, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Description
Patrick R. Gansterer
2011-02-05 15:30:45 PST
Created attachment 81379 [details]
Patch
Attachment 81379 [details] did not build on mac: Build output: http://queues.webkit.org/results/7701469 Created attachment 81399 [details]
Patch
Comment on attachment 81399 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=81399&action=review r=me > Source/WebCore/html/NumberInputType.cpp:-54 > -static const double numberDefaultMinimum = -FLT_MAX; > -static const double numberDefaultMaximum = FLT_MAX; This looked a little strange to me, but apparently it is intentional: https://bugs.webkit.org/show_bug.cgi?id=48221 (just for reference) Comment on attachment 81399 [details] Patch Rejecting attachment 81399 [details] from commit-queue. Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=cr-jail-8', 'build-..." exit_code: 2 Last 500 characters of output: HTMLImageElement .......... fast/dom/HTMLInputElement ........... fast/dom/HTMLKeygenElement . fast/dom/HTMLLabelElement ... fast/dom/HTMLLabelElement/form . fast/dom/HTMLLinkElement ... fast/dom/HTMLMetaElement . fast/dom/HTMLMeterElement ............ fast/dom/HTMLMeterElement/set-meter-properties.html -> failed Exiting early after 1 failures. 7347 tests run. 154.30s total testing time 7346 test cases (99%) succeeded 1 test case (<1%) had incorrect layout 4 test cases (<1%) had stderr output Full output: http://queues.webkit.org/results/7699743 Created attachment 81413 [details]
Patch
Comment on attachment 81413 [details] Patch Clearing flags on attachment: 81413 Committed r77774: <http://trac.webkit.org/changeset/77774> All reviewed patches have been landed. Closing bug. |