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_own_property: windo
w does not have own property "Performance" expected property "Performance" missi
ng | 20 FAIL Performance interface: operation mark(DOMString) assert_true: property is n
ot configurable expected true got false |
21 FAIL Performance interface: operation clearMarks(DOMString) assert_own_property:
window does not have own property "Performance" expected property "Performance"
missing | 21 FAIL Performance interface: operation clearMarks(DOMString) assert_true: propert
y is not configurable expected true got false |
22 FAIL Performance interface: operation measure(DOMString,DOMString,DOMString) ass
ert_own_property: window does not have own property "Performance" expected prope
rty "Performance" missing | 22 FAIL Performance interface: operation measure(DOMString,DOMString,DOMString) ass
ert_true: property is not configurable expected true got false |
23 FAIL Performance interface: operation clearMeasures(DOMString) assert_own_proper
ty: window does not have own property "Performance" expected property "Performan
ce" missing | 23 FAIL Performance interface: operation clearMeasures(DOMString) assert_true: prop
erty is not configurable expected true got false |
24 FAIL Performance must be primary interface of window.performance assert_own_prop
erty: window does not have own property "Performance" expected property "Perform
ance" missing | 24 PASS Performance must be primary interface of window.performance |
25 FAIL Stringification of window.performance assert_class_string is not defined(st
ack: ReferenceError: assert_class_string is not defined | 25 PASS Stringification of window.performance |
26 at IdlObject. (http://127.0.0.1:8000/w3c/resources/idlharness.js:1563:9) | |
27 at Object.Test.step (http://127.0.0.1:8000/w3c/resources/testharness.js:876:
18) | |
28 at test (http://127.0.0.1:8000/w3c/resources/testharness.js:338:18) | |
29 at IdlObject.IdlInterface.test_primary_interface_of (http://127.0.0.1:8000/w
3c/resources/idlharness.js:1559:5) | |
30 at IdlObject.IdlInterface.test_object (http://127.0.0.1:8000/w3c/resources/i
dlharness.js:1509:10) | |
31 at null. (http://127.0.0.1:8000/w3c/resources/idlharness.js:440:36) | |
32 at Array.forEach (native) | |
33 at IdlArray.test (http://127.0.0.1:8000/w3c/resources/idlharness.js:438:32) | |
34 at http://127.0.0.1:8000/w3c/webperf/approved/UserTiming/idlharness.html:54:
13 | |
35 at http://127.0.0.1:8000/w3c/webperf/approved/UserTiming/idlharness.html:55:
3) | |
36 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) |
37 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 |
38 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) |
39 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 |
40 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) |
41 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 |
42 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) |
43 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 |
44 FAIL PerformanceMark interface: existence and properties of interface object ass
ert_own_property: window does not have own property "PerformanceMark" expected p
roperty "PerformanceMark" missing | 34 PASS PerformanceMark interface: existence and properties of interface object |
45 FAIL PerformanceMark interface: existence and properties of interface prototype
object assert_own_property: window does not have own property "PerformanceMark"
expected property "PerformanceMark" missing | 35 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]" |
46 FAIL PerformanceMark interface: existence and properties of interface prototype
object's "constructor" property assert_own_property: window does not have own pr
operty "PerformanceMark" expected property "PerformanceMark" missing | 36 PASS PerformanceMark interface: existence and properties of interface prototype
object's "constructor" property |
47 FAIL PerformanceMeasure interface: existence and properties of interface object
assert_own_property: window does not have own property "PerformanceMeasure" expe
cted property "PerformanceMeasure" missing | 37 PASS PerformanceMeasure interface: existence and properties of interface object |
48 FAIL PerformanceMeasure interface: existence and properties of interface prototy
pe object assert_own_property: window does not have own property "PerformanceMea
sure" expected property "PerformanceMeasure" missing | 38 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]" |
49 FAIL PerformanceMeasure interface: existence and properties of interface prototy
pe object's "constructor" property assert_own_property: window does not have own
property "PerformanceMeasure" expected property "PerformanceMeasure" missing | 39 PASS PerformanceMeasure interface: existence and properties of interface prototy
pe object's "constructor" property |
50 | 40 |
OLD | NEW |