Index: third_party/WebKit/LayoutTests/imported/wpt/html/browsers/history/the-location-interface/location-pathname-setter-question-mark.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/browsers/history/the-location-interface/location-pathname-setter-question-mark.html b/third_party/WebKit/LayoutTests/imported/wpt/html/browsers/history/the-location-interface/location-pathname-setter-question-mark.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..09546020f75be91ce3e1897f3f00fe5260c46c84 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/browsers/history/the-location-interface/location-pathname-setter-question-mark.html |
@@ -0,0 +1,16 @@ |
+<!doctype html> |
+<title>Set location.pathname to ?</title> |
+<script src=/resources/testharness.js></script> |
+<script src=/resources/testharnessreport.js></script> |
+<div id=log></div> |
+<iframe src=/common/blank.html></iframe> |
+<script> |
+async_test((t) => { |
+ onload = t.step_func(() => { |
+ self[0].frameElement.onload = t.step_func_done(() => { |
+ assert_equals(self[0].location.pathname, "/%3F") |
+ }) |
+ self[0].location.pathname = "?" |
+ }) |
+}) |
+</script> |