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

Throw when failing to convert sequence inner values #24455

Merged
merged 1 commit into from Oct 17, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Some generated files are not rendered by default. Learn more.

"testharness"
],
"WebIDL/ecmascript-binding/sequence-conversion.html": [
"4caa5563b56b55ffb01a81e63c69ac0f009bda77",
"f878a2672e3082c4f617bbb314cf2de84266f729",
"testharness"
],
"WebIDL/ecmascript-binding/support/constructors-support.html": [
@@ -128,4 +128,9 @@
assert_array_equals(ctx.getLineDash(), [13, 14, 15, 16]);
}, "A holey array with fallback to an accessor on the prototype");

test(t => {
// Should fail rather than falling back to record
assert_throws(new TypeError(), function() { new URLSearchParams(["key", "value"]); });
}, "A string array in sequence<sequence> or record");

</script>
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.