Closed
Bug 455041
Opened 16 years ago
Closed 15 years ago
Javascript problem checking before date and after date
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: bksening, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 Get a Javascript error saying the From date cannot be greater than the To date, even when that is not the case. Reproducible: Always Steps to Reproduce: 1. Go to http://www.rbi.org.in/scripts/ReferenceRateArchive.aspx 2. Select a From Date which is equal to or less than To Date 3. Click Go Actual Results: Shows Javascript error message "From Date cannot be greater than To Date" Expected Results: Should have accepted the dates and displayed the exchange rates
Reporter | ||
Comment 1•16 years ago
|
||
Also.... works fine in IE and Safari.
Updated•16 years ago
|
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
Comment 2•16 years ago
|
||
Chrome has the same issue and they have a minimized testcase availible : http://code.google.com/p/chromium/issues/detail?id=2161 quoted from there : "In this case, Chrome/Firefox can't match regular expression with the string correctly in the second call of javascript method "jsfGetFormDate". If there is only one call of it, then it will get the correct match result always."
Status: UNCONFIRMED → NEW
Ever confirmed: true
Going by the analysis in http://code.google.com/p/chromium/issues/detail?id=2161#c8 :
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•