(child_name, skip_root)
| 42 | } |
| 43 | |
| 44 | function test_namespace(child_name, skip_root) |
| 45 | { |
| 46 | if (skip_root === undefined) { |
| 47 | var msg = 'window.performance is defined'; |
| 48 | wp_test(function () { assert_not_equals(performanceNamespace, undefined, msg); }, msg); |
| 49 | } |
| 50 | |
| 51 | if (child_name !== undefined) { |
| 52 | var msg2 = 'window.performance.' + child_name + ' is defined'; |
| 53 | wp_test(function() { assert_not_equals(performanceNamespace[child_name], undefined, msg2); }, msg2); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | function test_attribute_exists(parent_name, attribute_name, properties) |
| 58 | { |
nothing calls this directly
no test coverage detected