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..d098e0f50fdc1b87a8c6d7d791ec3976ce9388d3 |
--- /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> |