mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
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:
committed by
Tim Ledbetter
parent
7e57cc7b09
commit
e2fb24c9b8
Notes:
github-actions[bot]
2024-08-12 22:02:56 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/e2fb24c9b8e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1033 Reviewed-by: https://github.com/tcl3 ✅
@@ -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>
|
||||
Reference in New Issue
Block a user