Index: Source/modules/serviceworkers/testing/InternalsServiceWorker.cpp |
diff --git a/Source/modules/serviceworkers/testing/InternalsServiceWorker.cpp b/Source/modules/serviceworkers/testing/InternalsServiceWorker.cpp |
index b87a3fdd736cc0b693978b487628aeea971fc27a..877e61bb90681c54dbdfd998908432c430070143 100644 |
--- a/Source/modules/serviceworkers/testing/InternalsServiceWorker.cpp |
+++ b/Source/modules/serviceworkers/testing/InternalsServiceWorker.cpp |
@@ -6,6 +6,7 @@ |
#include "modules/serviceworkers/testing/InternalsServiceWorker.h" |
#include "modules/serviceworkers/ServiceWorker.h" |
+#include "modules/serviceworkers/WaitUntilObserver.h" |
namespace blink { |
@@ -14,4 +15,9 @@ void InternalsServiceWorker::terminateServiceWorker(Internals& internals, Servic |
worker->internalsTerminate(); |
} |
+void InternalsServiceWorker::overrideWindowInteractionTimeout(Internals& internals, unsigned timeout) |
+{ |
+ WaitUntilObserver::overrideWindowInteractionTimeoutForTest(timeout); |
+} |
+ |
} // namespace blink |