Bug 9644
Summary: | amazon.com rating stars javascript behave badly in non-safari webkit apps | ||
---|---|---|---|
Product: | WebKit | Reporter: | Rachael Worthington (cheers) <rachael> |
Component: | WebCore JavaScript | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | adele, ian, troyb |
Priority: | P2 | ||
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://www.amazon.com/gp/product/B000AMJEIW/ref=pd_kar_gw_2/103-5762144-4813430?n=5174 |
Rachael Worthington (cheers)
Problem reproduced in both OmniWeb 5.5 and by building the webkit ToT and the mini-browser example code and executing mini-browser with the ToT webkit by running "run-webkit-app ~/Products/Debug/MiniBrowser.app"
The issue is that if you rate the product lower than the rating it's currently at (for example it defaults to 3 stars, so click the 2nd star) and the javascript widget disappears. There's still spacing for it, but no star javascript.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Rachael Worthington (cheers)
The linked URL no longer repros the problem, alternatively, you can use these steps:
(the issue only happens on pages that have multiple ratings)
1. log in @ amazon.com
2. click the recommendations link @ the very top of the page.
3. try to rate something. (note, the stars should be blue! if they're orange, it's just a hyperlink)
expected result: stars update.
actual result: page reloads to a blank white page. hitting back will bring you back to the page, and your ratings change will appear.
Also seen @ netflix.com and goodreads.net