Bug 13197 - REGRESSION: Locate a Postal Office on USPS.com doesn't work with ToT WebKit
Summary: REGRESSION: Locate a Postal Office on USPS.com doesn't work with ToT WebKit
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL:
Keywords: Regression
Depends on:
Blocks:
 
Reported: 2007-03-26 17:14 PDT by David Kilzer (:ddkilzer)
Modified: 2007-03-30 06:02 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2007-03-26 17:14:53 PDT
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.
Comment 1 David Carson 2007-03-29 04:25:20 PDT
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.
Comment 2 Andrew Wellington 2007-03-29 05:48:43 PDT
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?
Comment 3 David Kilzer (:ddkilzer) 2007-03-29 08:26:40 PDT
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.  :)

Comment 4 David Kilzer (:ddkilzer) 2007-03-29 08:52:32 PDT
I'm guessing the site was updated because I can't reproduce with Nightly r20510 or r20493.

Comment 5 David Carson 2007-03-30 06:02:19 PDT
Works for me too, r20610. Odd, it didn't work yesterday.