OLD | NEW |
1 idlharness test | 1 idlharness test |
2 | 2 |
3 This test validates the WebIDL included in the user Timing specification. | 3 This test validates the WebIDL included in the user Timing specification. |
4 | 4 |
5 partial interface Performance { | 5 partial interface Performance { |
6 void mark(DOMString markName); | 6 void mark(DOMString markName); |
7 void clearMarks(optional DOMString markName); | 7 void clearMarks(optional DOMString markName); |
8 | 8 |
9 void measure(DOMString measureName, optional DOMString startMark, optional D
OMString endMark); | 9 void measure(DOMString measureName, optional DOMString startMark, optional D
OMString endMark); |
10 void clearMeasures(optional DOMString measureName); | 10 void clearMeasures(optional DOMString measureName); |
11 }; | 11 }; |
12 | 12 |
13 interface PerformanceMark : PerformanceEntry { | 13 interface PerformanceMark : PerformanceEntry { |
14 }; | 14 }; |
15 | 15 |
16 interface PerformanceMeasure : PerformanceEntry { | 16 interface PerformanceMeasure : PerformanceEntry { |
17 }; | 17 }; |
18 | 18 |
19 | 19 |
20 FAIL Performance interface: operation mark(DOMString) assert_true: property is n
ot configurable expected true got false | 20 PASS Performance interface: operation mark(DOMString) |
21 FAIL Performance interface: operation clearMarks(DOMString) assert_true: propert
y is not configurable expected true got false | 21 PASS Performance interface: operation clearMarks(DOMString) |
22 FAIL Performance interface: operation measure(DOMString,DOMString,DOMString) ass
ert_true: property is not configurable expected true got false | 22 PASS Performance interface: operation measure(DOMString,DOMString,DOMString) |
23 FAIL Performance interface: operation clearMeasures(DOMString) assert_true: prop
erty is not configurable expected true got false | 23 PASS Performance interface: operation clearMeasures(DOMString) |
24 PASS Performance must be primary interface of window.performance | 24 PASS Performance must be primary interface of window.performance |
25 PASS Stringification of window.performance | 25 PASS Stringification of window.performance |
26 PASS Performance interface: window.performance must inherit property "mark" with
the proper type (0) | 26 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 | 27 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) | 28 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 | 29 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) | 30 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 | 31 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) | 32 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 | 33 PASS Performance interface: calling clearMeasures(DOMString) on window.performan
ce with too few arguments must throw TypeError |
34 FAIL PerformanceMark interface: existence and properties of interface object ass
ert_equals: prototype of window's property "PerformanceMark" is not Function.pro
totype expected function "function Empty() {}" but got function "function Perfor
manceEntry() { [native code] }" | 34 FAIL PerformanceMark interface: existence and properties of interface object ass
ert_equals: prototype of window's property "PerformanceMark" is not Function.pro
totype expected function "function Empty() {}" but got function "function Perfor
manceEntry() { [native code] }" |
35 PASS PerformanceMark interface object length | 35 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]" | 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]" |
37 PASS PerformanceMark interface: existence and properties of interface prototype
object's "constructor" property | 37 PASS PerformanceMark interface: existence and properties of interface prototype
object's "constructor" property |
38 FAIL PerformanceMeasure interface: existence and properties of interface object
assert_equals: prototype of window's property "PerformanceMeasure" is not Functi
on.prototype expected function "function Empty() {}" but got function "function
PerformanceEntry() { [native code] }" | 38 FAIL PerformanceMeasure interface: existence and properties of interface object
assert_equals: prototype of window's property "PerformanceMeasure" is not Functi
on.prototype expected function "function Empty() {}" but got function "function
PerformanceEntry() { [native code] }" |
39 PASS PerformanceMeasure interface object length | 39 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]" | 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]" |
41 PASS PerformanceMeasure interface: existence and properties of interface prototy
pe object's "constructor" property | 41 PASS PerformanceMeasure interface: existence and properties of interface prototy
pe object's "constructor" property |
42 | 42 |
OLD | NEW |