Skip to content

Commit

Permalink
Bug 1635337 [wpt PR 23399] - Support Function in IdlArray.prototype.a…
Browse files Browse the repository at this point in the history
…ssert_type_is, a=testonly

Automatic update from web-platform-tests
Support Function in IdlArray.prototype.assert_type_is (#23399)

Closes web-platform-tests/wpt#23329
--

wpt-commits: 550e0b3aee12752968f5a1204a6cf37f2bd5d83b
wpt-pr: 23399
  • Loading branch information
stephenmcgruer authored and moz-wptsync-bot committed May 20, 2020
1 parent 888e418 commit 2164b41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testing/web-platform/tests/resources/idlharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,7 @@ IdlArray.prototype.assert_type_is = function(value, type)
case "Float64Array":
case "ArrayBuffer":
case "DataView":
case "Function":
assert_true(value instanceof self[type], "wrong type: not a " + type);
return;

Expand Down

0 comments on commit 2164b41

Please sign in to comment.