Bug 13197
Summary: | REGRESSION: Locate a Postal Office on USPS.com doesn't work with ToT WebKit | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | ap |
Priority: | P1 | Keywords: | Regression |
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
David Kilzer (:ddkilzer)
Summary:
The "Locate a Postal Office" feature of the USPS.com web site doesn't work with ToT WebKit.
Steps to reproduce:
1. Open Safari/WebKit.
2. Open URL: http://usps.com/
3. Click on "Locate a Postal Office" link in the red bar near the top of the screen.
4. If the "What are you trying to locate?" pop-up menu is already set to "Post Office Locations", change it to something else, then try to change it back to "Post Office Locations". If it's not set to that, set it to "Post Office Locations".
Expected results:
When the page reloads, the "What are you trying to locate?" pop-up list should be set to the last value you picked.
Actual results:
When the page reloads, the "What are you trying to locate?" pop-up list is reset to "Select One".
Regression:
This works fine with shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135).
Fails with a local debug build of WebKit r20497.
Notes:
None.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
David Carson
Had a quick look at the issue. Looking at the code in JSHTMLSelectElement and JSHTMLOptionElement I could see that option element correctly get selected. However, during the render stage, when it checks to see which option is selected, the first option comes back as being selected.
My attempts at a reduced test case were not successful.
Andrew Wellington
I can't reproduce this in r20570. Here's what I saw:
1. Loaded http://www.usps.com/
2. Clicked "Locate a Post Office"
At this point I was directed to http://www.switchboard.com/usps.1355/dir/6_0/index.htm?mem=1355
3. Changed the "What are you trying to locate?" menu from "Post Office Locations" to "Passport Application Services"
The menu changed with no problems
4. Changed it back to "Post Office Locations"
The menu changed with no problems again
5. Attempted a search for zip code 95014 Post Office Locations
A list of locations was returned successfully
6. Clicked back and attempted the search for zip code 95014 Passport Application Services
A list of locations was again returned successfully
Is this what you're seeing now?
David Kilzer (:ddkilzer)
Works for me now with a local debug build of WebKit r20570 with Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135). Must be the new Star Wars theme that fixed it. :)
David Kilzer (:ddkilzer)
I'm guessing the site was updated because I can't reproduce with Nightly r20510 or r20493.
David Carson
Works for me too, r20610. Odd, it didn't work yesterday.