Title: [130845] trunk/LayoutTests
Revision
130845
Author
o...@webkit.org
Date
2012-10-09 21:55:25 -0700 (Tue, 09 Oct 2012)

Log Message

[Qt]REGRESSION(r120107): It made http/tests/xmlhttprequest/origin-exact-matching.html fails
https://bugs.webkit.org/show_bug.cgi?id=88913

Patch by Pablo Flouret <pab...@motorola.com> on 2012-10-09
Reviewed by Csaba Osztrogonác.

Blind fix to try to fix the test.

* http/tests/xmlhttprequest/access-control-allow-lists-starting-with-comma.html:
* http/tests/xmlhttprequest/resources/access-control-allow-lists.php:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (130844 => 130845)


--- trunk/LayoutTests/ChangeLog	2012-10-10 04:50:14 UTC (rev 130844)
+++ trunk/LayoutTests/ChangeLog	2012-10-10 04:55:25 UTC (rev 130845)
@@ -1,3 +1,15 @@
+2012-10-09  Pablo Flouret  <pab...@motorola.com>
+
+        [Qt]REGRESSION(r120107): It made http/tests/xmlhttprequest/origin-exact-matching.html fails
+        https://bugs.webkit.org/show_bug.cgi?id=88913
+
+        Reviewed by Csaba Osztrogonác.
+
+        Blind fix to try to fix the test.
+
+        * http/tests/xmlhttprequest/access-control-allow-lists-starting-with-comma.html:
+        * http/tests/xmlhttprequest/resources/access-control-allow-lists.php:
+
 2012-10-09  Sudarsana Nagineni  <sudarsana.nagin...@intel.com>
 
         [EFL] Update EFL baselines after r130840

Modified: trunk/LayoutTests/http/tests/xmlhttprequest/access-control-allow-lists-starting-with-comma.html (130844 => 130845)


--- trunk/LayoutTests/http/tests/xmlhttprequest/access-control-allow-lists-starting-with-comma.html	2012-10-10 04:50:14 UTC (rev 130844)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/access-control-allow-lists-starting-with-comma.html	2012-10-10 04:55:25 UTC (rev 130845)
@@ -7,7 +7,7 @@
 <script type="text/_javascript_">
 description("Allow lists starting with a comma should be parsed correctly.");
 var xhr = new XMLHttpRequest();
-var url = ""
+var url = ""
 xhr.open("GET", url, false);
 xhr.setRequestHeader('x-print', 'unicorn')
 xhr.setRequestHeader('y-print', 'narwhal')
@@ -17,7 +17,7 @@
 shouldBeEqualToString("response['x-print']", "unicorn");
 shouldBeEqualToString("response['y-print']", "narwhal");
 
-url = ""
+url = ""
 xhr.open("PUT", url, false);
 debug("Sending PUT request.");
 shouldBeUndefined("xhr.send(null)");

Modified: trunk/LayoutTests/http/tests/xmlhttprequest/resources/access-control-allow-lists.php (130844 => 130845)


--- trunk/LayoutTests/http/tests/xmlhttprequest/resources/access-control-allow-lists.php	2012-10-10 04:50:14 UTC (rev 130844)
+++ trunk/LayoutTests/http/tests/xmlhttprequest/resources/access-control-allow-lists.php	2012-10-10 04:55:25 UTC (rev 130845)
@@ -1,6 +1,6 @@
 <?php
 
-$origin = isset($_GET['origin']) ? $_GET['origin'] : $_SERVER['HTTP_ORIGIN'];
+$origin = $_GET['origin'];
 
 if ($origin != 'none')
     header("Access-Control-Allow-Origin: $origin");

Modified: trunk/LayoutTests/platform/qt/TestExpectations (130844 => 130845)


--- trunk/LayoutTests/platform/qt/TestExpectations	2012-10-10 04:50:14 UTC (rev 130844)
+++ trunk/LayoutTests/platform/qt/TestExpectations	2012-10-10 04:55:25 UTC (rev 130845)
@@ -1492,7 +1492,6 @@
 # https://bugs.webkit.org/show_bug.cgi?id=92734
 svg/css/text-gradient-shadow.svg
 
-
 # These files need new expectations after changing the behavrior from radiaGradients to SVG2
 webkit.org/b/98569 svg/W3C-SVG-1.1-SE/styling-pres-02-f.svg [ Failure Pass ] 
 webkit.org/b/98569 svg/W3C-SVG-1.1-SE/svgdom-over-01-f.svg [ Failure Pass ] 
@@ -2518,10 +2517,6 @@
 fast/profiler/stop-profiling-after-setTimeout.html
 fast/profiler/dead-time.html
 
-# [Qt]REGRESSION(r120107): It made http/tests/xmlhttprequest/origin-exact-matching.html fails
-# https://bugs.webkit.org/show_bug.cgi?id=88913
-http/tests/xmlhttprequest/origin-exact-matching.html
-
 # [Qt]Web Inspector: inspector/extensions/extensions-network.html makes inspector/extensions/extensions-reload.html timeout
 # https://bugs.webkit.org/show_bug.cgi?id=89349
 inspector/extensions/extensions-reload.html
@@ -2628,7 +2623,6 @@
 
 webkit.org/b/73766 css3/unicode-bidi-isolate-aharon-failing.html [ ImageOnlyFailure ]
 
-
 webkit.org/b/83906 ietestcenter/css3/grid/grid-column-001.htm [ ImageOnlyFailure ]
 webkit.org/b/83907 ietestcenter/css3/grid/grid-column-002.htm [ ImageOnlyFailure ]
 webkit.org/b/83909 ietestcenter/css3/grid/grid-column-003.htm [ ImageOnlyFailure ]
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to