summaryrefslogtreecommitdiffstats
path: root/dom/bindings
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-07-20 11:10:53 +0200
committerGitHub <noreply@github.com>2018-07-20 11:10:53 +0200
commitcba8e7b14e7703fbe032e41acfaf7f1ba9536aaf (patch)
tree2446c6613b238c3de3087b0850e0e2941a832135 /dom/bindings
parentedc1da82d86d3c86512f42403c84ee68a4f682a3 (diff)
parent568e27db3f80bfb19e3e80a9b21e26b6d9ebb152 (diff)
downloadUXP-cba8e7b14e7703fbe032e41acfaf7f1ba9536aaf.tar
UXP-cba8e7b14e7703fbe032e41acfaf7f1ba9536aaf.tar.gz
UXP-cba8e7b14e7703fbe032e41acfaf7f1ba9536aaf.tar.lz
UXP-cba8e7b14e7703fbe032e41acfaf7f1ba9536aaf.tar.xz
UXP-cba8e7b14e7703fbe032e41acfaf7f1ba9536aaf.zip
Merge pull request #651 from janekptacijarabaci/dom_DataTransfer_constructor_1
Dom data transfer constructor
Diffstat (limited to 'dom/bindings')
-rw-r--r--dom/bindings/test/test_dom_xrays.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/bindings/test/test_dom_xrays.html b/dom/bindings/test/test_dom_xrays.html
index 0700db2f8..15d7013ad 100644
--- a/dom/bindings/test/test_dom_xrays.html
+++ b/dom/bindings/test/test_dom_xrays.html
@@ -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