| <title>Interfaces</title> |
| <script src="/resources/testharness.js"></script> |
| <script src="/resources/testharnessreport.js"></script> |
| function testInterfaceDeletable(iface) { |
| assert_true(!!window[iface], "Interface should exist.") |
| assert_true(delete window[iface], "The delete operator should return true.") |
| assert_equals(window[iface], undefined, "Interface should be gone.") |
| }, "Should be able to delete " + iface + ".") |
| interfaces.forEach(function(i) { |
| }, "Interface objects properties should not be Enumerable") |
| interfaces.forEach(testInterfaceDeletable); |