Changeset 130845 in webkit


Ignore:
Timestamp:
Oct 9, 2012 9:55:25 PM (12 years ago)
Author:
Csaba Osztrogonác
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 <pablof@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:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r130844 r130845  
     12012-10-09  Pablo Flouret  <pablof@motorola.com>
     2
     3        [Qt]REGRESSION(r120107): It made http/tests/xmlhttprequest/origin-exact-matching.html fails
     4        https://bugs.webkit.org/show_bug.cgi?id=88913
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        Blind fix to try to fix the test.
     9
     10        * http/tests/xmlhttprequest/access-control-allow-lists-starting-with-comma.html:
     11        * http/tests/xmlhttprequest/resources/access-control-allow-lists.php:
     12
    1132012-10-09  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
    214
  • trunk/LayoutTests/http/tests/xmlhttprequest/access-control-allow-lists-starting-with-comma.html

    r119945 r130845  
    88description("Allow lists starting with a comma should be parsed correctly.");
    99var xhr = new XMLHttpRequest();
    10 var url = "http://localhost:8000/xmlhttprequest/resources/access-control-allow-lists.php?headers=,y-lol,x-print,%20,,,y-print";
     10var url = "http://localhost:8000/xmlhttprequest/resources/access-control-allow-lists.php?headers=,y-lol,x-print,%20,,,y-print&origin=http://127.0.0.1:8000";
    1111xhr.open("GET", url, false);
    1212xhr.setRequestHeader('x-print', 'unicorn')
     
    1818shouldBeEqualToString("response['y-print']", "narwhal");
    1919
    20 url = "http://localhost:8000/xmlhttprequest/resources/access-control-allow-lists.php?methods=,,PUT,GET";
     20url = "http://localhost:8000/xmlhttprequest/resources/access-control-allow-lists.php?methods=,,PUT,GET&origin=http://127.0.0.1:8000";
    2121xhr.open("PUT", url, false);
    2222debug("Sending PUT request.");
  • trunk/LayoutTests/http/tests/xmlhttprequest/resources/access-control-allow-lists.php

    r119945 r130845  
    11<?php
    22
    3 $origin = isset($_GET['origin']) ? $_GET['origin'] : $_SERVER['HTTP_ORIGIN'];
     3$origin = $_GET['origin'];
    44
    55if ($origin != 'none')
  • trunk/LayoutTests/platform/qt/TestExpectations

    r130842 r130845  
    14921492# https://bugs.webkit.org/show_bug.cgi?id=92734
    14931493svg/css/text-gradient-shadow.svg
    1494 
    14951494
    14961495# These files need new expectations after changing the behavrior from radiaGradients to SVG2
     
    25192518fast/profiler/dead-time.html
    25202519
    2521 # [Qt]REGRESSION(r120107): It made http/tests/xmlhttprequest/origin-exact-matching.html fails
    2522 # https://bugs.webkit.org/show_bug.cgi?id=88913
    2523 http/tests/xmlhttprequest/origin-exact-matching.html
    2524 
    25252520# [Qt]Web Inspector: inspector/extensions/extensions-network.html makes inspector/extensions/extensions-reload.html timeout
    25262521# https://bugs.webkit.org/show_bug.cgi?id=89349
     
    26292624webkit.org/b/73766 css3/unicode-bidi-isolate-aharon-failing.html [ ImageOnlyFailure ]
    26302625
    2631 
    26322626webkit.org/b/83906 ietestcenter/css3/grid/grid-column-001.htm [ ImageOnlyFailure ]
    26332627webkit.org/b/83907 ietestcenter/css3/grid/grid-column-002.htm [ ImageOnlyFailure ]
Note: See TracChangeset for help on using the changeset viewer.