Index: LayoutTests/nfc/idl-Nfc.html |
diff --git a/LayoutTests/nfc/idl-Nfc.html b/LayoutTests/nfc/idl-Nfc.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..23b2f5544e7ce23522245cda8e48ea609e8a4779 |
--- /dev/null |
+++ b/LayoutTests/nfc/idl-Nfc.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<script> |
+test(function() { |
+ assert_throws(null, function() { new Nfc(); }, |
+ 'the constructor should not be callable with "new"'); |
+ assert_throws(null, function() { Nfc(); }, |
+ 'the constructor should not be callable'); |
+}, 'Nfc IDL test'); |
+</script> |