Index: Source/core/frame/Window.idl |
diff --git a/Source/core/frame/Window.idl b/Source/core/frame/Window.idl |
index 679fd07f3e627a1849d8f442b065267e7f6c5700..f6378cbfe4bdef0636c74c54f6c63fb58995868f 100644 |
--- a/Source/core/frame/Window.idl |
+++ b/Source/core/frame/Window.idl |
@@ -83,6 +83,9 @@ |
[MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(FrameRequestCallback callback); |
void cancelAnimationFrame(long handle); |
+ [RuntimeEnabled=RequestIdleCallback] long requestIdleCallback(IdleRequestCallback callback, optional double timeout = 0); |
+ [RuntimeEnabled=RequestIdleCallback] void cancelIdleCallback(long handle); |
+ |
[DoNotCheckSecurity, Custom, RaisesException] void postMessage(any message, DOMString targetOrigin, optional sequence<Transferable> transfer); |
// HTML obsolete features |