Bug 1432522 - Performance should be an EventTarget, r=smaug

This commit is contained in:
Andrea Marchesini 2018-01-24 07:33:49 +01:00
Родитель d1f977c16c
Коммит 6c24d15b8c
3 изменённых файлов: 1 добавлений и 33 удалений

Просмотреть файл

@ -14,7 +14,7 @@ typedef double DOMHighResTimeStamp;
typedef sequence <PerformanceEntry> PerformanceEntryList;
[Exposed=(Window,Worker)]
interface Performance {
interface Performance : EventTarget {
[DependsOn=DeviceState, Affects=Nothing]
DOMHighResTimeStamp now();

Просмотреть файл

@ -1,7 +0,0 @@
[idlharness.html]
[Performance interface: existence and properties of interface object]
expected: FAIL
[Performance interface: existence and properties of interface prototype object]
expected: FAIL

Просмотреть файл

@ -1,25 +0,0 @@
[idlharness.html]
[Performance interface: existence and properties of interface object]
expected: FAIL
[Performance interface: existence and properties of interface prototype object]
expected: FAIL
[EventTarget interface: window.performance must inherit property "addEventListener" with the proper type (0)]
expected: FAIL
[EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on window.performance with too few arguments must throw TypeError]
expected: FAIL
[EventTarget interface: window.performance must inherit property "removeEventListener" with the proper type (1)]
expected: FAIL
[EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on window.performance with too few arguments must throw TypeError]
expected: FAIL
[EventTarget interface: window.performance must inherit property "dispatchEvent" with the proper type (2)]
expected: FAIL
[EventTarget interface: calling dispatchEvent(Event) on window.performance with too few arguments must throw TypeError]
expected: FAIL