Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make URLSearchParams iterable #13022 #13077

Closed
wants to merge 8 commits into from

modify tests to add if empty status

  • Loading branch information
yoyo930021 committed Aug 27, 2016
commit a9ef63f1b9bf63862b11f67be4aae0e52d30ae08
@@ -36,6 +36,16 @@
assert_array_equals(c[1],["y","2"]);
assert_array_equals(c[2],["z","3"]);
}, "For-of Check");

test(function(){
let a=new URL("http://a.b/c");

This comment has been minimized.

@emilio

emilio Sep 21, 2016

Member

nit: Space before and after equals here.

let b = a.searchParams;
var c = [];
for (i of b) {
c.push(i);
}
assert_equals(c.length,0);

This comment has been minimized.

@emilio

emilio Sep 21, 2016

Member

nit: Space after comma here.

},"empty");
</script>
</head>
</html>
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.