When I have a input field with a predefined value, and I change that value, the POST or GET does not honor that change. I have attached an example of the reduced problem. Here is how to reproduce the problem. 1. Load attached html in to test.html 2. Load in to Safari 3. Highlight and delete "2020-01-01 00:00:00" in the input field 4. "Submit" 5. Look in the URL bar, and you will see the "content" part of the URL holds the old data and not the new data. The problem occurs on the nightly build but not on Version 2.0.3 (417.8) of Safari on OSX 10.4.
Created attachment 5876 [details] Reduced example of bug Reduced version of bug.
Confirmed, this is a critical issue.
Created attachment 5877 [details] Don't go through QString I don't think an automated test is possible, much like in bug 6221.
Created attachment 5878 [details] Updated patch Added bug # to the ChangeLog entry
Comment on attachment 5878 [details] Updated patch Good local fix, but I don't understand why an empty DOMString turns into a null DOMString when round tripping to QString. That should be fixed too. r=me
Created attachment 5879 [details] Trying to fix the DOMString::qstring problem as well I think it's OK to fix it under this bug. Not sure the fix is optimal.
Comment on attachment 5879 [details] Trying to fix the DOMString::qstring problem as well Nice. r=me
I'll land this one.
I downloaded the source and compiled it and tested it against the reduced test case and also against the case that the reduced test came from. In both cases the new patch worked as it should. Thanks!
*** Bug 6776 has been marked as a duplicate of this bug. ***
Removing Regression keyword from bugs already fixed.
*** Bug 7136 has been marked as a duplicate of this bug. ***