[LayoutTests] Convert http/tests/blink convert PHP to Python
[WebKit-https.git] / LayoutTests / http / tests / blink / sendbeacon / beacon-same-origin.html
index dec061e7c33af720512b6eb303b9b3a414190d43..36c64b94c47098705405e66ac259690fa894c1a9 100644 (file)
@@ -32,9 +32,9 @@ function testOne() {
         return;
     }
     debug("Sending beacon with type: " + Object.prototype.toString.call(payload));
-    shouldBeTrue('navigator.sendBeacon("resources/save-beacon.php?name=same-origin", payload);');
+    shouldBeTrue('navigator.sendBeacon("resources/save-beacon.py?name=same-origin", payload);');
     var xhr = new XMLHttpRequest();
-    xhr.open("GET", "resources/check-beacon.php?name=same-origin");
+    xhr.open("GET", "resources/check-beacon.py?name=same-origin");
     xhr.onload = function () {
         var lines = xhr.responseText.split("\n");
         for (var i in lines)