| OLD | NEW |
| 1 idlharness test | 1 This is a testharness.js-based test. |
| 2 | |
| 3 This test validates the WebIDL included in the user Timing specification. | |
| 4 | |
| 5 partial interface Performance { | |
| 6 void mark(DOMString markName); | |
| 7 void clearMarks(optional DOMString markName); | |
| 8 | |
| 9 void measure(DOMString measureName, optional DOMString startMark, optional D
OMString endMark); | |
| 10 void clearMeasures(optional DOMString measureName); | |
| 11 }; | |
| 12 | |
| 13 interface PerformanceMark : PerformanceEntry { | |
| 14 }; | |
| 15 | |
| 16 interface PerformanceMeasure : PerformanceEntry { | |
| 17 }; | |
| 18 | |
| 19 | |
| 20 PASS Performance interface: operation mark(DOMString) | 2 PASS Performance interface: operation mark(DOMString) |
| 21 PASS Performance interface: operation clearMarks(DOMString) | 3 PASS Performance interface: operation clearMarks(DOMString) |
| 22 PASS Performance interface: operation measure(DOMString,DOMString,DOMString) | 4 PASS Performance interface: operation measure(DOMString,DOMString,DOMString) |
| 23 PASS Performance interface: operation clearMeasures(DOMString) | 5 PASS Performance interface: operation clearMeasures(DOMString) |
| 24 PASS Performance must be primary interface of window.performance | 6 PASS Performance must be primary interface of window.performance |
| 25 PASS Stringification of window.performance | 7 PASS Stringification of window.performance |
| 26 PASS Performance interface: window.performance must inherit property "mark" with
the proper type (0) | 8 PASS Performance interface: window.performance must inherit property "mark" with
the proper type (0) |
| 27 PASS Performance interface: calling mark(DOMString) on window.performance with t
oo few arguments must throw TypeError | 9 PASS Performance interface: calling mark(DOMString) on window.performance with t
oo few arguments must throw TypeError |
| 28 PASS Performance interface: window.performance must inherit property "clearMarks
" with the proper type (1) | 10 PASS Performance interface: window.performance must inherit property "clearMarks
" with the proper type (1) |
| 29 PASS Performance interface: calling clearMarks(DOMString) on window.performance
with too few arguments must throw TypeError | 11 PASS Performance interface: calling clearMarks(DOMString) on window.performance
with too few arguments must throw TypeError |
| 30 PASS Performance interface: window.performance must inherit property "measure" w
ith the proper type (2) | 12 PASS Performance interface: window.performance must inherit property "measure" w
ith the proper type (2) |
| 31 PASS Performance interface: calling measure(DOMString,DOMString,DOMString) on wi
ndow.performance with too few arguments must throw TypeError | 13 PASS Performance interface: calling measure(DOMString,DOMString,DOMString) on wi
ndow.performance with too few arguments must throw TypeError |
| 32 PASS Performance interface: window.performance must inherit property "clearMeasu
res" with the proper type (3) | 14 PASS Performance interface: window.performance must inherit property "clearMeasu
res" with the proper type (3) |
| 33 PASS Performance interface: calling clearMeasures(DOMString) on window.performan
ce with too few arguments must throw TypeError | 15 PASS Performance interface: calling clearMeasures(DOMString) on window.performan
ce with too few arguments must throw TypeError |
| 34 PASS PerformanceMark interface: existence and properties of interface object | 16 PASS PerformanceMark interface: existence and properties of interface object |
| 35 PASS PerformanceMark interface object length | 17 PASS PerformanceMark interface object length |
| 36 FAIL PerformanceMark interface: existence and properties of interface prototype
object assert_equals: class string of PerformanceMark.prototype expected "[objec
t PerformanceMarkPrototype]" but got "[object Object]" | 18 FAIL PerformanceMark interface: existence and properties of interface prototype
object assert_equals: class string of PerformanceMark.prototype expected "[objec
t PerformanceMarkPrototype]" but got "[object Object]" |
| 37 PASS PerformanceMark interface: existence and properties of interface prototype
object's "constructor" property | 19 PASS PerformanceMark interface: existence and properties of interface prototype
object's "constructor" property |
| 38 PASS PerformanceMeasure interface: existence and properties of interface object | 20 PASS PerformanceMeasure interface: existence and properties of interface object |
| 39 PASS PerformanceMeasure interface object length | 21 PASS PerformanceMeasure interface object length |
| 40 FAIL PerformanceMeasure interface: existence and properties of interface prototy
pe object assert_equals: class string of PerformanceMeasure.prototype expected "
[object PerformanceMeasurePrototype]" but got "[object Object]" | 22 FAIL PerformanceMeasure interface: existence and properties of interface prototy
pe object assert_equals: class string of PerformanceMeasure.prototype expected "
[object PerformanceMeasurePrototype]" but got "[object Object]" |
| 41 PASS PerformanceMeasure interface: existence and properties of interface prototy
pe object's "constructor" property | 23 PASS PerformanceMeasure interface: existence and properties of interface prototy
pe object's "constructor" property |
| 24 Harness: the test ran to completion. |
| 42 | 25 |
| OLD | NEW |