⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 273782 in webkit


Ignore:
Timestamp:
Mar 2, 2021, 6:23:46 PM (6 years ago)
Author:
Chris Gambrell
Message:

[LayoutTests] Convert http/tests/history convert PHP to Python
​https://bugs.webkit.org/show_bug.cgi?id=222614
<rdar://problem/74946423>

Reviewed by Jonathan Bedard.

  • http/tests/history/popstate-fires-with-pending-requests.html:
  • http/tests/history/replacestate-post-to-get-2.html:
  • http/tests/history/replacestate-post-to-get.html:
  • http/tests/history/resources/replacestate-current.php: Removed.
  • http/tests/history/resources/replacestate-current.py: Added.
  • http/tests/history/resources/replacestate-forward-back.php: Removed.
  • http/tests/history/resources/replacestate-forward-back.py: Added.
  • http/tests/history/resources/slow-image.php: Removed.
  • http/tests/history/resources/slow-image.py: Added.
  • http/tests/inspector/page/resources/slow-test-page.html:
  • http/tests/navigation/page-cache-pending-image-load-cache-partition.html:
  • http/tests/navigation/page-cache-pending-image-load.html:
Location:
trunk/LayoutTests
Files:
3 added
3 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r273781 r273782  
     12021-03-02  Chris Gambrell  <cgambrell@apple.com>
     2
     3        [LayoutTests] Convert http/tests/history convert PHP to Python
     4        https://bugs.webkit.org/show_bug.cgi?id=222614
     5        <rdar://problem/74946423>
     6
     7        Reviewed by Jonathan Bedard.
     8
     9        * http/tests/history/popstate-fires-with-pending-requests.html:
     10        * http/tests/history/replacestate-post-to-get-2.html:
     11        * http/tests/history/replacestate-post-to-get.html:
     12        * http/tests/history/resources/replacestate-current.php: Removed.
     13        * http/tests/history/resources/replacestate-current.py: Added.
     14        * http/tests/history/resources/replacestate-forward-back.php: Removed.
     15        * http/tests/history/resources/replacestate-forward-back.py: Added.
     16        * http/tests/history/resources/slow-image.php: Removed.
     17        * http/tests/history/resources/slow-image.py: Added.
     18        * http/tests/inspector/page/resources/slow-test-page.html:
     19        * http/tests/navigation/page-cache-pending-image-load-cache-partition.html:
     20        * http/tests/navigation/page-cache-pending-image-load.html:
     21
    1222021-03-02  Chris Gambrell  <cgambrell@apple.com>
    223
  • trunk/LayoutTests/http/tests/history/popstate-fires-with-pending-requests.html

    r190505 r273782  
    1616     
    1717    var slowImage = document.createElement('img');
    18     slowImage.src = 'resources/slow-image.php';
     18    slowImage.src = 'resources/slow-image.py';
    1919    document.body.appendChild(slowImage);
    2020   
  • trunk/LayoutTests/http/tests/history/replacestate-post-to-get-2.html

    r120167 r273782  
    2121</head>
    2222<body onload="test()">
    23 <form id="testForm" action="resources/replacestate-forward-back.php" method="POST">
     23<form id="testForm" action="resources/replacestate-forward-back.py" method="POST">
    2424</form>
    2525</body>
  • trunk/LayoutTests/http/tests/history/replacestate-post-to-get.html

    r120167 r273782  
    1515</head>
    1616<body onload="test()">
    17 <form id="testForm" action="resources/replacestate-current.php" method="POST">
     17<form id="testForm" action="resources/replacestate-current.py" method="POST">
    1818</form>
    1919</body>
  • trunk/LayoutTests/http/tests/inspector/page/resources/slow-test-page.html

    r188059 r273782  
    99<body>
    1010        <!-- Delay the onload event using a slow image -->
    11         <img src="http://localhost:8000/history/resources/slow-image.php" />
     11        <img src="http://localhost:8000/history/resources/slow-image.py" />
    1212</body>
    1313</html>
  • trunk/LayoutTests/http/tests/navigation/page-cache-pending-image-load-cache-partition.html

    r268400 r273782  
    3232        // Slow loading image.
    3333        var slowImage = new Image();
    34         slowImage.src = "/history/resources/slow-image.php";
     34        slowImage.src = "/history/resources/slow-image.py";
    3535        document.body.appendChild(slowImage);
    3636    }, 0);
  • trunk/LayoutTests/http/tests/navigation/page-cache-pending-image-load.html

    r268400 r273782  
    3131        // Slow loading image.
    3232        var slowImage = new Image();
    33         slowImage.src = "/history/resources/slow-image.php";
     33        slowImage.src = "/history/resources/slow-image.py";
    3434        document.body.appendChild(slowImage);
    3535    }, 0);
Note: See TracChangeset for help on using the changeset viewer.