| Index: LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/location_pathname.html
|
| diff --git a/LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/location_pathname.html b/LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/location_pathname.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9c2e34608cc2746709ef602a264b47250006402b
|
| --- /dev/null
|
| +++ b/LayoutTests/imported/web-platform-tests/html/browsers/history/the-location-interface/location_pathname.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE HTML>
|
| +<html>
|
| + <head>
|
| + <title>location_pathname</title>
|
| + <script src="../../../../../../resources/testharness.js"></script>
|
| + <script src="../../../../../../resources/testharnessreport.js"></script>
|
| + </head>
|
| + <body>
|
| + <div id="log"></div>
|
| + <script>
|
| + test(function () {
|
| + var pathname = location.pathname;
|
| + var url = location.href
|
| +
|
| + url = url.replace(location.protocol + "//" + location.host, "");
|
| +
|
| + assert_equals(pathname, url, "pathname");
|
| +
|
| + }, "location pathname");
|
| + </script>
|
| + </body>
|
| +</html>
|
|
|