6 <script src=
"../../resources/js-test.js"></script>
8 description("This tests that 'performance.mark' throws exceptions with reasonable messages.");
21 'secureConnectionStart',
27 'domContentLoadedEventStart',
28 'domContentLoadedEventEnd',
33 allTheThings
.forEach(function(name
) {
34 shouldThrow('window.performance.mark(\'' + name
+ '\')', '"SyntaxError: Failed to execute \'mark\' on \'Performance\': \'' + name
+ '\' is part of the PerformanceTiming interface, and cannot be used as a mark name."');