Changeset 190410 in webkit


Ignore:
Timestamp:
Oct 1, 2015 9:43:34 AM (9 years ago)
Author:
dbates@webkit.org
Message:

Move <a ping> tests from LayoutTests/http/tests/navigation to LayoutTests/http/tests/navigation/ping-attribute
https://bugs.webkit.org/show_bug.cgi?id=148828

Reviewed by Alexey Proskuryakov.

Towards adding <area ping> tests (bug #79438), we should move the existing <a ping> tests from
LayoutTests/http/tests/navigation to LayoutTests/http/tests/navigation/ping-attribute and rename
them so as to make it clear from their name that they test the ping attribute on a HTML a element.

  • http/tests/navigation/ping-attribute/anchor-cookie-expected.txt: Renamed from LayoutTests/http/tests/navigation/ping-cookie-expected.txt.
  • http/tests/navigation/ping-attribute/anchor-cookie.html: Renamed from LayoutTests/http/tests/navigation/ping-cookie.html.
  • http/tests/navigation/ping-attribute/anchor-cross-origin-expected.txt: Added.
  • http/tests/navigation/ping-attribute/anchor-cross-origin-from-https-expected.txt: Renamed from LayoutTests/http/tests/navigation/ping-cross-origin-from-https-expected.txt.
  • http/tests/navigation/ping-attribute/anchor-cross-origin-from-https.html: Renamed from LayoutTests/http/tests/navigation/ping-cross-origin-from-https.html.
  • http/tests/navigation/ping-attribute/anchor-cross-origin.html: Renamed from LayoutTests/http/tests/navigation/ping-cross-origin.html.
  • http/tests/navigation/ping-attribute/anchor-same-origin-expected.txt: Renamed from LayoutTests/http/tests/navigation/ping-same-origin-expected.txt.
  • http/tests/navigation/ping-attribute/anchor-same-origin.html: Renamed from LayoutTests/http/tests/navigation/ping-same-origin.html.
  • http/tests/navigation/ping-attribute/resources/check-ping.php: Added.
  • http/tests/navigation/ping-attribute/resources/delete-ping.php: Added.
  • http/tests/navigation/ping-attribute/resources/ping-file-path.php: Added.
  • http/tests/navigation/ping-attribute/resources/save-Ping.php: Added.
  • http/tests/navigation/ping-cross-origin-expected.txt: Removed.
  • platform/ios-simulator-wk2/TestExpectations: Updated as needed for the above file renames.
  • platform/win/TestExpectations: Ditto.
Location:
trunk/LayoutTests
Files:
7 added
1 deleted
3 edited
7 moved

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r190407 r190410  
     12015-09-30  Daniel Bates  <dabates@apple.com>
     2
     3        Move <a ping> tests from LayoutTests/http/tests/navigation to LayoutTests/http/tests/navigation/ping-attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=148828
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Towards adding <area ping> tests (bug #79438), we should move the existing <a ping> tests from
     9        LayoutTests/http/tests/navigation to LayoutTests/http/tests/navigation/ping-attribute and rename
     10        them so as to make it clear from their name that they test the ping attribute on a HTML a element.
     11
     12        * http/tests/navigation/ping-attribute/anchor-cookie-expected.txt: Renamed from LayoutTests/http/tests/navigation/ping-cookie-expected.txt.
     13        * http/tests/navigation/ping-attribute/anchor-cookie.html: Renamed from LayoutTests/http/tests/navigation/ping-cookie.html.
     14        * http/tests/navigation/ping-attribute/anchor-cross-origin-expected.txt: Added.
     15        * http/tests/navigation/ping-attribute/anchor-cross-origin-from-https-expected.txt: Renamed from LayoutTests/http/tests/navigation/ping-cross-origin-from-https-expected.txt.
     16        * http/tests/navigation/ping-attribute/anchor-cross-origin-from-https.html: Renamed from LayoutTests/http/tests/navigation/ping-cross-origin-from-https.html.
     17        * http/tests/navigation/ping-attribute/anchor-cross-origin.html: Renamed from LayoutTests/http/tests/navigation/ping-cross-origin.html.
     18        * http/tests/navigation/ping-attribute/anchor-same-origin-expected.txt: Renamed from LayoutTests/http/tests/navigation/ping-same-origin-expected.txt.
     19        * http/tests/navigation/ping-attribute/anchor-same-origin.html: Renamed from LayoutTests/http/tests/navigation/ping-same-origin.html.
     20        * http/tests/navigation/ping-attribute/resources/check-ping.php: Added.
     21        * http/tests/navigation/ping-attribute/resources/delete-ping.php: Added.
     22        * http/tests/navigation/ping-attribute/resources/ping-file-path.php: Added.
     23        * http/tests/navigation/ping-attribute/resources/save-Ping.php: Added.
     24        * http/tests/navigation/ping-cross-origin-expected.txt: Removed.
     25        * platform/ios-simulator-wk2/TestExpectations: Updated as needed for the above file renames.
     26        * platform/win/TestExpectations: Ditto.
     27
    1282015-10-01  Wenson Hsieh  <wenson_hsieh@apple.com>
    229
  • trunk/LayoutTests/http/tests/navigation/ping-attribute/anchor-cookie-expected.txt

    r190409 r190410  
    22CONTENT_TYPE: text/ping
    33HTTP_COOKIE: hello=world
    4 HTTP_PING_FROM: http://127.0.0.1:8000/navigation/ping-cookie.html
     4HTTP_PING_FROM: http://127.0.0.1:8000/navigation/ping-attribute/anchor-cookie.html
    55HTTP_PING_TO: http://127.0.0.1:8000/navigation/resources/check-ping.php
    66REQUEST_METHOD: POST
  • trunk/LayoutTests/http/tests/navigation/ping-attribute/anchor-cookie.html

    r190409 r190410  
    1717    try {
    1818        var xhr = new XMLHttpRequest();
    19         xhr.open("GET", "../cookies/resources/setCookies.cgi", false);
     19        xhr.open("GET", "../../cookies/resources/setCookies.cgi", false);
    2020        xhr.setRequestHeader("SET-COOKIE", "hello=world;path=/");
    2121        xhr.send(null);
     
    4242</head>
    4343<body onload="test();">
    44 <img src="resources/delete-ping.php" onload="test();" onerror="test();"></img>
    45 <a id="a" href="resources/check-ping.php" ping="resources/save-Ping.php">Navigate and send ping</a>
     44<img src="../resources/delete-ping.php" onload="test();" onerror="test();"></img>
     45<a id="a" href="../resources/check-ping.php" ping="../resources/save-Ping.php">Navigate and send ping</a>
    4646</body></html>
  • trunk/LayoutTests/http/tests/navigation/ping-attribute/anchor-cross-origin-from-https.html

    r190409 r190410  
    99
    1010if (location.protocol != "https:")
    11     location = "https://127.0.0.1:8443/navigation/ping-cross-origin-from-https.html"
     11    location = "https://127.0.0.1:8443/navigation/ping-attribute/anchor-cross-origin-from-https.html"
    1212
    1313var testCalled = false;
     
    3737</head>
    3838<body onload="test();">
    39 <img src="resources/delete-ping.php" onload="test();" onerror="test();"></img>
    40 <a id="a" href="resources/check-ping.php" ping="http://localhost:8000/navigation/resources/save-Ping.php?test=/navigation/ping-cross-origin-from-https.html">Navigate and send ping</a>
     39<img src="../resources/delete-ping.php" onload="test();" onerror="test();"></img>
     40<a id="a" href="../resources/check-ping.php" ping="http://localhost:8000/navigation/resources/save-Ping.php?test=/navigation/ping-attribute/anchor-cross-origin-from-https.html">Navigate and send ping</a>
    4141</body></html>
  • trunk/LayoutTests/http/tests/navigation/ping-attribute/anchor-cross-origin.html

    r190409 r190410  
    2727</head>
    2828<body onload="test();">
    29 <img src="resources/delete-ping.php" onload="test();" onerror="test();"></img>
    30 <a id="a" href="resources/check-ping.php" ping="http://localhost:8000/navigation/resources/save-Ping.php">Navigate and send ping</a>
     29<img src="../resources/delete-ping.php" onload="test();" onerror="test();"></img>
     30<a id="a" href="../resources/check-ping.php" ping="http://localhost:8000/navigation/resources/save-Ping.php">Navigate and send ping</a>
    3131</body></html>
  • trunk/LayoutTests/http/tests/navigation/ping-attribute/anchor-same-origin-expected.txt

    r190409 r190410  
    11Ping sent successfully
    22CONTENT_TYPE: text/ping
    3 HTTP_PING_FROM: http://127.0.0.1:8000/navigation/ping-same-origin.html
     3HTTP_PING_FROM: http://127.0.0.1:8000/navigation/ping-attribute/anchor-same-origin.html
    44HTTP_PING_TO: http://127.0.0.1:8000/navigation/resources/check-ping.php
    55REQUEST_METHOD: POST
  • trunk/LayoutTests/http/tests/navigation/ping-attribute/anchor-same-origin.html

    r190409 r190410  
    2727</head>
    2828<body onload="test();">
    29 <img src="resources/delete-ping.php" onload="test();" onerror="test();"></img>
    30 <a id="a" href="resources/check-ping.php" ping="resources/save-Ping.php">Navigate and send ping</a>
     29<img src="../resources/delete-ping.php" onload="test();" onerror="test();"></img>
     30<a id="a" href="../resources/check-ping.php" ping="../resources/save-Ping.php">Navigate and send ping</a>
    3131</body></html>
  • trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations

    r190368 r190410  
    561561http/tests/navigation/no-referrer-subframe.html
    562562http/tests/navigation/no-referrer-target-blank.html
    563 http/tests/navigation/ping-cross-origin-from-https.html
    564 http/tests/navigation/ping-cross-origin.html
    565 http/tests/navigation/ping-same-origin.html
     563http/tests/navigation/ping-attribute/anchor-cross-origin-from-https.html
     564http/tests/navigation/ping-attribute/anchor-cross-origin.html
     565http/tests/navigation/ping-attribute/anchor-same-origin.html
    566566http/tests/navigation/redirect-preserves-referrer.html
    567567http/tests/navigation/redirect-to-random-url-versus-memory-cache.html
     
    20622062fast/dom/Geolocation/startUpdatingOnlyWhenPageVisible.html [ Skip ]
    20632063fast/dom/Geolocation/stopUpdatingForHiddenPage.html [ Skip ]
    2064 http/tests/navigation/ping-cookie.html [ Skip ]
     2064http/tests/navigation/ping-attribute/anchor-cookie.html [ Skip ]
    20652065webkit.org/b/148709 fast/events/wheelevent-basic.html [ Skip ]
    20662066webkit.org/b/148709 fast/events/wheelevent-mousewheel-interaction.html [ Skip ]
  • trunk/LayoutTests/platform/win/TestExpectations

    r190326 r190410  
    22722272
    22732273# SSL Configuration on Windows <rdar://problem/5345985>
    2274 http/tests/navigation/ping-cross-origin-from-https.html [ Skip ] # Timeout
     2274http/tests/navigation/ping-attribute/anchor-cross-origin-from-https.html [ Skip ] # Timeout
    22752275http/tests/security/cross-frame-access-protocol.html [ Skip ] # Timeout
    22762276
     
    32443244webkit.org/b/148354 accessibility/aria-table-content.html [ Skip ]
    32453245
    3246 webkit.org/b/148886 http/tests/navigation/ping-same-origin.html [ Pass Failure ]
     3246webkit.org/b/148886 http/tests/navigation/ping-attribute/anchor-same-origin.html [ Pass Failure ]
    32473247webkit.org/b/148887 http/tests/navigation/success200-reload.html [ Pass Failure ]
    32483248webkit.org/b/148888 http/tests/navigation/slowmetaredirect-basic.html [ Pass Failure ]
Note: See TracChangeset for help on using the changeset viewer.