RESOLVED FIXED 88913
[Qt]REGRESSION(r120107): It made http/tests/xmlhttprequest/origin-exact-matching.html fails
https://bugs.webkit.org/show_bug.cgi?id=88913
Summary [Qt]REGRESSION(r120107): It made http/tests/xmlhttprequest/origin-exact-match...
Csaba Osztrogonác
Reported 2012-06-12 13:57:07 PDT
r120107 made http/tests/xmlhttprequest/origin-exact-matching.html fail on Qt. See http://build.webkit.sed.hu/results/x86-64%20Linux%20Qt%20Release/r120107%20%2838626%29/http/tests/xmlhttprequest/origin-exact-matching-pretty-diff.html for details. Could you check it, please?
Attachments
Patch (2.98 KB, patch)
2012-10-09 14:35 PDT, Pablo Flouret
ossy: review+
ossy: commit-queue-
Csaba Osztrogonác
Comment 1 2012-06-12 14:57:15 PDT
I skipped it on Qt to paint the bot green. (r120126) Please unskip it with the proper fix.
Pablo Flouret
Comment 2 2012-06-12 15:47:53 PDT
The only suspect i can find is this line: $origin = isset($_GET['origin']) ? $_GET['origin'] : $_SERVER['HTTP_ORIGIN']; The tests that fail are the ones where the origin starts with a null character. Maybe that's fooling isset() in that platform? *preventively curses php* I can make a patch to use the origin directly without checking and see if that's the problem. I don't have the ability to build a linux64 qt, is there a way to test if it would work or is landing a patch and looking at what happens the only way to move forward?
Csaba Osztrogonác
Comment 3 2012-10-09 01:11:44 PDT
The bug is still valid now.
Pablo Flouret
Comment 4 2012-10-09 14:35:03 PDT
Created attachment 167849 [details] Patch Would you mind trying this patch somewhere and checking if the test still fails?
Csaba Osztrogonác
Comment 5 2012-10-09 21:29:16 PDT
Comment on attachment 167849 [details] Patch It works for me now, r=me. I'll land it manually with unskipping this test.
Csaba Osztrogonác
Comment 6 2012-10-09 21:55:38 PDT
Landed in r130845
Note You need to log in before you can comment on or make changes to this bug.