LibWeb/Tests: Relocate search params test into URL folder

This is where I have been trying to put all of the URL tests.
This commit is contained in:
Shannon Booth
2024-08-11 11:44:39 +12:00
committed by Tim Ledbetter
parent 7e57cc7b09
commit e2fb24c9b8
Notes: github-actions[bot] 2024-08-12 22:02:56 +00:00
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
<script src="../include.js"></script>
<script>
test(() => {
let u = new URLSearchParams();
let iterator = u[Symbol.iterator]();
println(iterator);
println(iterator[Symbol.iterator]());
println(iterator === iterator[Symbol.iterator]());
println(iterator[Symbol.iterator].call("hello"));
println(iterator[Symbol.iterator].call(1));
println(iterator[Symbol.iterator].call(window));
});
</script>