1 description("Tests that the following classes are not manipulable by JavaScript (NoInterfaceObject).");
3 function shouldThrowReferenceError(expr)
12 var msg = expr + (e ? " threw exception " + e.name : " did not throw");
13 if (e && e.name == "ReferenceError")
21 shouldBe('typeof ' + name, '"undefined"');
22 shouldThrowReferenceError(name + '.prototype');
25 test('NavigatorUserMedia');
26 test('NavigatorUserMediaError');
27 test('NavigatorUserMediaSuccessCallback');
28 test('NavigatorUserMediaErrorCallback');
30 window.jsTestIsAsync = false;