Revision ddcc729bca5abcc460db875952eb693b04fe2e41 authored by James Graham on 11 April 2018, 13:58:30 UTC, committed by jgraham on 11 April 2018, 16:48:12 UTC
This is required to pass the config into the wdspec tests.
1 parent a31d306
Raw File
entry_type.any.js
test(function () {
  self.performance.mark('mark');
  var mark_entry = self.performance.getEntriesByName('mark')[0];

  assert_equals(Object.prototype.toString.call(mark_entry), '[object PerformanceMark]', 'Class name of mark entry should be PerformanceMark.');
}, "Validate the user timing entry type PerformanceMark");

test(function () {
  self.performance.measure('measure');
  var measure_entry = self.performance.getEntriesByName('measure')[0];

  assert_equals(Object.prototype.toString.call(measure_entry), '[object PerformanceMeasure]', 'Class name of measure entry should be PerformanceMeasure.');
}, "Validate the user timing entry type PerformanceMeasure");
back to top