Bug 1351193 - Update tests

This commit is contained in:
janekptacijarabaci 2018-07-20 07:48:10 +02:00 committed by Roy Tam
commit cbb7e5262c
3 changed files with 2 additions and 17 deletions

View file

@ -172,7 +172,7 @@ function test()
// Check that DataTransfer's .types has the hack to alias contains()
// to includes().
var dataTransfer = new win.DataTransfer("foo", true);
var dataTransfer = new win.DataTransfer();
is(dataTransfer.types.contains, dataTransfer.types.includes,
"Should have contains() set up as an alias to includes()");
// Waive Xrays on the dataTransfer itself, since the .types we get is