OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script src="../resources/testharness.js"></script> | |
3 <script src="../resources/testharnessreport.js"></script> | |
4 <script> | |
5 test(function() { | |
6 assert_throws(null, function() { new Nfc(); }, | |
7 'the constructor should not be callable with "new"'); | |
8 assert_throws(null, function() { Nfc(); }, | |
9 'the constructor should not be callable'); | |
10 }, 'Nfc IDL test'); | |
11 </script> | |
OLD | NEW |