-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
postcalc.usps.com - see bug description #8699
Comments
Confirmed, I can reproduce using Firefox 57 on Linux. Move to needsdiagnosis. |
This looks like a site script bug. The problem is here in their HTML:
Note that only Firefox sends keypress events for backspace and other control keys these days, so only it will end up calling this code. And here they're expressly forbidding backspace (e.which==8), as well as control keys (e.which==0). As such only Firefox will be affected by this bug. In fact, to me it looks like they were trying to account for this browser difference, but ended up writing the reverse logic that they intended. This should work just fine (in both of those event handlers):
Note that bug 968056 is about fixing this old interop issue, so I'll mark this as a dupe of that, but also as needscontact due to having a workaround. |
Maybe not worth contacting the site now, since we are trying to land a fix for https://bugzilla.mozilla.org/show_bug.cgi?id=968056. When testing with |
Setting this as severity-minor until we've figured out https://bugzilla.mozilla.org/show_bug.cgi?id=968056. |
This seems to be fixed now. Tested with: |
URL: https://postcalc.usps.com/Calculator/ShapeAndSize?country=0&ccode=US&oz=94041&omil=False&dz=92103&dmil=False&mdt=8%2F5%2F2017&mdz=11%3A59&m=0
Browser / Version: Firefox 54.0
Operating System: Ubuntu
Tested Another Browser: Yes
Problem type: Something else
Description: When I enter a larger weight than allowed (205) backspace stops working in the pounds box.
Steps to Reproduce:
https://postcalc.usps.com/Calculator/ShapeAndSize?country=0&ccode=US&oz=94041&omil=False&dz=92103&dmil=False&mdt=8%2F5%2F2017&mdz=11%3A59&m=0
In the pounds box enter "205" (or any other large number)
Try pressing backspace
From webcompat.com with ❤️
The text was updated successfully, but these errors were encountered: