Index: modules/performance/WorkerContextPerformance.idl |
diff --git a/modules/webmidi/MIDIInput.idl b/modules/performance/WorkerContextPerformance.idl |
similarity index 91% |
copy from modules/webmidi/MIDIInput.idl |
copy to modules/performance/WorkerContextPerformance.idl |
index 8c0ae3cd90aad230083403867cef594a190a0674..79ef789102284c3f4d065179322cbe462cf650cc 100644 |
--- a/modules/webmidi/MIDIInput.idl |
+++ b/modules/performance/WorkerContextPerformance.idl |
@@ -29,9 +29,7 @@ |
*/ |
[ |
- NoInterfaceObject, |
- ActiveDOMObject, |
- EventTarget |
-] interface MIDIInput : MIDIPort { |
- attribute EventListener onmidimessage; |
+ EnabledAtRuntime=HighResolutionTimeInWorkers |
+] partial interface WorkerContext { |
+ readonly attribute WorkerPerformance performance; |
}; |