(parent_name, enum_name, value, properties)
| 61 | } |
| 62 | |
| 63 | function test_enum(parent_name, enum_name, value, properties) |
| 64 | { |
| 65 | var msg = 'window.performance.' + parent_name + '.' + enum_name + ' is defined.'; |
| 66 | wp_test(function() { assert_not_equals(performanceNamespace[parent_name][enum_name], undefined, msg); }, msg, properties); |
| 67 | |
| 68 | msg = 'window.performance.' + parent_name + '.' + enum_name + ' = ' + value; |
| 69 | wp_test(function() { assert_equals(performanceNamespace[parent_name][enum_name], value, msg); }, msg, properties); |
| 70 | } |
| 71 | |
| 72 | function test_timing_order(attribute_name, greater_than_attribute, properties) |
| 73 | { |
nothing calls this directly
no test coverage detected